[Aptitude-devel] Bug#899370: Holding uninstalled packages gives false success
積丹尼 Dan Jacobson
jidanni at jidanni.org
Wed May 23 12:25:38 BST 2018
Package: aptitude
Version: 0.8.10-9
Here it says it is marking the (uninstalled) package as hold, but we
observe it doesn't actually.
# set openjdk-11-jre-headless
# aptitude search $@
p openjdk-11-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
# aptitude hold $@
Marking package openjdk-11-jre-headless (hold)
# aptitude search $@
p openjdk-11-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
# aptitude forbid-version $@
Package openjdk-11-jre-headless is not installed, cannot forbid an upgrade
At least forbid-version is more truthful.
More information about the Aptitude-devel
mailing list