On Sat, Nov 24, 2012 at 04:46:27PM +0000, Jose Luis Alarcon Sanchez wrote: > Hi All. > > I am having a problem with aptitude or apt-get in my Debian GNU/Hurd system: > > # aptitude update > E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/ftp.debian-ports.org_debian_dists_unreleased_main_binary-hurd-i386_Packages > E: The package lists or status file could not be parsed or opened. > E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/ftp.debian-ports.org_debian_dists_unreleased_main_binary-hurd-i386_Packages > E: The package lists or status file could not be parsed or opened. > Get:1 http://ftp.us.debian.org unstable Release.gpg [836B] > Get:2 http://ftp.us.debian.org/debian/ unstable/main Translation-en [4091kB] > Get:3 http://ftp.debian-ports.org unreleased Release.gpg [836B] > > > Ign http://ftp.debian-ports.org/debian/ unreleased/main Translation-en > > > Get:4 http://ftp.debian-ports.org unreleased Release [20.9kB] > > > Err http://ftp.debian-ports.org unreleased Release > > > > Get:5 http://ftp.us.debian.org unstable Release [227kB] > > > Get:6 http://ftp.us.debian.org unstable/main hurd-i386 Packages [5334kB] > > > Fetched 9674kB in 4min 23s (36.7kB/s) > > > [ ERR] Reading package lists > E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/ftp.debian-ports.org_debian_dists_unreleased_main_binary-hurd-i386_Packages > E: The package lists or status file could not be parsed or opened. > E: Couldn't rebuild package cache > E: Could not get lock /var/lib/dpkg/lock - open (1073741859: Resource > temporarily unavailable) > E: Unable to lock the administration directory (/var/lib/dpkg/), is another > process using it? > > E: Encountered a section with no Package: header > E: Problem with MergeList > /var/lib/apt/lists/ftp.debian-ports.org_debian_dists_unreleased_main_binary-hurd-i386_Packages > E: The package lists or status file could not be parsed or opened. > # > > # cat /etc/apt/sources.list > deb http://ftp.us.debian.org/debian unstable main > deb http://ftp.debian-ports.org/debian unreleased main > # > > Any fix for this, please?. > > Thanks very much, in advance. >
Thanks very much for the replies. I did: # rm -v /var/lib/dpkg/* # apt-get update and the problem seems solved. All the files on the directory was rewritten. Thank you. Regards. Jose. -- http://lordofunix.eu5.org/ Not Registered GNU/Hurd User. Registered BSD User 51101. Registered Linux User #213309. Memories..... You are talking about memories. Rick Deckard. Blade Runner.