View Full Version : [SOLVED] E:Encountered a section with no Package: header, E:Problem with MergeList
jabrown65
July 18th, 2008, 08:06 PM
I am using mythbuntu 8.04 with all updates install (... until this probolem occured this morning...)
However, when I tried to to update using the Update-Manager I got the following error message:
Could not initialize the package information
A 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/archive.ubuntu.com_ubuntu_dists_hardy-updates_multiverse_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'
I tried replacing ../status with ../status-old but the problem remained.
Then I tried apt-get check just to see what would happen, and I basically got the same error:
jbcp@mythbuntu:~$ sudo apt-get check
[sudo] password for jbcp:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy-updates_multiverse_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
jbcp@mythbuntu:~$
What next?
jaakan
July 18th, 2008, 09:56 PM
try
# sudo dpkg --configure -a
# sudo aptitude update
# sudo aptitude upgrade
you can use apt-get too but I think aptitude is better.
look here too if that doesn't work
http://www.linux.com/articles/48910
jabrown65
July 19th, 2008, 02:14 AM
The dpkg command didn't help. I still get the same error msg when I execute the aptitude (or apt-get) update command.
Other ideas?
jabrown65
July 19th, 2008, 02:39 AM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
whoey
July 17th, 2009, 03:50 AM
that worked a treat for me too!
p_breakfast
August 11th, 2009, 03:44 AM
Thanks! also worked under GUbuntu 9.04
olly_roberts
August 27th, 2009, 01:40 PM
+1 success here.
cheers.
i do like this ubuntu malarchy, this is the 3rd "issue" ive had, but unlike windows, they are all so easy to sort!
charlesedwardkelley
September 7th, 2009, 10:33 AM
Thanks
sudo rm /var/lib/apt/lists/* -vf
Did the trick for me
amksep
September 23rd, 2009, 03:47 AM
solved here too.
Ubuntu 9.04
but i wish to know the cause of it.
mihai007
September 29th, 2009, 05:17 PM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
Worked for me too, I think synaptic should be patched to take care of this without any extra intervention for the user particular issue, as the fix is really straight forward.
Slide guitar
October 3rd, 2009, 04:15 PM
Thanks for that.
sudo rm...... followed by sudo apt-get.....
worked the oracle for me.
astathios
October 23rd, 2009, 12:24 PM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
great worked perfect thank you
guriinii
October 27th, 2009, 01:19 PM
Thanks worked a treat.
richard.scott-ettrick
October 29th, 2009, 10:26 AM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
Brilliant! Worked for me too!!
;)
jarrarist
November 5th, 2009, 10:01 AM
worked like a charm!!
thanks
redcore
November 9th, 2009, 07:19 PM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
Worked for me too (Linux Mint 8) - Thanks! :)
Oleglit
December 3rd, 2009, 10:00 AM
oleg@ubuntu:~$ sudo apt-get update
Получено:1 http://ru.archive.ubuntu.com karmic Release.gpg [189B]
Получено:2 http://ru.archive.ubuntu.com karmic/main Translation-ru [329kB]
Получено:3 http://security.ubuntu.com karmic-security Release.gpg [189B]
Получено:4 http://deb.opera.com stable Release.gpg [189B]
Игн http://security.ubuntu.com karmic-security/main Translation-ru
Игн http://deb.opera.com stable/non-free Translation-ru
Игн http://security.ubuntu.com karmic-security/restricted Translation-ru
Получено:5 http://deb.opera.com stable Release [1.067B]
Игн http://security.ubuntu.com karmic-security/universe Translation-ru
Игн http://security.ubuntu.com karmic-security/multiverse Translation-ru
Получено:6 http://security.ubuntu.com karmic-security Release [37,1kB]
Игн http://deb.opera.com stable/non-free Packages
Игн http://deb.opera.com stable/non-free Packages
Получено:7 http://deb.opera.com stable/non-free Packages [861B]
Получено:8 http://security.ubuntu.com karmic-security/main Packages [22,8kB]
Получено:9 http://security.ubuntu.com karmic-security/restricted Packages [14B]
Получено:10 http://security.ubuntu.com karmic-security/main Sources [6.297B]
Получено:11 http://security.ubuntu.com karmic-security/restricted Sources [14B]
Получено:12 http://security.ubuntu.com karmic-security/universe Packages [7.526B]
Получено:13 http://security.ubuntu.com karmic-security/universe Sources [793B]
Получено:14 http://security.ubuntu.com karmic-security/multiverse Packages [14B]
Получено:15 http://security.ubuntu.com karmic-security/multiverse Sources [14B]
Получено:16 http://ru.archive.ubuntu.com karmic/restricted Translation-ru [4.099B]
Получено:17 http://ru.archive.ubuntu.com karmic/universe Translation-ru [383kB]
Получено:18 http://ru.archive.ubuntu.com karmic/multiverse Translation-ru [20,9kB]
Получено:19 http://ru.archive.ubuntu.com karmic-updates Release.gpg [189B]
Игн http://ru.archive.ubuntu.com karmic-updates/main Translation-ru
Игн http://ru.archive.ubuntu.com karmic-updates/restricted Translation-ru
Игн http://ru.archive.ubuntu.com karmic-updates/universe Translation-ru
Игн http://ru.archive.ubuntu.com karmic-updates/multiverse Translation-ru
Получено:20 http://ru.archive.ubuntu.com karmic Release [65,9kB]
Получено:21 http://ru.archive.ubuntu.com karmic-updates Release [44,1kB]
Получено:22 http://ru.archive.ubuntu.com karmic/main Packages [1.353kB]
Получено:23 http://ru.archive.ubuntu.com karmic/restricted Packages [7.971B]
Получено:24 http://ru.archive.ubuntu.com karmic/main Sources [640kB]
Получено:25 http://ru.archive.ubuntu.com karmic/restricted Sources [3.270B]
Получено:26 http://ru.archive.ubuntu.com karmic/universe Packages [5.133kB]
Получено:27 http://ru.archive.ubuntu.com karmic/universe Sources [2.795kB]
Получено:28 http://ru.archive.ubuntu.com karmic/multiverse Packages [190kB]
Получено:29 http://ru.archive.ubuntu.com karmic/multiverse Sources [116kB]
Получено:30 http://ru.archive.ubuntu.com karmic-updates/main Packages [103kB]
Получено:31 http://ru.archive.ubuntu.com karmic-updates/restricted Packages [14B]
Получено:32 http://ru.archive.ubuntu.com karmic-updates/main Sources [30,8kB]
Получено:33 http://ru.archive.ubuntu.com karmic-updates/restricted Sources [14B]
Получено:34 http://ru.archive.ubuntu.com karmic-updates/universe Packages [60,8kB]
Получено:35 http://ru.archive.ubuntu.com karmic-updates/universe Sources [13,3kB]
Получено:36 http://ru.archive.ubuntu.com karmic-updates/multiverse Packages [1.616B]
Получено:37 http://ru.archive.ubuntu.com karmic-updates/multiverse Sources [1.223B]
Получено 11,4MБ за 1мин 31с (124kБ/c)
Чтение списков пакетов... Ошибка!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: Списки пакетов или status-файл не могут быть открыты или прочитаны.
ni_shi2005
January 25th, 2010, 12:50 PM
me toooo!! mee toooo
i mean this thing " sudo rm /var/lib/apt/lists/* -vf " saved me too :)
Dalston
January 26th, 2010, 04:39 PM
Thanks this worked for me too.
markofealing
February 7th, 2010, 03:41 PM
sudo rm /var/lib/apt/lists/* -vf
Thanks also worked for me on Kubuntu 8.10 and stopped my CPU hitting 100% utilisation with nothing running after failing to do an update.
captivus
July 5th, 2010, 07:10 PM
Deleting the list cache didn't seem to work for me. I actually had to restore my /var/lib/dpkg/status-old file, as it seemed mine was corrupt. This fixed the problem, though:
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-RENAMED
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo apt-get update && sudo apt-get upgradeCheers,
captivus
slotto
July 20th, 2010, 10:56 PM
Actually, just fixed the problem using:
<snip>
Thanks Bro!
SabreWolfy
November 13th, 2010, 04:26 AM
Thanks. Removing the files worked for me too after a Lucid to Maverick upgrade.
wi0
December 25th, 2010, 03:58 PM
Me too (Ubuntu 10.10)! Thanks.
concept08
January 9th, 2011, 06:10 AM
Reading package lists... Error!
E: Problem parsing dependency Depends
E: Error occurred while processing libgutenprintui2-1 (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_lucid_main_bina ry-i386_Packages
E: The package lists or status file could not be parsed or opened.
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-RENAMED
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo rm -f /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/* -vf
added to apt.conf.d
APT::Cache-Limit="2516582";
sudo apt-get update && sudo apt-get upgrade
i have tried all of this and it does not seem to work for this problem
Ubuntu 10.04 LTS
- the Lucid Lynx
updated firefox last night and today i cant install or update anything else.
thanks for the help
dimas11
January 19th, 2011, 12:32 PM
I am using Ubuntu 10.10 and rm command did the trick for me as well. Thanks.
dimas11
January 19th, 2011, 12:43 PM
I am using Ubuntu 10.10 and rm command did the trick for me as well. Thanks.
dimas11
January 19th, 2011, 12:43 PM
I am using Ubuntu 10.10 and rm command did the trick for me as well. Thanks.
Gerroo
January 23rd, 2011, 09:17 PM
A BIG THANK YOU to you from Bahrain, worked here as well, long time after the firs post. Feals good to be back after many years of winscrap.
C64HCS
January 24th, 2011, 02:09 AM
Yop, thank you so much captivus! Worked 100% for me.
;)
Cheers,
C64HCS
cooldamage
February 26th, 2011, 03:12 PM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
Works great for me in Maverick Meerkat.
=D> =D> =D> =D> =D>
r94851486
April 2nd, 2011, 12:14 PM
Hi.. It worked for me too... :) :D Thx....:o
doogiekd
April 8th, 2011, 01:24 AM
worked for me as well.
thanks!
Dutch70
April 9th, 2011, 03:54 PM
Still working in 11.04 beta!!! :D
daniel.s3000
April 23rd, 2011, 06:50 AM
It didn't work for me, this is the error I was getting and I got it again after using the rm procedure and updating apt-get:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_b inary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
I'm using 11.04 Beta2
phifgo
April 23rd, 2011, 02:55 PM
It doesn't work 4 me too
Natty Beta 2
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/mirror.rootguide.org_ubuntu_dists_natty_multiverse _binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
haddog
April 23rd, 2011, 03:52 PM
Worked for me today also in 11.04/Natty Beta 2. Thanx!
phifgo
April 24th, 2011, 04:49 AM
I had to remove the rootguide repo from /etc/apt/source.list and it worked! thanks
narendraD
April 30th, 2011, 08:27 AM
Used this method to be able to update my brand new install of 11.04 i386.
Any idea why this issue comes up.
حسان
May 1st, 2011, 03:48 AM
that woked with me on ubuntu 11.04 natty i386
but i've a question how could i get the log that contain my last problems ?
tahnk you very much
Tesla Trooper
May 1st, 2011, 06:43 PM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
worked like all above
in UBUNTU NN 11.04!!
that's turned into an "ancient bug" like these black ones from The Mummy movie!
tushargkwd
May 6th, 2011, 12:16 PM
Originally Posted by jabrown65 http://ubuntuforums.org/images/buttons/viewpost.gif (http://ubuntuforums.org/showthread.php?p=5415838#post5415838)
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
------------------------------
Worked Like a Charm for me.......a big thanks to you !!!
ghauff
May 14th, 2011, 09:16 PM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
thanks this worked ubuntu 11.04
quack
May 16th, 2011, 01:34 PM
Interestingly the same fix solved the same problem for a Nokia N900.
I guess Maemo and Ubuntu aren't that many miles apart, and I love having a phone I can run apt-get on :-)
olof_
May 17th, 2011, 05:11 PM
problem solved for me too. Using Ubuntu 11.04
aduff
May 18th, 2011, 03:41 AM
Worked for me too .....3 years after the original solution
dg4345
May 20th, 2011, 11:42 AM
Perfect! Thank you very much!!!:P
itbcn8
May 21st, 2011, 08:53 AM
worked for me!
Linux Mint Debian Edition.
Love Linux, problems always have a logical solution and the crowd-sourced knowledge of every distribution all help each other. :)
<3 u Ubuntu guys, even though LM is better ;) <3
lastbalance
May 22nd, 2011, 03:16 AM
It works. Thank you.
Ubuntu 11.04
dg4345
May 24th, 2011, 02:09 PM
It works, but every time I reboot my system I have the same problem. Any Ideas?
mnabeel
May 30th, 2011, 11:28 AM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
:)
Worked out for me too.
Three cheers. Thanks.
imurphy
May 31st, 2011, 08:41 PM
worked for me too in ubuntu 11.04
skvivian
June 3rd, 2011, 03:08 AM
Has anyone found a more permanent solution to this? I've already increased the cache size, but it didn't seem to help.
shehzad
June 3rd, 2011, 12:52 PM
Deleting the lists files solves the problem, but still needs permanent solution.
livetobefree
June 3rd, 2011, 09:13 PM
Hello,
I know that version 10.04 is no longer supported. I did not update my system before it became unsupported (probably update in early April or late march?) \
Anyway I went to update and I encountered problems installing packages, heres what I got;
Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
sudo dpkg --configure -a
dpkg: parse error, in file '/var/lib/dpkg/status' near line 7893 package 'python-egenix-mxdatetime':
field name `bdates' must be followed by colon
I cannot at this time update or upgrade from the UPDATE MANAGER at all.
I have read several theards, but none that seemed to be directed at version 10.04
any advice would be great.
tgm4883
June 3rd, 2011, 09:18 PM
Hello,
I know that version 10.04 is no longer supported. I did not update my system before it became unsupported (probably update in early April or late march?) \
Anyway I went to update and I encountered problems installing packages, heres what I got;
Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
sudo dpkg --configure -a
dpkg: parse error, in file '/var/lib/dpkg/status' near line 7893 package 'python-egenix-mxdatetime':
field name `bdates' must be followed by colon
I cannot at this time update or upgrade from the UPDATE MANAGER at all.
I have read several theards, but none that seemed to be directed at version 10.04
any advice would be great.
10.04 is LTS, and supported for 3 years on the desktop and 5 years on the server. You still have another year of support. Are you getting the error message in the title of this thread? If not, you need to open a new thread.
skvivian
June 4th, 2011, 01:51 AM
Hello,
I know that version 10.04 is no longer supported. I did not update my system before it became unsupported (probably update in early April or late march?) \
Anyway I went to update and I encountered problems installing packages, heres what I got;
Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
sudo dpkg --configure -a
dpkg: parse error, in file '/var/lib/dpkg/status' near line 7893 package 'python-egenix-mxdatetime':
field name `bdates' must be followed by colon
I cannot at this time update or upgrade from the UPDATE MANAGER at all.
I have read several theards, but none that seemed to be directed at version 10.04
any advice would be great.
I think your problem is different. This thread is focused on a problem with apt, not dpkg. The dpkg parse error message you posted does seem to hint at what you might try correcting, though.
vanquishedangel
June 5th, 2011, 02:17 AM
Hi, This fixed worked great in Lubuntu 11.04 Thank you for the posting of it.
wamarobert
June 10th, 2011, 02:36 AM
.:: According to my books the update-manager had broken down and needed to be patched...hence the code.
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
R. Bakyayita
Demetris Tziambazis
June 11th, 2011, 07:23 AM
DIdnt worked for me... :( damn!!
got: "E: Unable to locate package update"
anyone?? newbie here! got 11.04
akannankeril
June 11th, 2011, 11:11 AM
worked for me in ubuntu 11.04! thanks!
nits.
June 14th, 2011, 12:29 PM
finally apt-get is working! and so is update manager.
sudo rm /var/lib/apt/lists/* -vf
worked for me too...11.04
thanks!
Imachin
June 18th, 2011, 11:51 AM
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
Bullseye!! It worked on Ubuntu 11.04 USB Live!!!
Thanks a lot
jimfromtexas
June 18th, 2011, 12:19 PM
works on debian too!
Thanks
chopurtito
June 21st, 2011, 10:53 PM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
thank you so much, problem solved!!!!!
Kralnor
June 24th, 2011, 12:18 PM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
Worked for me in Ubuntu 11.04. Thanks!
alesha
June 25th, 2011, 07:59 AM
worked for me too! Ubuntu 11.04
Thank you very much!!
S1gurd
July 15th, 2011, 01:58 PM
I am running 10.04 server, and this was a difficult scenerio. I started with an old HP DX2200 PC, which I have never espeically liked, but it is what I have to work with. Couldn't get a boot CD to work because of a proprietary memory problem involving failure of the RAMDISK, and the work around was to plug the drive into another machine and use Clonezilla to snap the image on, then move the drive back. All worked just fine until it was time to update the box. I got the errors described above. Following the advice in this thread and another one I got it to work this way:
sudo rm /var/cache/apt/*.bin
sudo rm /var/lib/apt/lists/* -vf
Had to run both prior to update and upgrade. Working well now. Thanks for all of your help.
fabiolus
July 19th, 2011, 03:18 AM
Hey thanks for the help - solved the same issue on 10.10 Maverick Meerkat
Shad3y
July 21st, 2011, 10:41 PM
Thank you it worked for me too, i been trying to fix this problem for ages.....thanks :)
littelbro14
August 10th, 2011, 03:59 PM
Worked perfectly for me on 11.04! Thank you!
pulencio
September 1st, 2011, 09:45 PM
it worked for me... thanks!
blackplague1347
September 8th, 2011, 07:13 PM
Never had this problem before, but
sudo rm /var/lib/apt/lists/* -vftook care of it.
Thanks!
(11.04)
T_u
September 24th, 2011, 07:59 AM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
Worked wonders (Ubuntu 11.04)!
Thanx!
$war00p
October 15th, 2011, 03:00 AM
Worked like a charm in ubuntu 11.04 too! thanks. But why did this happen?
lwfitz
November 4th, 2011, 12:10 AM
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
Perfect! Thank you!
epayen
December 23rd, 2011, 03:36 PM
Thank you all!! These solved my problem too:
Actually, just fixed the problem using:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
All good now.
You are unique! Merry Christmas.
gsumners
December 25th, 2011, 10:26 PM
Solution still works on Linux Mint 12, which is based on Ubuntu 11.10 - thanks much!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.