Failed to extract Extracting the upgrade failed. There may be a problem with the network or with the server.

Asked by hyperion

When doing normal updates everthing works fine. But when I try to do a release upgrade to version: Ubuntu 8.10 'Intrepid Ibex' from 8.04 hardy

I receive following message:

Failed to extract Extracting the upgrade failed. There may be a problem with the network or with the server.

I'm sure that my internet connection and proxy are OK. I've also tried to set other servers for doing the upgrade in "Software sources". I've set the server with the "test best servers" button or something like that.

I followed the upgrade procedure from webpage: http://www.ubuntu.com/getubuntu/upgrading

When typing command:
sudo do-release-upgrade
result:
Checking for a new ubuntu release
No new release found

Any help is welcome!!!

Greetz
Mathias

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
hyperion
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

First open the System → Administration → Software Sources
open the [Updates] tab and go to the "Show new distribution releases:" listbox
select "Normal releases"

then open the [Ubuntu Software] tab select main server

Then open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Then perform your upgrade using the update-manager open System → Administration → Update manager you must see the

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

continued....

Then perform your upgrade using the update-manager open System → Administration → Update manager you must see the Availability of Ubuntu 8.10 release..

Hope this helps

Revision history for this message
hyperion (m-dullaers) said :
#3

It doesn't work. I can see the "upgrade" button.
When I click the "upgrade" button I see the "release notes"

When I click again on the "upgrade" button I receive the same message:

Failed to extract

Extracting the upgrade failed. There may be a problem with the network or with the server.

When I tried the terminal commands I received the following output:
mathias@acer-laptop:~$ sudo dpkg --configure -a
mathias@acer-laptop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mathias@acer-laptop:~$ sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mathias@acer-laptop:~$ sudo apt-get clean
mathias@acer-laptop:~$ sudo apt-get update
Hit http://archive.ubuntu.com hardy Release.gpg
Ign http://archive.ubuntu.com hardy/main Translation-en_US
Ign http://archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy/universe Translation-en_US
Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
Hit http://archive.ubuntu.com hardy-updates Release.gpg
Ign http://archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://archive.ubuntu.com hardy-security Release.gpg
Ign http://archive.ubuntu.com hardy-security/main Translation-en_US
Ign http://archive.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy-security/universe Translation-en_US
Ign http://archive.ubuntu.com hardy-security/multiverse Translation-en_US
Hit http://archive.ubuntu.com hardy Release
Hit http://archive.ubuntu.com hardy-updates Release
Hit http://archive.ubuntu.com hardy-security Release
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/restricted Packages
Hit http://archive.ubuntu.com hardy/main Sources
Hit http://archive.ubuntu.com hardy/restricted Sources
Hit http://archive.ubuntu.com hardy/universe Packages
Hit http://archive.ubuntu.com hardy/universe Sources
Hit http://archive.ubuntu.com hardy/multiverse Packages
Hit http://archive.ubuntu.com hardy/multiverse Sources
Hit http://archive.ubuntu.com hardy-updates/main Packages
Hit http://archive.ubuntu.com hardy-updates/restricted Packages
Hit http://archive.ubuntu.com hardy-updates/main Sources
Hit http://archive.ubuntu.com hardy-updates/restricted Sources
Hit http://archive.ubuntu.com hardy-updates/universe Packages
Hit http://archive.ubuntu.com hardy-updates/universe Sources
Hit http://archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://archive.ubuntu.com hardy-updates/multiverse Sources
Hit http://archive.ubuntu.com hardy-security/main Packages
Hit http://archive.ubuntu.com hardy-security/restricted Packages
Hit http://archive.ubuntu.com hardy-security/main Sources
Hit http://archive.ubuntu.com hardy-security/restricted Sources
Hit http://archive.ubuntu.com hardy-security/universe Packages
Hit http://archive.ubuntu.com hardy-security/universe Sources
Hit http://archive.ubuntu.com hardy-security/multiverse Packages
Hit http://archive.ubuntu.com hardy-security/multiverse Sources
Reading package lists... Done
mathias@acer-laptop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mathias@acer-laptop:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mathias@acer-laptop:~$ sudo apt-get clean
mathias@acer-laptop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Please try from a terminal:

sudo apt-get update
sudo update-manager

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Please confirm you are you using a proxy...?

Thank you

Revision history for this message
hyperion (m-dullaers) said :
#6

It's very wierd but now I can see that the update manager I opened with the terminal is another update manager then the GUI version. In the terminal update-manager I can't see that a new distribution release is available, in the GUI update-manager I can see that a new distribution release is available, but I receive the error "failed to extract..."

I'm using a proxy server, but I also tried to start without the proxy server, when I'm changing from proxy to non proxy, do I need to reboot my machine?

Revision history for this message
hyperion (m-dullaers) said :
#7

Hello
I found out the problem. I was using an automatic proxy configuration. There are definitely some bugs when using this option / or there is a problem with the automatic proxy configuration from my provider.

Steps I took to change the problem:
I tried to change to "direct connection" -> same result: failed to extract.

Then I changed to manual proxy configuration and added proxy.telenet.be (for my provider).

I did a ./networking restart, ran the upgrade manager and now everything works fine.

I need to say that I had already problems with the automatic proxy configuration. He always failed to download msttcorefonts, but I think this problem is now also solved.

If it is a bug, it is perhaps already solved in 8.10... Anyway I will report it as a bug to help other users...

Revision history for this message
hyperion (m-dullaers) said :
#8

I found out that it is a confirmed bug:

Bug #173050 in gutsy.

Binary package hint: update-manager

I am behind a firewall, but use an ubuntu mirror on the local network. Update-manager seems to ignore the automatic proxy configuration script (which should tell it to ignore the proxy for local addresses) and falls back upon the manual proxy configuration. (I know that it uses the manual config because I deliberately entered details of a separate proxy server in the manual fields to test this.) However, it also ignores the exclusion list entered under the "advanced" tab of the gnome proxy configuration dialogue.

This means the only way for me to bypass the proxy for the local mirror is to manually set gnome to use no proxy every time.

(BTW, the fact that there is no indication to the user that manual config is the fallback behaviour of apps that cannot use automatic config scripts is also rather confusing.)