Re: upgrade -1?
"Michael P. Soulier" <email@example.com> writes:
> Hey people. What's the accepted way to upgrade everything on
> your system, except for an exclusion list? Looking at apt-get -s
> upgrade, I want to exclude a package or two but still have the
> convenience of upgrade. Is that possible?
Put the packages you don't want to upgrade on hold. The
following script, posted spume time ago by Craig Sanders
<firstname.lastname@example.org> will do it for you:
# 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 " dpkg-hold <package...>"
for i in $@ ; do
echo "$i hold"
done | dpkg --set-selections
You can also give the same command manually.
|_) _ |_ Robert D. Hilliard <email@example.com>
|_) (_) |_) 1294 S.W. Seagull Way <firstname.lastname@example.org>
Palm City, FL USA GPG Key ID: 390D6559
PGP Key ID: A8E40EB9
- upgrade -1?
- From: "Michael P. Soulier" <email@example.com>