Bug#312351: woody -> sarge: package on hold upgraded anyway
Package: upgrade-reports
Archive date: Sun Jun 5 20:00:01 UTC 2005
Upgrade date: Monday June 6
uname -a: Linux zaphod 2.4.27-pa4 #2 Wed Nov 3 08:18:42 PST 2004 parisc GNU/Linux
Method: aptitude
Upgrade sequence:
- updated sources.list
- dpkg --get-selections | grep hold
# Noted that one package, 'mantis', was intentionally on hold
- apt-get install aptitude
- aptitude -f --with-recommends dist-upgrade
# Watch as mantis gets upgraded anyway
- dpkg --get-selections | grep hold
# Mantis still marked as on hold
The release notes state:
If you changed and recompiled a package locally, and didn't rename it or
put an epoch in the version, you must put it on hold to prevent it from
being upgraded.
I expected that my package and any dependencies would not be upgraded, or
that aptitude would give me an error message if this somehow caused an
unresolvable situation. Unfortunately, it upgraded the package anyway,
wiping out some local changes. Not catastrophic in this case, but
contrary to the information in the release notes at least.
Paul.
--
Paul Telford | 1024D/431B38BA | pxt@debian.org | paul@droflet.net
C903 0E85 9AF5 1B80 6A5F F169 D7E9 4363 431B 38BA
Reply to: