apt-cache show apt:i386 does not include the long description

Bug #868977 reported by Michael Vogt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

On a amd64 multiarch system the following command shows the full description as expected:
$ apt-cache show apt
but
$ apt-cache show apt:i386
does only show the summary.

Revision history for this message
Michael Vogt (mvo) wrote :

The issue is that in MergeList for indexes without a architecture (like the Translations index) for Arch the main architecture is returned. So when the translated descriptions are added they will only be added for the main arch instead of for all arches.

Attached is a small fix for this but it needs some work as it makes the diff (with proper indent) pretty big and this is also a
good opportunity to simply this loop.

Michael Vogt (mvo)
Changed in apt (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Proof of conecpt fix" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
tags: removed: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt - 0.8.16~exp5ubuntu14

---------------
apt (0.8.16~exp5ubuntu14) precise; urgency=low

  [ David Kalnischkies ]
  * apt-pkg/pkgcachegen.cc:
    - refactor MergeList by creating -Group, -Package and -Version specialist
    - share description list between "same" versions (LP: #868977)
      This also means that descriptions are shared across archives now.
  * apt-pkg/pkgcache.cc:
    - always prefer "en" over "" for "en"-language regardless of cache-order
      (LP: #868977)
 -- Michael Vogt <email address hidden> Wed, 19 Oct 2011 16:22:31 +0200

Changed in apt (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers