Your message dated Sat, 9 Jan 2016 13:42:22 +0000
with message-id <[email protected]>
and subject line Re: aptitude -v show shows doubled information
has caused the Debian Bug report #810057,
regarding aptitude -v show shows doubled information
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.)


-- 
810057: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810057
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.7.5-3

Many lines are repeated, even for the same version!

# aptitude -v show xsane|sort|uniq -c|sort -n
      1 Archive: now <----------OK maybe this is the big trigger / difference
      1 Archive: unstable
      1 Filename:
      1 Filename: pool/main/x/xsane/xsane_0.999-3_i386.deb
      1 MD5sum:
      1 MD5sum: 4911f91d49139d2c0819386b19ce3bdf
      2
      2
      2           mgetty-fax
      2          (>= 2.22.0), libgimp2.0 (>= 2.4.0), libglib2.0-0 (>= 2.16.0),
      2          1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libpng12-0 (>= 
1.2.13-4),
      2          2.2+git20110628), libpango-1.0-0 (>= 1.14.0), 
libpangocairo-1.0-0 (>=
...
      2 State: installed
      2 Suggests: gimp, gocr | cuneiform | tesseract-ocr | ocrad, gv, 
hylafax-client |
      2 Tags: interface::x11, role::program, scope::application, uitoolkit::gtk,
      2 Uncompressed Size: 1,055 k
      2 Version: 0.999-3
# apt-config dump|grep -i apti
Aptitude "";
Aptitude::CmdLine "";
Aptitude::CmdLine::Always-Prompt "true";
Aptitude::CmdLine::Show-Why "true";
Aptitude::CmdLine::Show-Deps "true";
Aptitude::CmdLine::Verbose "1";
Aptitude::Purge-Unused "true";

--- End Message ---
--- Begin Message ---
2016-01-06 03:25 積丹尼 Dan Jacobson:

Package: aptitude
Version: 0.7.5-3

Many lines are repeated, even for the same version!

# aptitude -v show xsane|sort|uniq -c|sort -n
     1 Archive: now <----------OK maybe this is the big trigger / difference
     1 Archive: unstable
     1 Filename:
     1 Filename: pool/main/x/xsane/xsane_0.999-3_i386.deb
     1 MD5sum:
     1 MD5sum: 4911f91d49139d2c0819386b19ce3bdf
     2
     2
     2           mgetty-fax
     2          (>= 2.22.0), libgimp2.0 (>= 2.4.0), libglib2.0-0 (>= 2.16.0),
     2          1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libpng12-0 (>= 
1.2.13-4),
     2          2.2+git20110628), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 
(>=
...
     2 State: installed
     2 Suggests: gimp, gocr | cuneiform | tesseract-ocr | ocrad, gv, 
hylafax-client |
     2 Tags: interface::x11, role::program, scope::application, uitoolkit::gtk,
     2 Uncompressed Size: 1,055 k
     2 Version: 0.999-3

"show -v" does not show duplicate lines, it shows all of the versions
installed rather than only the candidate one.

In the example above, Archive is "now" and "unstable" because there's a
new version that one can upgrade to, and same for one of the lines of
Filename and MD5sum being empty.

This is also documented in the manpage:

 If the verbosity level is 1 or greater (i.e., at least one -v is
 present on the command-line), information about all versions of the
 package is displayed.  Otherwise, information about the “candidate
 version” (the version that “aptitude install” would download) is
 displayed.

So closing as it's not a bug, it's intended behaviour and how it worked
for a long time or forever.


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