So apt-get respects the dpkg settings on packages? I really need to learn more about how these tools work together. Mike On Sun, Jan 21, 2001 at 11:49:28AM -0500, Bob Hilliard wrote: > > Put the packages you don't want to upgrade on hold. The > following script, posted spume time ago by Craig Sanders > <cas@taz.net.au> will do it for you: > > ---cut here--- > #! /bin/bash > > # dpkg-hold -- command line tool to flag package(s) as held. > # > # by Craig Sanders, 1998-10-26. This script is hereby placed into the > # public domain. > # > # BUGS: this script has absolutely no error checking. this is not good. > > if [ -z "$*" ] ; then > echo "Usage:" > echo " dpkg-hold <package...>" > exit 1 > fi > > for i in $@ ; do > echo "$i hold" > done | dpkg --set-selections > ---cut here--- > > You can also give the same command manually. > > Bob > -- > _ > |_) _ |_ Robert D. Hilliard <hilliard@debian.org> > |_) (_) |_) 1294 S.W. Seagull Way <bob@bobhilliard.net> > Palm City, FL USA GPG Key ID: 390D6559 > PGP Key ID: A8E40EB9 > > -- Michael P. Soulier <msoulier@storm.ca> "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to UNIX PGP Public Key: http://24.43.42.96/email.phtml
Attachment:
pgpYkZcjvZI3S.pgp
Description: PGP signature