Adding the dist-upgrader damages my sources.list file

Bug #36621 reported by Rylie Pavlik
8
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

In my original sources.list file, the main and restricted lines were separate from the universe and multiverse ones. Synaptic and/or the update-manager changes them to the following:

(adding universe and multiverse up here)
## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://archive.ubuntu.com/ubuntu breezy-updates restricted main multiverse universe
deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted

(and also changing the following lines - in all of these, the deb-src is untouched and used to match the preceding deb line)
deb http://security.ubuntu.com/ubuntu breezy-security restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe multiverse

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Could you please attach your sources.list to this bug? Do you still have your original sources.list arround? The SOftware-Properties create a backup called "sources.list.save".

Thanks,

Sebastian

Changed in update-manager:
assignee: nobody → glatzor
status: Unconfirmed → In Progress
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Have you started the dist-upgrade? Could you please give some more details how we could reproduce this bug. Have you launched the Software-properties?

Sebastian

Revision history for this message
Rylie Pavlik (abiryan) wrote :

I have started the dist upgrade. However, here's how to reproduce it:

Edit the sources.list manually so that your main and restricted lines are separate (on their own line) from the universe and multiverse, and have the deb-src for both of them, as well. From the terminal, do a sudo apt-get update, and notice that all is well. Now, launch Synaptic and go into Repositories. Close Synaptic, and re-update from the command line - now errors about duplicate lists will occur. If you open the sources.list in a text editor, you will see the error as described above.

Michael Vogt (mvo)
Changed in update-manager:
assignee: glatzor → mvo
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport and your detailed analysis.

This is fixed in the dist-upgrader for dapper->edgy.

Cheers,
 Michael

Changed in update-manager:
status: In Progress → Fix Released
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.