[Aptitude-devel] Bug#755677: Bug#755677: aptitude: Recognizes "Debian Backports" packages as official for downloading changelogs on the CLI, but not in the TUI

Daniel Hartwig mandyke at gmail.com
Tue Aug 5 01:45:24 UTC 2014


Control: tags -1 + confirmed
Control: owner -1 !

On 22 July 2014 18:21, Axel Beckert <abe at debian.org> wrote:
> Package: aptitude
> Version: 0.6.11-1
> Control: found -1 0.6.8.2-1
>
> Hi,
>
> I actually ran into the following on Debian Wheezy, but then also was
> able to reproduce this in Sid:
>
> If I try to download and view the changelog of a package from an
> official "Debian Backports" repository
> (e.g. http://metadata.ftp-master.debian.org/changelogs/main/r/redmine/wheezy-backports_changelog,
> the repository's release identification is
> "release v=,o=Debian Backports,a=wheezy-backports,n=wheezy-backports,l=Debian Backports,c=main")
> in the NCurses TUI by pressing "Shift-C", aptitude currently claims, it's
> not an official package: "You can only view changelogs of official
> Debian packages."
>
> And yes, there is a related fix in Sid (https://bugs.debian.org/714619),
> but only in one place out of two as it seems: only for the command line
> interface.  And indeed, if I do the same from the command line on Sid,
> it works as expected, at least in Sid: "aptitude changelog
> redmine=2.5.1-2\~bpo70+2" works fine.
>
> There seems to be some kind of code duplication. The according code
> locations are:
>

Yes.  One of the major issues attempting to be addressed on the wip
(real soon now).

The duplicated code was already removed on the 0.6.9 branch IIRC.

Thank for spotting.



More information about the Aptitude-devel mailing list