* Michael Klank <[EMAIL PROTECTED]>, 2004-04-21 09:38 +0200: > Danke f�r den Tipp, hab ich gleich umgesetzt und das Packet auf hold > gesetzt. Wu�te bis jetzt gar nicht das das geht.
Ich benutze schon seit immer dies, original IIRC von Ethan Benson:
----------------------------------------------
#!/bin/sh
# hold Debian packages
#/usr/local/sbin/dhold
PRG=`basename $0`
if [ `id -u` != 0 ] ; then
echo "you're not root, go away."
exit 1
elif [ $# != 1 ] ; then
echo "Usage: $PRG <packagename>"
exit 1
else
echo $1 hold | dpkg --set-selections
fi
----------------------------------------------
#!/bin/sh
# unhold Debian package
# /usr/local/sbin/dhold
PRG=`basename $0`
if [ `id -u` != 0 ] ; then
echo "you're not root, go away."
exit 1
elif [ $# != 1 ] ; then
echo "Usage: $PRG <packagename>"
exit 1
else
echo $1 install | dpkg --set-selections
fi
----------------------------------------------
-Andre
pgp00000.pgp
Description: PGP signature

