≡ Menu

apt-get upgrade

Debian Linux: Upgrade v6.0.x Squeeze to v7.0.0 Wheezy

Recently Debian Linux version 7.0 (“Wheezy”) released. This version shipped with many new features – improvements to multimedia support, improved security through hardening flags and the OpenStack suite and the Xen Cloud Platform to name a few. How do I upgrades from Debian Linux version 6.x.x (squeeze) to the latest version 7.0.0 wheezy using command line options? How do I upgrade my Debian 6.x server to 7.x over the ssh session?
[click to continue…]

I‘m running the apt-get update command to fetch updates but getting the following errors:

Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_IN
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_IN
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_IN
Get:2 http://security.debian.org squeeze/updates Release [86.9 kB]
Get:3 http://security.debian.org squeeze/updates/main Sources [89.5 kB]
Get:4 http://security.debian.org squeeze/updates/contrib Sources [765 B]
Get:5 http://security.debian.org squeeze/updates/non-free Sources [20 B]
Get:6 http://security.debian.org squeeze/updates/main amd64 Packages [273 kB]
Get:7 http://security.debian.org squeeze/updates/contrib amd64 Packages [620 B]
Get:8 http://security.debian.org squeeze/updates/non-free amd64 Packages [20 B]
Hit http://mirror.anl.gov squeeze Release.gpg
Ign http://mirror.anl.gov/debian/ squeeze/contrib Translation-en
Ign http://mirror.anl.gov/debian/ squeeze/contrib Translation-en_IN
Ign http://mirror.anl.gov/debian/ squeeze/main Translation-en
Ign http://mirror.anl.gov/debian/ squeeze/main Translation-en_IN
Ign http://mirror.anl.gov/debian/ squeeze/non-free Translation-en
Ign http://mirror.anl.gov/debian/ squeeze/non-free Translation-en_IN
Hit http://mirror.anl.gov squeeze Release
Hit http://mirror.anl.gov squeeze/main Sources
Hit http://mirror.anl.gov squeeze/non-free Sources
Hit http://mirror.anl.gov squeeze/contrib Sources
Hit http://mirror.anl.gov squeeze/main amd64 Packages
Hit http://mirror.anl.gov squeeze/non-free amd64 Packages
Hit http://mirror.anl.gov squeeze/contrib amd64 Packages
Fetched 451 kB in 12s (36.5 kB/s)
Reading package lists… Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

How do I fix this problem under Debian or Ubuntu Linux operating systems?
[click to continue…]