update-manager,ubuntu software center report no header

Asked by Richard Beam

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Richard Beam
Solved:
Last query:
Last reply:
Revision history for this message
Richard Beam (judge37211) said :
#1

richard@richard-Latitude-D610:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for richard:
richard@richard-Latitude-D610:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
richard@richard-Latitude-D610:~$ uname -a
Linux richard-Latitude-D610 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
richard@richard-Latitude-D610:~$ sudo rm /var/lib/apt/lists/lock
richard@richard-Latitude-D610:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
richard@richard-Latitude-D610:~$
richard@richard-Latitude-D610:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
richard@richard-Latitude-D610:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
richard@richard-Latitude-D610:~$ sudo rm -rf /var/lib/dpkg/updates/*
richard@richard-Latitude-D610:~$ sudo rm -rf /var/lib/apt/lists
richard@richard-Latitude-D610:~$ sudo rm /var/cache/apt/*.bin
richard@richard-Latitude-D610:~$ sudo mkdir /var/lib/apt/lists
richard@richard-Latitude-D610:~$ sudo mkdir /var/lib/apt/lists/partial
richard@richard-Latitude-D610:~$ LANG=C;sudo apt-get clean
richard@richard-Latitude-D610:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
richard@richard-Latitude-D610:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
richard@richard-Latitude-D610:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty InRelease
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty Release.gpg
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty Release
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted TranslationIndex
Err cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted Translation-en
Ign http://extras.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Get:1 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:2 http://archive.ubuntu.com natty Release.gpg [198 B]
Get:3 http://extras.ubuntu.com natty Release [9753 B]
Get:4 http://archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:5 http://archive.ubuntu.com natty-security Release.gpg [198 B]
Get:6 http://archive.ubuntu.com natty Release [39.8 kB]
Get:7 http://extras.ubuntu.com natty/main Sources [14 B]
Get:8 http://extras.ubuntu.com natty/main i386 Packages [14 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:9 http://archive.ubuntu.com natty-updates Release [23.2 kB]
Get:10 http://archive.ubuntu.com natty-security Release [23.2 kB]
Get:11 http://archive.ubuntu.com natty/restricted Sources [4104 B]
Get:12 http://archive.ubuntu.com natty/main Sources [862 kB]
Ign http://extras.ubuntu.com natty/main Translation-en
Get:13 http://archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:14 http://archive.ubuntu.com natty/universe Sources [4380 kB]
Get:15 http://archive.ubuntu.com natty/main i386 Packages [1550 kB]
Get:16 http://archive.ubuntu.com natty/restricted i386 Packages [8986 B]
Get:17 http://archive.ubuntu.com natty/universe i386 Packages [6021 kB]
Get:18 http://archive.ubuntu.com natty/multiverse i386 Packages [183 kB]
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Get:19 http://archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:20 http://archive.ubuntu.com natty-updates/main Sources [1090 B]
Get:21 http://archive.ubuntu.com natty-updates/multiverse Sources [14 B]
Get:22 http://archive.ubuntu.com natty-updates/universe Sources [680 B]
Get:23 http://archive.ubuntu.com natty-updates/restricted i386 Packages [14 B]
Get:24 http://archive.ubuntu.com natty-updates/universe i386 Packages [1402 B]
Get:25 http://archive.ubuntu.com natty-updates/multiverse i386 Packages [14 B]
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Get:26 http://archive.ubuntu.com natty-security/restricted Sources [14 B]
Get:27 http://archive.ubuntu.com natty-security/main Sources [2088 B]
Get:28 http://archive.ubuntu.com natty-security/multiverse Sources [14 B]
Get:29 http://archive.ubuntu.com natty-security/universe Sources [14 B]
Get:30 http://archive.ubuntu.com natty-security/main i386 Packages [9019 B]
Get:31 http://archive.ubuntu.com natty-security/restricted i386 Packages [14 B]
Get:32 http://archive.ubuntu.com natty-security/universe i386 Packages [4561 B]
Get:33 http://archive.ubuntu.com natty-security/multiverse i386 Packages [14 B]
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Get:34 http://archive.ubuntu.com natty-updates/main i386 Packages [4034 B]
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Fetched 13.3 MB in 13min 47s (16.1 kB/s)
W: Failed to fetch cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)/dists/natty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)/dists/natty/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
richard@richard-Latitude-D610:~$ sudo dpkg --clear-avail
richard@richard-Latitude-D610:~$ sudo dpkg --configure -a
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for software-center ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-central ...
Processing triggers for python-support ...
richard@richard-Latitude-D610:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
richard@richard-Latitude-D610:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
richard@richard-Latitude-D610:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty InRelease
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty Release.gpg
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty Release
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main TranslationIndex
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted TranslationIndex
Err cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/main Translation-en
Ign cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1) natty/restricted Translation-en
Ign http://extras.ubuntu.com natty InRelease
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release
Ign http://archive.ubuntu.com natty InRelease
Hit http://extras.ubuntu.com natty/main Sources
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://archive.ubuntu.com natty-security InRelease
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://archive.ubuntu.com natty-updates Release.gpg
Get:1 http://archive.ubuntu.com natty-security Release.gpg [198 B]
Hit http://archive.ubuntu.com natty Release
Ign http://extras.ubuntu.com natty/main Translation-en
Hit http://archive.ubuntu.com natty-updates Release
Get:2 http://archive.ubuntu.com natty-security Release [23.2 kB]
Hit http://archive.ubuntu.com natty/restricted Sources
Hit http://archive.ubuntu.com natty/main Sources
Hit http://archive.ubuntu.com natty/multiverse Sources
Hit http://archive.ubuntu.com natty/universe Sources
Hit http://archive.ubuntu.com natty/main i386 Packages
Hit http://archive.ubuntu.com natty/restricted i386 Packages
Hit http://archive.ubuntu.com natty/universe i386 Packages
Hit http://archive.ubuntu.com natty/multiverse i386 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Hit http://archive.ubuntu.com natty-updates/restricted Sources
Hit http://archive.ubuntu.com natty-updates/main Sources
Hit http://archive.ubuntu.com natty-updates/multiverse Sources
Hit http://archive.ubuntu.com natty-updates/universe Sources
Hit http://archive.ubuntu.com natty-updates/main i386 Packages
Hit http://archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Get:3 http://archive.ubuntu.com natty-security/restricted Sources [14 B]
Get:4 http://archive.ubuntu.com natty-security/main Sources [2808 B]
Get:5 http://archive.ubuntu.com natty-security/multiverse Sources [14 B]
Get:6 http://archive.ubuntu.com natty-security/universe Sources [14 B]
Get:7 http://archive.ubuntu.com natty-security/main i386 Packages [11.0 kB]
Get:8 http://archive.ubuntu.com natty-security/restricted i386 Packages [14 B]
Get:9 http://archive.ubuntu.com natty-security/universe i386 Packages [4970 B]
Get:10 http://archive.ubuntu.com natty-security/multiverse i386 Packages [14 B]
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Fetched 42.3 kB in 17s (2456 B/s)
W: Failed to fetch cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)/dists/natty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)/dists/natty/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
richard@richard-Latitude-D610:~$

Revision history for this message
Richard Beam (judge37211) said :
#2

wen to software sources and removed the cd-rom option seems to be working fine now