Your message dated Sun, 13 Sep 2015 17:03:41 +0100
with message-id 
<CAPQ4b8=_RdeebLoHwC5ErVXa4e4zSkJ8+Yh7J4D0N=68bw3...@mail.gmail.com>
and subject line Re: aptitude: Wrongly shows packages to be non-free in 
interactive mode
has caused the Debian Bug report #624706,
regarding aptitude: Wrongly shows packages to be non-free in interactive mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
624706: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624706
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <[email protected]>
  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)

Regards,
Andrei

-- Package-specific info:
aptitude 0.6.3 compiled at Apr  2 2011 21:33:01
Compiler: g++ 4.5.2
Compiled against:
  apt version 4.10.1
  NCurses version 5.8
  libsigc++ version: 2.2.4.2
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.9.20110404
  cwidget version: 0.5.16
  Apt version: 4.10.1
        linux-vdso.so.1 =>  (0x00007fffd1fff000)
        libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007fae9ab72000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007fae9a91f000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007fae9a719000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007fae9a44d000)
        libept.so.1 => /usr/lib/libept.so.1 (0x00007fae9a1f1000)
        libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007fae99dd2000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007fae99bbb000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007fae9991d000)
        libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 
(0x00007fae99701000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fae994e5000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fae991db000)
        libm.so.6 => /lib/libm.so.6 (0x00007fae98f58000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fae98d42000)
        libc.so.6 => /lib/libc.so.6 (0x00007fae989e0000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007fae987dc000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fae985d8000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x00007fae983d3000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007fae981c3000)
        librt.so.1 => /lib/librt.so.1 (0x00007fae97fbb000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fae9aeaa000)
Terminal: screen
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: wheezy/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg4.10]    0.8.14.1         Advanced front-end for dpkg
ii  libboost-iostreams1.42. 1.42.0-4         Boost.Iostreams Library
ii  libc6                   2.11.2-13        Embedded GNU C Library: Shared lib
ii  libcwidget3             0.5.16-3         high-level terminal interface libr
ii  libept1                 1.0.5            High-level library for managing De
ii  libgcc1                 1:4.6.0-6        GCC support library
ii  libncursesw5            5.9-1            shared libraries for terminal hand
ii  libsigc++-2.0-0c2a      2.2.9-1          type-safe Signal Framework for C++
ii  libsqlite3-0            3.7.6.2-1        SQLite 3 shared library
ii  libstdc++6              4.6.0-6          The GNU Standard C++ Library v3
ii  libxapian22             1.2.5-1          Search engine library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages aptitude recommends:
ii  apt-xapian-index              0.41       maintenance and search tools for a
ii  aptitude-doc-en [aptitude-doc 0.6.3-4    English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.2.0-1    parse Debian changelogs and output
ii  sensible-utils                0.0.6      Utilities for sensible alternative

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
pn  tasksel                       <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
2015-09-13 12:40 GMT+01:00 Andrei POPESCU <[email protected]>:
> On Sb, 12 sep 15, 19:39:20, Manuel A. Fernandez Montecelo wrote:
>> Control: tags -1 + moreinfo
> ...
>> 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.
>
> I notice in my report that I had the newer version installed, but..

I assumed that any of the versions with non-free/x11 would do for this test.

If there is/was an issue with this, it's more likely that it is an
issue with "randomness" of versions rather than with a problem related
to the exact versiof of the package.  Sometimes, when aptitude looks
for this information (sections, maintainers, etc), asks for any
version installed on the system and assumes that all versions contain
the same info (except version number, size, etc.).  So in those cases
the result depends on which particular version apt gave back first.


>> 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.
>
> I tried to reproduce this by adding lenny to sources.list (from
> archive.debian.org), but behaviour is correct.
>
>> 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).
>
> Not sure if this makes a difference, but I'm unable to reproduce this
> with my current setup (pure Jessie install and with Lenny from
> archive.debian.org added to sources.list).
>
> Feel free to close this old bug as unreproducible and thanks for looking
> into such old issues.

OK, I will do that.  Of course, please reopen or submit a new one if
you find this issue again (now that you know about it, perhaps you
notice it in other fields that change more often, like Maintainer).


Cheers.
-- 
Manuel A. Fernandez Montecelo <[email protected]>

--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to