[Aptitude-devel] Bug#804103: say how to unforbid without trying to install the package

積丹尼 Dan Jacobson jidanni at jidanni.org
Thu Nov 5 00:04:14 UTC 2015


Package: aptitude
Version: 0.7.4-1
Severity: wishlist
File: /usr/share/man/man8/aptitude-curses.8.gz

We read

       forbid-version
           Forbid a package from being upgraded to a particular version. This
           will prevent aptitude from automatically upgrading to this version,
           but will allow automatic upgrades to future versions. By default,
           aptitude will select the version to which the package would
           normally be upgraded; you may override this selection by appending
           "=<version>" to the package name: for instance, "aptitude
           forbid-version vim=1.2.3.broken-4".

           This command is useful for avoiding broken versions of packages
           without having to set and clear manual holds. If you decide you
           really want the forbidden version after all, "aptitude install
           <package>" will remove the ban.


However what if the user just wants to remove the ban without (trying
to) install the package. Mention the exact steps to do that too. Or
mention if that is not possible.

E.g., there is an 'unhold' command (antidote of 'hold') that doesn't
necessarily try to install the package. But no analog for
forbid-version.



More information about the Aptitude-devel mailing list