Re: how to exclude the packges in dist-upgrade
- From: Wayne Topa <linuxone@xxxxxxxxxxxxx>
- Date: Wed, 27 Jun 2007 14:26:17 -0400
Bhasker C V(bhasker@xxxxxxxxxxxxx) is reported to have said:
Hi all,
I tried on the apt-get manual. But could not get to my requirement.
I have some of the packages in my deb box which i do not want to
upgrade/remove/uninstall during an apt-get dist-uprade.
How do i specify the exclude list ?
thanks
Someone, sorry I forget who, on this list posted the a few years ago.
It's what I use.
~# less bin/dhold
---------------
#! /bin/sh
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
-----------------------
So in your case, as root:
~# dhold apt-howto
WT
--
Error reading FAT record: Try the SKINNY one? (Y/N)
_______________________________________________________
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- how to exclude the packges in dist-upgrade
- From: Bhasker C V
- how to exclude the packges in dist-upgrade
- Prev by Date: Re: Nameserver update
- Next by Date: Re: Nameserver update
- Previous by thread: Re: how to exclude the packges in dist-upgrade
- Next by thread: Re: how to exclude the packges in dist-upgrade
- Index(es):
Relevant Pages
|
|