Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: how to exclude the packges in dist-upgrade

From: Wayne Topa <linuxone(at)intergate.com>
Date: Wed Jun 27 2007 - 14:26:17 EDT


Bhasker C V(bhasker@unixindia.com) 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


Do you need help?X

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@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Jun 27 14:26:59 2007

This archive was generated by hypermail 2.1.8 : Wed Jun 27 2007 - 14:30:03 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library