Source package can't be found if already previous found

Bug #799432 reported by Sworddragon on 2011-06-19
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: apt

I'm using Ubuntu 11.10 dev and apt 0.8.14.1ubuntu7. I wanted to download some sources with "apt-get source sun-java6-bin sun-java6-plugin". apt choosed for both packages sun-java6 as source but on sun-java6-plugin it doesn't work. It seems something isn't working correct if a source is choosen more than one time because "apt-get source sun-java6-plugin" is working fine.

If somebody wants to reproduce it with these packages the following source is needed:
deb-src http://ppa.launchpad.net/ferramroberto/java/ubuntu oneiric main

Torsten Spindler (tspindler) wrote :

I can confirm that the problem exists on Precise as well, using the PPA from above. However, when for example downloading 'apt-get source apt apt-utils' it works. I can also confirm the work around of downloading the packages individually.

Changed in apt (Ubuntu):
status: New → Confirmed
Torsten Spindler (tspindler) wrote :

It looks like FindSrc fails at times as SrcRecs in apt-get.cc is mangled by the first search. Moving pkgSrcRecords SrcRecs(*List); within the loop over the command line supplied file list fixes the error, albeit brutally. A better way might be to make sure that SrcRecs is not destroyed during the search.

Changed in apt (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low

The attachment "apt-two_sources.patch" 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-reviewers team 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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers