$ aptitude show wget -t jessie
Пакет: wget
Состояние: установлен
Автоматически установлен: нет
Мульти-архитектура: сторонняя
Версия: 1.14-2
Приоритет: важный
Раздел: web
Сопровождающий: Noël Köthe <n...@debian.org>
Архитектура: i386
Размер в распакованном виде: 2 384 k
...

$ aptitude -t jessie show wget
Пакет: wget
Состояние: установлен
Автоматически установлен: нет
Мульти-архитектура: сторонняя
Версия: 1.14-2
Приоритет: важный
Раздел: web
Сопровождающий: Noël Köthe <n...@debian.org>
Архитектура: i386
Размер в распакованном виде: 2 384 k
...

$ aptitude --version
aptitude 0.6.8.2 скомпилировано в Nov  5 2012 06:20:41
Компилятор: g++ 4.7.2
Скомпилировано с помощью:
  apt версии 4.12.0
  Версия NCurses 5.9
  Версия libsigc++: 2.2.10
  Поддержка ept включена.
  Поддержка Gtk+ выключена.
  Поддержка Qt выключена.

Текущие версии библиотек:
  Версия NCurses: ncurses 5.9.20130608
  Версия cwidget: 0.5.16
  Версия Apt: 4.12.0



2013/7/26 Dmitry Alexandrov <321...@gmail.com>

> Добрых всем суток.
>
> 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<debian-russian-requ...@lists.debian.org>
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/**51f19e05.2080...@gmail.com<http://lists.debian.org/51f19e05.2080...@gmail.com>
>
>

Ответить