software-center uses first installed version of ubuntu for partner repository after upgrade

Bug #1272653 reported by Chris Mayo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading from raring to saucy using do-release-upgrade and then enabling partner repository in software-center GUI, /etc/apt/sources.list has:

deb http://archive.canonical.com/ubuntu raring partner

Manually editing sources.list changing to saucy fixes this.

$ apt-cache policy software-center
software-center:
  Installed: 13.10-0ubuntu1
  Candidate: 13.10-0ubuntu1
  Version table:
 *** 13.10-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status

Also seen on a computer that had been upgraded oneiric -> precise -> quantal -> raring -> saucy, sources.list still had oneiric.

Chris Mayo (chris-mayo)
affects: app-install-data-partner (Ubuntu) → software-center (Ubuntu)
affects: software-center (Ubuntu) → software-properties (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-properties (Ubuntu):
status: New → Confirmed
Revision history for this message
BjA (bjabja) wrote :

I updated from 12.04 to 14.04. After installation, I wanted to use the partner repository and noticed, it was still pointing to natty
in /etc/sources.list/ (this was the first installed release on the computer, as there is also the entry to the deb cdrom: .. pointing to natty in the first line).

When un/checking the Partner distribution channel, in sources.list the entry gets commented/uncommented but always pointing to natty.

I had to manually change sources.list, now it points to trusty and gets commented/uncommented as trustry when clicking/unclicking in software center.

This bug is possbly a duplicate of the follwing older bug:

https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/366771

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.