how to *completely* remove a package from the cmd line?

Donkey Hottie donkey at fred.pp.fi
Tue Aug 10 09:24:38 UTC 2010


On 10.8.2010 10:39, Robert Holtzman wrote:
> On Mon, Aug 09, 2010 at 08:09:50PM -0400, Robert P. J. Day wrote:
>>
>>   more than once, i've wanted to remove every trace of an installed
>> package, and i always thought that "purge" was the way to do it but
>> even after i've done:
>>
>>   $ sudo apt-get purge <package>
>>
>> dpkg still sees it with a status of "rc".  if, however, i go into
>> synaptic and mark it for complete removal and apply, then it's truly
>> gone.  so what am i missing from the command line to get the same
>> effect?
> 
> It may not be as truly gone as you think. After you're done removing it
> via synaptic run "locate <package> | less". You may be as surprised as I
> was.
> 
> 

"locate" does not locate anything in the disk system, but only in its
own database, which is created by "updatedb" cron job. Try running
"updatedb" after the purge, and then "locate" again... Should not find
the package any more.



-- 
Whenever you find that you are on the side of the majority, it is time
to reform.
		-- Mark Twain





More information about the ubuntu-users mailing list