Добрых всем суток.
Debian Wheezy. В мане aptitude(8) сказано:
-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. For the command-line actions “changelog”, “download”, and “show”, this is equivalent to appending /<release> to each package named on the command-line; for other commands, this will affect the default candidate version of packages according to the rules described in apt_preferences(5).
Однако:
$ aptitude show wget/jessie
Package: wget
State: not installed
Automatically installed: no
Multi-Arch: foreign
Version: 1.14-2
<далее опущено>
$ aptitude -t jessie show wget
Package: wget
State: installed
Automatically installed: no
Multi-Arch: foreign
Version: 1.13.4-3
<далее опущено>
$ aptitude show wget
Package: wget
State: installed
Automatically installed: no
Multi-Arch: foreign
Version: 1.13.4-3
<далее опущено>
Т. е. ключ -t к команде aptitude show вопреки ману просто игнорируется. С командами install, download, changelog он работает корректно.
$ aptitude --version
aptitude 0.6.8.2 compiled at Nov 7 2012 07:08:03
Compiler: g++ 4.7.2
Compiled against:
apt version 4.12.0
NCurses version 5.9
libsigc++ version: 2.2.10
Ept support enabled.
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 5.9.20110404
cwidget version: 0.5.16
Apt version: 4.12.0
Писать багрепорт? Или в новых версиях Аптитьюда уже не наблюдается, посмотрите, пожалуйста.
--
To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 51F19E05.2080204@gmail.com" target="_blank">http://lists.debian.org/51F19E05.2080204@gmail.com