package manager/ synaptic failure
'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/
it tells me to report this to someone, hope you can help, Mike
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu synaptic Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Related bugs
Related FAQ:
None Link to a FAQ
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 -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
LANG=C;sudo aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;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 |
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
mike@Burt2:~$
LANG=C;sudo aptitude autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Freed 0B of disk space
mike@Burt2:~$
LANG=C;sudo apt-get update
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://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Fetched 9622kB in 1min 8s (140kB/s)
Reading package lists... Done
mike@Burt2:~$
sudo dpkg --configure -a
Setting up libphysfs-1.0-0 (1.0.0-5) ...
Setting up libsdl-net1.2 (1.2.7-2) ...
Setting up libsdl-image1.2 (1.2.6-3) ...
Setting up wormux-data (1:0.8.2-1) ...
Setting up libsdl-gfx1.2-4 (2.0.13-4) ...
Setting up libsmpeg0 (0.4.5+
Setting up libsdl-ttf2.0-0 (2.0.9-1) ...
Setting up libmikmod2 (3.1.11-a-6ubuntu3) ...
Setting up netpanzer-data (0.8.2-2) ...
Setting up libsdl-mixer1.2 (1.2.8-5) ...
Setting up netpanzer (0.8.2-2) ...
Setting up wormux (1:0.8.2-1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
mike@Burt2:~$
LANG=C;sudo aptitude install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 7 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
Initializing package states... Done
mike@Burt2:~$
LANG=C;sudo aptitude update
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
mike@Burt2:~$
LANG=C;sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be upgraded:
firefox firefox-3.0 firefox-
firefox-
7 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8917kB of archives. After unpacking 8192B 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://
Fetched 8917kB in 1min 2s (142kB/s)
(Reading database ... 164209 files and directories currently installed.)
Preparing to replace firefox-
Unpacking replacement firefox-
Preparing to replace xulrunner-
Unpacking replacement xulrunner-
Preparing to replace xulrunner-1.9 1.9.0.14+
Removing obsolete conffile /etc/gre.
Unpacking replacement xulrunner-1.9 ...
Preparing to replace firefox-
Unpacking replacement firefox-
Preparing to replace firefox-3.0 3.0.14+
Unpacking replacement firefox-3.0 ...
Preparing to replace firefox 3.0.14+
Unpacking replacement firefox ...
Preparing to replace firefox-
Unpacking replacement firefox-
Setting up xulrunner-1.9 (1.9.0.
Setting up xulrunner-
Setting up firefox-
Setting up firefox-3.0 (3.0.15+
Please restart all running instances of firefox-3.0, or you will experience problems.
Setting up firefox-
Setting up firefox (3.0.15+
Setting up firefox-
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Current status: 0 updates [-7].
mike@Burt2:~$
The no entry sign disappeared part way through and update manager appeared shortly after. Tried synaptic and got a list without an error. Thanks for your help, i think its solved but i guess the problem was with one of the packages i installed rather than myself, Mike
Revision history for this message
|
#3 |
Thanks Mark Rijckenberg, that solved my question.