PDA

View Full Version : [ubuntu] Could not download the upgrades (Size mismatch)



i_ReEm
June 19th, 2011, 06:09 PM
Hi,
I have Ubuntu 10.10 installed and a few weeks ago I tried upgrading to 11.04 using "Update Manager" BUT I got the following error after a few hours of fetching all the files from internet except for one



Could not download the upgrades

The upgrade has aborted. Please check your Internet connection or installation media and try again. All files downloaded so far are kept.

Failed to fetch http://sy.archive.ubuntu.com/ubuntu/pool/main/libp/libproxy/libproxy0_0.3.1-2ubuntu5_amd64.deb Size mismatch
Failed to fetch http://sy.archive.ubuntu.com/ubuntu/pool/main/libp/libproxy/python-libproxy_0.3.1-2ubuntu5_all.deb Size mismatch

I thought there's something wrong with the internet connection in spite of that everything else works well.. I tried upgrading in different times in different days, I redid the process again today and I got the same error again.
Any help?
Is there any other way to upgrade or ignore this package?
Thanks in advance

Rubi1200
June 19th, 2011, 06:37 PM
Hi,

start by trying these commands in the terminal:


sudo apt-get clean

sudo apt-get update

Let us know if this helps.

i_ReEm
June 20th, 2011, 02:53 PM
Hi,

start by trying these commands in the terminal:


sudo apt-get clean

sudo apt-get update

Let us know if this helps.

No :( it didn't help.. I get the same error again :(

Rubi1200
June 20th, 2011, 03:43 PM
Just so you know, pinning this down and finding the solution might take a few steps so please be patient.

Try this next;

System->Administration->Synaptic Package Manager ->Settings->Repositories->Download from

change the server to Main Server and then Reload and try again.

i_ReEm
June 20th, 2011, 11:20 PM
OK..
Thank you for your help.
I tried that and I got the same error again:


Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libp/libproxy/libproxy0_0.3.1-2ubuntu5_amd64.deb Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libp/libproxy/python-libproxy_0.3.1-2ubuntu5_all.deb Size mismatch

I will be patient .. no problem :)

Rubi1200
June 21st, 2011, 06:55 AM
okay, I have another possible solution here:
http://ubuntuforums.org/showthread.php?t=988241

i_ReEm
June 21st, 2011, 04:22 PM
I think my country is blocking all the url with "proxy" in it, that's why I can't download these packages..
Someone downloaded these two packages for me.. now what should I do?

Rubi1200
June 21st, 2011, 04:28 PM
If I am not mistaken, you can just click on the package and it should open and allow you to install it.
I think the default is to open it in Ubuntu Software Center.