[Aptitude-devel] Bug#867635: mention --target-release will not work on packages already installed

積丹尼 Dan Jacobson jidanni at jidanni.org
Sat Jul 8 01:08:43 UTC 2017


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

We read
       -t <release>, --target-release <release>
           Set the release from which packages should be installed. For
           instance, "aptitude -t experimental ..."  will install packages
           from the experimental distribution unless you specify otherwise.

           This will affect the default candidate version of packages
           according to the rules described in apt_preferences(5).

           This corresponds to the configuration item APT::Default-Release.

Mention
           If the packages to be installed are already installed, this
           cannot be used to change their versions! [BUG!]

# apt-cache policy libjavascriptcoregtk-4.0-18
libjavascriptcoregtk-4.0-18:
  Installed: 2.17.4-1
  Candidate: 2.17.4-1
  Version table:
 *** 2.17.4-1 990
        990 http://free.nchc.org.tw/debian experimental/main i386 Packages
        100 /var/lib/dpkg/status
     2.16.5-1 500
        500 http://free.nchc.org.tw/debian unstable/main i386 Packages
# aptitude -t unstable install libjavascriptcoregtk-4.0-18
libjavascriptcoregtk-4.0-18 is already installed at the requested version (2.17.4-1)

The "requested version" is the "unstable" version, not what the output
above says, so... BUG! (else why did the user use -t?)



More information about the Aptitude-devel mailing list