[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Purge leaves some files



On Fri, Jun 22, 2007 at 02:32:39PM +0200, Torok Balint wrote:
> Hello!
> 
> I am not sure, but I thought when using apt-get remove --purge <some_package> that it will remove EVERY file taht the given package have installed. Well, I have installed the packages apache and apache-doc, and then purged them. But the /usr/share/apache is still there. Then I installed apache2 and apache2-doc, and almost immediatly purged them too, but the directories /usr/share/apache2, /usr/share/doc/apache2, /usr/share/doc/apache2-doc are still there with some files in them. Something similar happened when installing/purging postgres too. 
> Is this the right behavior of apt-get? If it is then what should I do to remove _ALL_ files that some package have installed?
> 
Use something like aptitude, which will also remove dependencies which
were automatically pulled in.  For example, apache2 depends on
apache2-common.  If you remove only apache2, apache2-common's files will
remain, some of which may be in that directory.

Regards,

-Roberto
-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: