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

Re: apt-get & packages marked as rc



Vineet Kumar saw fit to inform me that: 
>* Rajesh Fowkar (hsejar@gmx.co.uk) [010921 07:23]:
>> Hi,
>> 
>> Is there any way to remove all the packages at a stretch using apt or dpkg
>> ?
>> 
>> When we do apt-get remove the configuration files are retained. Now say I
>> want to remove all these packges permenantly along with the configuration
>> files, How to do that ? At present I am doing dpkg --purge <all the
>> packages>. Is there any better way ?
>
>are you looking for something like this?
>
>dpkg --get-selections | awk '/deinstall/ { print $1 "\tpurge"}' | dpkg --set-selections

Thanks Vineet. But this is just one part of it. Now packages are marked as
pc instead of rc ( i.e. purge candidates ). Now how can I remove with one
command all these packages ?

Warm Regards

--
Rajesh 
http://www.symonds.net/~rajesh/    *****  Powered By: Debian GNU/Linux
:
[Linux One Stanza Tip]	From : <bish@nde.vsnl.net.in>
LOST #018	 -**< Sub : Console gibberish (#1) >**-
To clear gibberish all over the screen (e.g. after  cat of a
compressed or binary file) :
Method #1: Use ANSI escape sequence: $echo -e "\033c"



Reply to: