"apt-get remove" don't remove the stuff?

Mario Vukelic mario.vukelic at dantian.org
Sat Nov 29 18:35:51 UTC 2008


On Sun, 2008-11-30 at 02:02 +0800, howard chen wrote:
> Hello,
> 
> First of all, I am newly switch from Redhat to Ubuntu....
> 
> I have removed my proftpd from ubuntu using "apt-get remove proftpd",
> but I still can see proftpd  using chkconfig, why it is not removed
> completely?

First of all, "apt-get remove" does indeed not delete *all* of the
stuff: if leaves the configuration files installed, so that you can
reinstall the application with your old config.

If you want to remove every last trace of a package, use "apt-get
purge". (You might want to familiarize yourself with the Debian systen
and get rid of Redhatisms. E.g., [1])

This probably is the reason for why the package still shows up in
chkconfig. I suspect that the actual proftp binary does not run anymore
(as this is removed by "apt-get remove").

Chkconfig, however, is another Redhatism. In Ubuntu, it is in the
universe repository, that is, it is an unsupported add-on [2] . Don't be
surprised if it is not fully integrated into Ubuntu.

In Ubuntu, go to menu System -> Administration -> Services to toggle
daemons. Or take a look at [3] for alternatives. Chkconfig might work
fine too, but I would not know.

[1] https://help.ubuntu.com/community/AptGet/Howto
[2] https://help.ubuntu.com/community/Repositories
[3] https://help.ubuntu.com/community/BootServices





More information about the ubuntu-users mailing list