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

Re: About removing dselect's forced installs... Help



On Sat, Dec 09, 2000 at 06:31:44PM +0100, Jonathan Gift wrote:
> 
> I have some more info here. I've used apt-get to install my apps but now
> that I want to use dselect, if I pick any item and go to intall it
> presents me with a list of 100 items. Now looking at those items in
> /var/lib/dpkg/status
> 

This is how I do it. Go into 'dselect' and let it select the packages, but
then quit out.

dpkg -l \* | awk '/^i[^i]/ { print $2 " purge" }' | dpkg --set-selections
dpkg --yet-to-unpack | awk '{ print $1 " purge" }' | dpkg --set-selections

The second step is necessary 'cos 'dpkg -l' truncates the package names so
it can fit the output on your terminal (shame it doesn't check whether you
are outputting to a terminal before doing this :-( ).

Once there marked "purge" 'dselect' seems to ignore them :-).

Hope this helps,

	P.

-- 
+------------------------------------+
|            Peter Horton            |
+------------------------------------+
|    http://www.colonel-panic.com    |
|   http://www.berserk.demon.co.uk   |
|         Linux 2.4.0-test11         |
+------------------------------------+



Reply to: