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

Re: Bug#106566: ITP: apt-howto -- a detailed manual for apt features



On Thu, Jul 26, 2001 at 11:24:16AM -0400, Peter S Galbraith wrote:
> That sucks a bit.  Means I need to write a script to store my
> `holds' and run that afterwards.

Have you tried:

  dpkg --get-selections | sed 's/[^e]install$/hold/' | dpkg --set-selections

It puts all installed packages on hold.  You can then re-mark specific
packages for installation in the dselect package selections management
screen.

You can also not use dselect, but then you'd miss the overview of installed
and available package versions.  I would, but maybe you don't.  YMMV.

> Yep, dselect needs a command-line option to put everything on
> hold except for what I'll try to install, reinstating everything
> correctly on exit.  (For me, it's simpler to use `apt-get install`)

Hmm, dselect is essentially not a command line tool.  It is an interactive
application for package management, that can do the "apt-get install"
bit for you.

Cheers,


Joost



Reply to: