[Bug 799432] Re: Source package can't be found if already previous found

Torsten Spindler torsten at canonical.com
Thu Mar 1 12:43:51 UTC 2012


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.

** Patch added: "apt-two_sources.patch"
   https://bugs.launchpad.net/ubuntu/+source/apt/+bug/799432/+attachment/2797167/+files/apt-two_sources.patch

** Changed in: apt (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: apt (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/799432

Title:
  Source package can't be found if already previous found

Status in “apt” package in Ubuntu:
  Triaged

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/799432/+subscriptions




More information about the foundations-bugs mailing list