[Aptitude-devel] Bug#821866: aptitude -t option does not work as documented; -t unstable download gets package from experimental

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Thu Apr 21 20:53:53 UTC 2016


Hi Josh,

2016-04-20 01:50 Josh Triplett:
>Package: aptitude
>Version: 0.7.8-1
>Severity: normal
>
>"man aptitude" says:
>
>> -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;
>
>However:
>
>/tmp$ aptitude -t unstable download apt-listchanges
>Get: 1 http://ftp.us.debian.org/debian experimental/main amd64 apt-listchanges all 3.1 [101 kB]
>Fetched 101 kB in 0s (301 kB/s)
>
>/tmp$ aptitude download apt-listchanges/unstable
>Get: 1 http://ftp.us.debian.org/debian unstable/main amd64 apt-listchanges all 2.89 [95.7 kB]
>Fetched 95.7 kB in 0s (267 kB/s)
>
>The same goes for "show" and "changelog".

Thanks for the report.


Note for future review: this is probably the same issue as #693684, or
at least should be considered at the same time.

-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list