Re: Machine-specific optimizations
Arthur Korn <firstname.lastname@example.org> writes:
> Is there a convenient way to put a package on hold? I couldn't
Craig Sanders <email@example.com> included the following in a
message dated Tue, 4 Apr 2000 10:43:53 +1000:
> #! /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
> for i in $@ ; do
> echo "$i hold"
> done | dpkg --set-selections
Despite the disclaimer about error checking, I have had good
results with it. I have also reversed it to make dpkg-unhold.
|_) _ |_ Robert D. Hilliard <firstname.lastname@example.org>
|_) (_) |_) 1294 S.W. Seagull Way <email@example.com>
Palm City, FL USA PGP Key ID: A8E40EB9
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com