[Aptitude-devel] Bug#624706: aptitude: Wrongly shows packages to be non-free in interactive mode

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sat Sep 12 18:39:20 UTC 2015


Control: tags -1 + moreinfo


Hi Andrei,

2011-04-30 20:25 Andrei POPESCU:
>Package: aptitude
>Version: 0.6.3-4
>Severity: normal
>
>Hi,
>
>I have lenny, squeeze, wheezy and sid in sources.list. For example
>tango-icon-theme (but this is reproducible with other packages as well)
>is non-free in lenny, but moved to main since squeeze:
>
>$ apt-cache policy tango-icon-theme
>tango-icon-theme:
>  Installed: 0.8.90-3
>  Candidate: 0.8.90-3
>  Version table:
> *** 0.8.90-3 0
>        500 http://ftp.at.debian.org/debian/ sid/main amd64 Packages
>        500 http://ftp.at.debian.org/debian/ squeeze/main amd64 Packages
>        500 http://ftp.at.debian.org/debian/ wheezy/main amd64 Packages
>        100 /var/lib/dpkg/status
>     0.8.1-4 0
>        500 http://ftp.at.debian.org/debian/ lenny/non-free amd64 Packages
>
>Aptitude know this in command-line mode:
>
>$ aptitude show tango-icon-theme | grep Section
>Section: x11
>
>but not in interactive mode (copy pasted with 'screen')
>
>-----------------------------------------------------------------------
> Actions  Undo  Package  Resolver  Search  Options  Views  Help
>C-T: Menu  ?: Help  q: Quit  u: Update  g: Download/Install/Remove Pkgs
>                Packages                         tango-icon-theme info
>aptitude 0.6.3
>    icons follow a standard and consistent style guide to look coherent.
>  Homepage: http://tango.freedesktop.org
>  Priority: optional
>  Section: non-free/x11
>  Maintainer: Philipp Kern <pkern at debian.org>
>  Compressed size: 1789 k
>  Uncompressed size: 10.9 M
>  Source Package: tango-icon-theme
>  --\ Depends (1)
>    --- hicolor-icon-theme
>  --\ Suggests (2)
>    --- gnome-icon-theme
>    --- kdelibs-data (UNSATISFIED)
>  --\ Conflicts (1)
>    --- tango-icon-theme-common (< 0.6)
>  --- Packages which depend on tango-icon-theme (13)
>  --\ Versions of tango-icon-theme (2)
>p A  0.8.1-4
>i A  0.8.90-3
>Tango icon theme
>-----------------------------------------------------------------------
>
>(note: this is the default info for tango-icon-theme, not for the lenny
>version 0.8.1-4)


I installed an old version from snapshots, 0.7.2-1 (maintainer "Utnubu
team"), which is in non-free/x11, and the current version 0.8.90-5 from
unstable section x11 (maintainer "P. Kern") is available.  They are not
the versions that you describe but they should be fine, I think.

When I enter package info screen the first time, the section is "x11"
(and the maintainer "P. Kern"), even if the version currently installed
is the other one.  If I go to the old or new version, and select (press
enter), I get the correct information in each case.  I repeat this a
number of times without problems.

Maybe the first time that one enters in that screen the information is
random (I don't think so, though: is probably either current or
candidate version consistently), but after that it shouldn't be, so I am
surprised about the behaviour that you describe.

I am also surprised specially because I think that the section of the
code has not been touched since ~2005 or so, so your tests a few years
ago and now should be the same.

Could you please see if you can reproduce it with this or other
packages?  (Preferably small and that don't require extra dependencies
installed, like this one, for ease of testing).


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



More information about the Aptitude-devel mailing list