How to recover from: E: Encountered a section with no package: header, E: Problem with Mergelist /var/lib/apt/lists/ archive.ubuntu.com_ubunti_dists_karmic_universe_binary-i386_pavkages, E: The package list or status file could not be parsed or opened.
how to recover from: E: Encountered a section with no package: header, E: Problem with Mergelist /var/lib/apt/lists/ archive.
Problem reporting, Apport / Crash / Error reporting, all not functioning normally.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi,
First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...
Then please try this procedure:
Step 1: Open Terminal from "Applications-
Terminal"
Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm /var/lib/
sudo mkdir /var/lib/
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade
Step 3: Please post results (copy/paste terminal output from each command) on this thread
Hope it helps,
Regards,
Mark
Revision history for this message
|
#2 |
Hello Mark, your a genius...not sure if ok...have not restarted ubuntu...will advise...here is the output.
g0phd@g0phd-
[sudo] password for g0phd:
sudo cp /var/lib/
sudo cp /var/lib/
g0phd@g0phd-
g0phd@g0phd-
g0phd@g0phd-
g0phd@g0phd-
g0phd@g0phd-
rm: cannot remove `/var/lib/
g0phd@g0phd-
mkdir: cannot create directory `/var/lib/
g0phd@g0phd-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initialising package states... Done
Writing extended state information... Done
g0phd@g0phd-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Freed 0B of disk space
g0phd@g0phd-
Get: 1 http://
Ign http://
Get: 2 http://
Get: 3 http://
Get: 4 http://
Ign http://
Ign http://
Get: 5 http://
Get: 6 http://
Get: 7 http://
Get: 8 http://
Get: 9 http://
Get: 10 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get: 11 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get: 12 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get: 13 http://
Get: 14 http://
Get: 15 http://
Get: 16 http://
Get: 17 http://
Get: 18 http://
Get: 19 http://
Get: 20 http://
Get: 21 http://
Get: 22 http://
Get: 23 http://
Get: 24 http://
Get: 25 http://
Get: 26 http://
Get: 27 http://
Get: 28 http://
Get: 29 http://
Get: 30 http://
Get: 31 http://
Get: 32 http://
Get: 33 http://
Get: 34 http://
Get: 35 http://
Get: 36 http://
Get: 37 http://
Get: 38 http://
Get: 39 http://
Get: 40 http://
Get: 41 http://
Get: 42 http://
Get: 43 http://
Get: 44 http://
Fetched 10.5MB in 29s (354kB/s)
Reading package lists... Done
g0phd@g0phd-
g0phd@g0phd-
g0phd@g0phd-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
g0phd@g0phd-
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
g0phd@g0phd-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
The following packages will be upgraded:
apparmor apparmor-utils devicekit-disks fglrx-amdcccle
fglrx-
libapparmor-perl libapparmor1 libept0 libgdu-gtk0 libgdu0
xorg-driver-fglrx xserver-
15 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.8MB of archives. After unpacking 2798kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Fetched 29.8MB in 35s (831kB/s)
(Reading database ... 134199 files and directories currently installed.)
Preparing to replace libept0 0.5.26build1 (using .../libept0_
Unpacking replacement libept0 ...
Preparing to replace apparmor 2.3.1+1403-
Unpacking replacement apparmor ...
Preparing to replace libapparmor1 2.3.1+1403-
Unpacking replacement libapparmor1 ...
Preparing to replace libapparmor-perl 2.3.1+1403-
Unpacking replacement libapparmor-perl ...
Preparing to replace apparmor-utils 2.3.1+1403-
Unpacking replacement apparmor-utils ...
Preparing to replace libgdu-gtk0 0.5-0ubuntu3 (using .../libgdu-
Unpacking replacement libgdu-gtk0 ...
Preparing to replace libgdu0 0.5-0ubuntu3 (using .../libgdu0_
Unpacking replacement libgdu0 ...
Preparing to replace devicekit-disks 006-0ubuntu4 (using .../devicekit-
Unpacking replacement devicekit-disks ...
Preparing to replace fglrx-kernel-source 2:8.660-0ubuntu1 (using .../fglrx-
Removing all DKMS Modules
Done.
Unpacking replacement fglrx-kernel-source ...
Preparing to replace xorg-driver-fglrx 2:8.660-0ubuntu1 (using .../xorg-
Unpacking replacement xorg-driver-fglrx ...
Preparing to replace fglrx-amdcccle 2:8.660-0ubuntu1 (using .../fglrx-
Unpacking replacement fglrx-amdcccle ...
Preparing to replace gdb 6.8.50.
Unpacking replacement gdb ...
Preparing to replace gnome-disk-utility 0.5-0ubuntu3 (using .../gnome-
Unpacking replacement gnome-disk-utility ...
Preparing to replace xserver-
Unpacking replacement xserver-
Preparing to replace fglrx-modaliases 2:8.660-0ubuntu1 (using .../fglrx-
Unpacking replacement fglrx-modaliases ...
Processing triggers for sreadahead ...
sreadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Setting up libept0 (0.5.26ubuntu1) ...
Setting up apparmor (2.3.1+
update-rc.d: warning: apparmor start runlevel arguments (S) do not match LSB Default-Start values (3 4 5)
update-rc.d: warning: apparmor stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 2 6)
* Starting AppArmor profiles Skipped: /etc/apparmor.
* Reloading AppArmor profiles Skipped: /etc/apparmor.
Setting up libapparmor1 (2.3.1+
Setting up libapparmor-perl (2.3.1+
Setting up apparmor-utils (2.3.1+
Setting up libgdu-gtk0 (2.28.0-0ubuntu1) ...
Setting up libgdu0 (2.28.0-0ubuntu1) ...
Setting up devicekit-disks (007-0ubuntu1) ...
Installing new version of config file /etc/dbus-
Setting up fglrx-kernel-source (2:8.660-0ubuntu2) ...
Loading new fglrx-8.660 DKMS files...
Building initial module for 2.6.31-10-generic, architecture -a i686
Done.
fglrx.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod.....
DKMS: install Completed.
Setting up xorg-driver-fglrx (2:8.660-0ubuntu2) ...
Setting up fglrx-amdcccle (2:8.660-0ubuntu2) ...
Setting up gdb (6.8.90.
Setting up gnome-disk-utility (2.28.0-0ubuntu1) ...
Installing new version of config file /etc/xdg/
Setting up xserver-
Setting up fglrx-modaliases (2:8.660-0ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
Current status: 0 updates [-15].
g0phd@g0phd-
Revision history for this message
|
#3 |
Thanks Mark Rijckenberg, that solved my question.
Revision history for this message
|
#4 |
Good job. Looks fine to me. :-)
Revision history for this message
|
#5 |
Thank you Mark...everything look good on restart...the usual minor bugs only....look forward to the final release of Karmic "the best yet" fully solved...Chris.