PDA

View Full Version : [ubuntu] 6.06 LTS to 8.04 LTS package authentication error


mhakali
August 31st, 2008, 04:39 AM
Trying to do a simple by-the-book 6.06 => 8.04 server upgrade.

What I have done prior to the attempted upgrade;

* NTP synced my clock to that signatures should be valid
* Updated all packages in the 6.06.2 to their most up-to-date versions
* Ran apt-get update a few times before & after :)

When I do do-release-upgrade -d I get the following (bit stripped marked with [...]) output


Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'hardy.tar.gz'
authenticate 'hardy.tar.gz' against 'hardy.tar.gz.gpg'

Reading cache

Checking package manager
Reading package lists: Done
Building dependency tree: Done
Building dependency tree: Done
Building dependency tree: Done
WARNING: Failed to read mirror file
Done http://se.archive.ubuntu.com dapper Release.gpg
Done http://se.archive.ubuntu.com dapper-updates Release.gpg
Done http://se.archive.ubuntu.com dapper-backports Release.gpg
Hit http://se.archive.ubuntu.com dapper Release
[...]

Building dependency tree: Done
Done http://se.archive.ubuntu.com dapper-backports/main/debian-installer release-upgrader-dpkg 1.14.5ubuntu11.6
Done http://se.archive.ubuntu.com dapper-backports/main/debian-installer release-upgrader-apt 0.7.9ubuntu2
Done downloading

Reading cache

Checking package manager
Reading package lists: Done
Building dependency tree: Done
[...]
Hit http://se.archive.ubuntu.com dapper Release.gpg
Hit http://se.archive.ubuntu.com dapper-updates Release.gpg
[...]
Building dependency tree: Done

Updating repository information
WARNING: Failed to read mirror file
Done http://se.archive.ubuntu.com hardy Release.gpg
Done http://se.archive.ubuntu.com hardy-updates Release.gpg
Done http://se.archive.ubuntu.com hardy-backports Release.gpg
[...]
Done http://se.archive.ubuntu.com hardy-backports/universe Sources
Done http://se.archive.ubuntu.com hardy-backports/multiverse Sources
Done downloading
[...]
Done http://security.ubuntu.com hardy-security/restricted Sources
Done http://security.ubuntu.com hardy-security/universe Packages
Done http://security.ubuntu.com hardy-security/universe Sources
Done downloading

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.

W:Failed to fetch
http://se.archive.ubuntu.com/ubuntu/dists/hardy/main/binary-i386/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://se.archive.ubuntu.com/ubuntu/dists/hardy/restricted/binary-i386/Packages.bz2
Hash Sum mismatch
[...]
, W:Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/binary-i386/Packages.bz2
Hash Sum mismatch
, W:Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/source/Sources.bz2
Hash Sum mismatch
, E:Some index files failed to download, they have been ignored, or
old ones used instead.

Restoring original system state

Aborting
Reading package lists: Done
Building dependency tree: Done


I am wondering why I would get a hash sum mismatch when having a synced clock and updated system.

Ideas? :]

Regards

Mikael

megastench
August 31st, 2008, 04:58 PM
I'm having the same problem.

I got around it the other day. But I can't remember what I did.

Some help would be appreciated.

megastench
August 31st, 2008, 05:21 PM
This worked for me:

from https://help.ubuntu.com/community/HardyUpgrades

run "sudo do-release-upgrade -m desktop" in a terminal window

I'm not sure what the '-m disktop' does, but this did the trick.

mhakali
September 1st, 2008, 04:01 AM
This worked for me:

from https://help.ubuntu.com/community/HardyUpgrades

run "sudo do-release-upgrade -m desktop" in a terminal window

I'm not sure what the '-m disktop' does, but this did the trick.

This is the procedure for a desktop release upgrade. I am afraid that -m desktop will interfere with my server package configuration, and especially; switch from a server to generic kernel.

Regards

Mikael