Bhasker C V([EMAIL PROTECTED]) 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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to