Re: how to exclude the packges in dist-upgrade



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



Relevant Pages

  • [UNIX] Apple Remote Desktop Privilege Escalation
    ... These commands can be run as root, because the ard administrator can be ... installer, use the lock screen feature in ARD. ... trap 'cd "$"' EXIT ... echo "This version of MacOS is not supported." ...
    (Securiteam)
  • Re: Apple Remote Desktop root vulneravility
    ... Then he can send an install command over "Manage> Send UNIX Command" ... These commands can be run as root, ... trap 'cd "$"' EXIT ... echo "This version of MacOS is not ...
    (Bugtraq)
  • Re: Apple Remote Desktop root vulneravility
    ... This exploit involves sending a unix command as root to install a package that was copied to /tmp/. ... If you are trying to run a remote install script such as the Adobe Silent installer, use the lock screen feature in ARD. ... trap 'cd "$"' EXIT ... echo "This version of MacOS is not supported." ...
    (Bugtraq)
  • Re: $PATH
    ... > This could all very well be system dependant but I suspect that most ... root@merlin:/home/lpitcher# echo $PATH ... root@merlin:/home/lpitcher# exit ... lpitcher@merlin:~$ su - root ...
    (comp.os.linux.misc)
  • make-kpkg UTS version problem
    ... echo "Please correct this."; exit 2 ... The UTS Release version in include/linux/version.h ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)