Michael Biebl wrote:
> Bob Proulx:
> > Charlie wrote:
> >> I had never even known about apt-mark and when Matthias pointed it out,
> >> tried it, read the man page and was amazed.
> > 
> > The functionality of 'apt-mark hold' was new in Wheezy 7.  Squeezy 6
> > didn't include that functionality.
> 
> Sort of.
> In Squeeze and earlier releases you could already use
> dpkg --get-selections > file
> edit file and s/install/hold/ for the desired package
> dpkg --set-selections < file
> 
> This had the same effect as "apt-mark hold". Arguably, apt-mark provides
> the nicer interface :-)

Right.  New in apt-mark.  Has existed in dpkg --set-selections and
get-selections for a long time.  It is slightly easier to use in
apt-mark now.  A good improvement.

> If you're interested which packages are currently put on hold, run
> dpkg --get-selections | grep hold

Or now in the new apt-mark run:

  apt-mark showhold

Bob

Attachment: signature.asc
Description: Digital signature

Reply via email to