Not able to upgrade from 11.04 to 11.10

Bug #876519 reported by Gabriel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

I started the upgrade manager (11.04 to 11.10) and had to stop during the "Getting new packages" part. I then later on re-started the process and libimobiledevice2 was upgradable, so I decided to upgrade it before finishing the system upgrade. Bad choice as now the system upgrade process stops doing anything at "Getting new packages"... I then tried downgrading libimobiledevice2 from 1.1.0-3ubuntu1 to 1.1.0-3, but that doesn't help...

While I agree that wasn't the best thing to do, I think in a system upgrade is stopped you should have a way of restarting it from scratch or continuing where it left off; currently it continues from what the UI says. I think it build an original list of packages to be upgraded and now it's stuck because of a mismatch.

BTW, running "ubuntu-bug update-manager" stays stuck in the "Collecting problem information" step, and "ubuntu-bug" then choosing "other" closes with an error that a PID has to be given, even though there is no visible way of providing that.

$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

$ apt-cache policy update-manager
update-manager:
  Installed: 1:0.150.3
  Candidate: 1:0.150.3
  Version table:
 *** 1:0.150.3 0
        500 http://ch.archive.ubuntu.com/ubuntu/ natty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:0.150 0
        500 http://ch.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages

Revision history for this message
Gabriel (misc-evotex) wrote :

I tried doing it on command line :

$ sudo do-release-upgrade -p

Although I get this:

WARNING: Failed to read mirror file

it is able to get the package data :

Get:13 http://mirror.switch.ch oneiric Release [40.8 kB]

but then something happens:

Fetched 15.8 MB in 6s (663 kB/s)

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Calculating the changes

Calculating the changes

Do you want to start the upgrade?

52 installed packages are no longer supported by Canonical. You can
still get support from the community.

26 packages are going to be removed. 420 new packages are going to be
installed. 1289 packages are going to be upgraded.

You have to download a total of 127 M. This download will take about
2 minutes with your connection.

Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be cancelled.

 Continue [yN] Details [d]y

Fetching
Err http://mirror.switch.ch/ftp/mirror/ubuntu/ oneiric/main linux-headers-3.0.0-12 all 3.0.0-12.20
  Connection failed
Err http://mirror.switch.ch/ftp/mirror/ubuntu/ oneiric/main openjdk-6-jre-headless amd64 6b23~pre10-0ubuntu5
  Connection failed
Err http://mirror.switch.ch/ftp/mirror/ubuntu/ oneiric/main openjdk-6-jre-lib all 6b23~pre10-0ubuntu5
  Connection failed
Err http://mirror.switch.ch/ftp/mirror/ubuntu/ oneiric/main openjdk-6-jdk amd64 6b23~pre10-0ubuntu5
  Connection failed
Err http://mirror.switch.ch/ftp/mirror/ubuntu/ oneiric/main libxerces2-java all 2.9.1-4.1ubuntu3
  Connection failed

I tried other mirrors same thing. The thing is that it worked before I canceled, and I can connect to the server using the browser, and the update manager proposes updates when there are some available and I'm able to upgrade (had 2 this morning, went ahead and tried, they succeeded). I'm a bit lost here...

Revision history for this message
Gabriel (misc-evotex) wrote :

The update manager popped up and offered to upgrade, I tried it again and it seems to have downloaded everything (took forever even though the connection is fast, like if it's working in slow motion), and now it's stuck again...it says "fetching is complete" but won't go any further. I attached a screenshot, I'll gladly run/include any other details if someone reads this and tells me what they need....

Revision history for this message
Gabriel (misc-evotex) wrote :

Screenshot of update manager

Revision history for this message
Gabriel (misc-evotex) wrote :

Ok, so I tried doing an "aptitude safe-upgrade", I figured out what went wrong, our firewall didn't like linux-firmware_1.60_all.deb, because it couldn't scan it, it just returned an error (504 if I remember correctly). I had to download it manually from home and add it to /var/cache/apt/archives/. All the other files were ok and the setup is now installing the files.

I still think this situation should not occur, if there is a problem downloading something it should give the user some feedback, not just silently wait forever. If I had received an explicit msg (e.g. file & link posing problem, error that occurred, etc) I'd have been able to fix it quicker, aptitude can do it, so should your update manager (commandline and GUI).

Gabriel (misc-evotex)
summary: - Not able to upgrade friom 11.04 to 10.10
+ Not able to upgrade friom 11.04 to 11.10
summary: - Not able to upgrade friom 11.04 to 11.10
+ Not able to upgrade from 11.04 to 11.10
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Gabriel, thanks for providing so much info, and sorry we didn't get to this bug report until now. Ubuntu 11.04 reached end-of-life on 28 October 2012, and Ubuntu 11.10 on 9 May 2013. So the next step is to check whether the problem still happens with a current version of Ubuntu (12.04, 12.10, or 13.04). One thing that would make testing easier for other people would be instructions on how to set up a firewall that blocks a particular package installed during upgrade.

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.