Re: kernel-image and epoch
debian-devel.lists.debian.org@marc-haber.de (Marc Haber) writes:
>
> On Fri, 22 Sep 2000 07:39:46 +1100, Herbert Xu
> <herbert@gondor.apana.org.au> wrote:
> > The only sure way of preventing it is to put the package on
> >hold.
>
> Is there any way yet to do that without having to invoke dselect, a
> part of Debian that I haven't seen in nine months.
Use dpkg-hold, a script posted by Craig Sanders <cas@taz.net.au>,
on 4 Apr 2000. It works like a charm.
---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---
Bob
--
_
|_) _ |_ Robert D. Hilliard <hilliard@debian.org>
|_) (_) |_) 1294 S.W. Seagull Way <bob@bobhilliard.net>
Palm City, FL USA PGP Key ID: A8E40EB9
Reply to: