Comment 0 for bug 1290270

Revision history for this message
Patrik Nilsson (nipatriknilsson) wrote :

I tried to "sudo apt-get update" Clean Ubuntu Gnome 13.10 using an unreliable mobile Internet connection. The goal was to upgrade to Ubuntu Gnome 14.04 beta.

The connection works for a minute and then dissapears, then comes back.

If the partial downloaded index files are changed, there is no check that they are correctly downloaded from the server (no date stamp, size) and I got the error:

W: GPG error: http://se.archive.ubuntu.com saucy-updates Release: The
following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu
Archive Automatic Signing Key <email address hidden>

After cleaning up "/var/lib/apt/lists/*" I was able to issue another apt-get update, but I'm still not able to download the indexes.

There need to be a timeout (20s) and retry (many). Even looking up must have retries. There need to be a check for changed index files.

Then the goal was to issue "sudo apt-get upgrade" and then upgrade to 14.04. With this I have succeded yet.