[Aptitude-devel] Bug#344700: ignores /etc/apt/preferences

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Dec 8 00:17:28 UTC 2015


Control: tags -1 + pending


Hi,

2005-12-24 22:21 ms419 at freezone.co.uk:
>Package: aptitude
>Version: 0.4.1-1
>
>These lines in /etc/apt/preferences downgrade gcc-4.0 using apt-get, but
>not aptitude -
>
>
>Package: gcc-4.0
>Pin: release o=Debian
>Pin-Priority: 1001
>
>
>fis:~# apt-get dist-upgrade
>Reading package lists... Done
>Building dependency tree... Done
>Calculating upgrade... Done
>The following packages will be DOWNGRADED:
>  gcc-4.0
>0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not
>upgraded.
>Need to get 27.8kB of archives.
>After unpacking 69.6kB disk space will be freed.
>Do you want to continue [Y/n]?
>
>
>fis:~# aptitude -DR dist-upgrade
>Reading package lists... Done
>Building dependency tree... Done
>Reading extended state information
>Initializing package states... Done
>Reading task descriptions... Done
>Building tag database... Done
>No packages will be installed, upgraded, or removed.
>0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>Need to get 0B of archives. After unpacking 0B will be used.
>fis:~#
>
>
>Many thanks for maintaining aptitude - it's a fine tool!
>
>Jack



2006-03-16 22:55 ms419 at freezone.co.uk:
>I found aptitude does respect these lines in /etc/apt/preferences -
>
>
>Package: *
>Pin: release a=experimental
>Pin-Priority: 100
>
>
>However downgrading remains impossible


Thanks for this report.

The fix was commited for VCS and will be present in the next release,
marking as +pending.


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



More information about the Aptitude-devel mailing list