PDA

View Full Version : [ubuntu] Some problem with the upgrades



jobinjohn
September 2nd, 2011, 05:59 AM
Hi ,

I seem to be having some trouble with upgrading

sudo apt-get update
[sudo] password for jobin:
Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://in.archive.ubuntu.com natty InRelease
Ign http://in.archive.ubuntu.com natty-updates InRelease
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://in.archive.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://extras.ubuntu.com natty Release
Hit http://in.archive.ubuntu.com natty-updates Release.gpg
Hit http://in.archive.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://extras.ubuntu.com natty/main Sources
Hit http://in.archive.ubuntu.com natty-updates Release
Hit http://extras.ubuntu.com natty/main amd64 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://in.archive.ubuntu.com natty/main Sources
Hit http://in.archive.ubuntu.com natty/restricted Sources
Hit http://in.archive.ubuntu.com natty/universe Sources
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://in.archive.ubuntu.com natty/multiverse Sources
Hit http://in.archive.ubuntu.com natty/main amd64 Packages
Hit http://in.archive.ubuntu.com natty/restricted amd64 Packages
Hit http://in.archive.ubuntu.com natty/universe amd64 Packages
Hit http://in.archive.ubuntu.com natty/multiverse amd64 Packages
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://security.ubuntu.com natty-security/main amd64 Packages
Hit http://security.ubuntu.com natty-security/restricted amd64 Packages
Ign http://in.archive.ubuntu.com natty/main TranslationIndex
Hit http://security.ubuntu.com natty-security/universe amd64 Packages
Hit http://security.ubuntu.com natty-security/multiverse amd64 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://in.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://in.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://in.archive.ubuntu.com natty/universe TranslationIndex
Hit http://in.archive.ubuntu.com natty-updates/main Sources
Hit http://in.archive.ubuntu.com natty-updates/restricted Sources
Hit http://in.archive.ubuntu.com natty-updates/universe Sources
Hit http://in.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://in.archive.ubuntu.com natty-updates/main amd64 Packages
Hit http://in.archive.ubuntu.com natty-updates/restricted amd64 Packages
Hit http://in.archive.ubuntu.com natty-updates/universe amd64 Packages
Ign http://extras.ubuntu.com natty/main Translation-en_IN
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com natty-updates/multiverse amd64 Packages
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://in.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://in.archive.ubuntu.com natty/main Translation-en_IN
Ign http://in.archive.ubuntu.com natty/main Translation-en
Ign http://in.archive.ubuntu.com natty/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com natty/multiverse Translation-en
Ign http://in.archive.ubuntu.com natty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com natty/restricted Translation-en
Ign http://in.archive.ubuntu.com natty/universe Translation-en_IN
Ign http://in.archive.ubuntu.com natty/universe Translation-en
Ign http://in.archive.ubuntu.com natty-updates/main Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/main Translation-en
Ign http://in.archive.ubuntu.com natty-updates/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://in.archive.ubuntu.com natty-updates/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://in.archive.ubuntu.com natty-updates/universe Translation-en_IN
Ign http://security.ubuntu.com natty-security/main Translation-en_IN
Ign http://in.archive.ubuntu.com natty-updates/universe Translation-en
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_IN
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_IN
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_IN
Ign http://security.ubuntu.com natty-security/universe Translation-en
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_natty_main_i18n _Translation-en
E: The package lists or status file could not be parsed or opened.

Thanks in advance

Rubi1200
September 2nd, 2011, 06:13 PM
Hi and welcome to the forums :)

Open a terminal with Ctrl+Alt+T and copy/paste the following commands and Enter after each one:


sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

The first command removes any corrupted package lists, the second one updates them.