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

Re: Package hold during upgrade



The all-in-one command line version:

     dpkg --get-selections PACKAGE-LIST | \
        sed -e 's/install$/hold/' | dpkg --set-selections

Alternately , you could tag each package individually under dselect,
using the 'H' or '=' keys.

The exact package name matches the debfile up to the first underscore
(i.e. gnucash_1.4.8-3.deb yields gnucash).  If you're not certain, use
"dpkg -l" or "dpkg --get-selections" to check.

On Wed, Nov 08, 2000 at 10:00:36AM -0700, Howard Mann wrote:
> Hi All,
> 
> I'm preparing to upgrade to Potato from Slink ( kernel 2.2.12) using
> apt-get.
> 
> There are several packages (related to DocBook/SGML) I would not like
> to upgrade at the present time.
> 
> What commands ( exact syntax for package name please ) do I issue to
> accomplish this ?
> 
> [Do I use the relevant package names from /var/lib/dpkg/status ?]
> 
> 
> 
> Regards,
> 
> Howard

Attachment: pgp9tZfHYfaQV.pgp
Description: PGP signature


Reply to: