6

I just created my first .deb file ever from a Python script. I included a package.upstart file under package/debian and all installed great.

However, I noticed that apt-get remove package leaves the upstart script there.

I tested this functionality by removing another program that has an upstart script, and this does seem to be normal behaviour but I would like to confirm this. Is this normal behaviour?

Isn't it bad that the upstart script will be trying to run my program on every boot of a user's machine even if they have removed my application?

1 Answer 1

7

apt-get remove only removes the packages, it does not remove the associated configuration files of the package.

apt-get purge is the command snippet you use if you also want to remove a package's configuration files. Test your application with that and that should get you the result you need.

See also:

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .