Incorrect metadata when repositories are defined in sources.list.d

Bug #362961 reported by Andrew
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: apt

When a repository is defined in a file in /etc/apt/sources.list.d, the metadata is not correctly loaded.

Steps to reproduce:
1) create /etc/apt/sources.list.d/medibuntu with contents (or use a different repository):
deb http://packages.medibuntu.org/ intrepid free non-free

2) Add the GPG key for medibuntu (if you use a non-medibuntu repository, skip this step)
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

3) Run aptitude, and under the UI options, include %t.
4) Open the package mplayer and go to the bottom. You will see that the package from medibuntu has no archive flag (you can confirm this with other dpkg tools, not just aptitude)

5) Move the repository definition from /etc/apt/sources.list.d/medibuntu to /etc/apt/sources.list
6) Run "sudo apt-get update". You can now confirm that it is working.

This is dangerous as it breaks apt preferences as the pin priorities will not be able to match the packages.

Versions (Intrepid):
apt: 0.7.14ubuntu6
dpkg: 1.14.20ubuntu6.2

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.
There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu development version (10.10). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect 362961, and any other logs that are relevant for this particular issue.

Changed in apt (Ubuntu):
status: New → Incomplete
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.