Mergelist error on apt-get

110 views
Skip to first unread message

Mike Pacifico

unread,
May 23, 2014, 11:29:17 AM5/23/14
to mongod...@googlegroups.com
Hi all,

We installed Ubiquiti UniFi 2.4.6 which installs Mongodb 10gen on Debian Squeeze 6.0.9.  This was a clean install, with no other packages installed from the base install (other than SSH).  I was able to successfully install both UniFi and Mongodb, but received the following when running an apt-get update:

Pertinent error:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/downloads-distro.mongdb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

I've ran a sudo rm /var/lib/apt/lists/* -vf followed by an apt-get clean && apt-get update with the same error appearing. (I did back up the lists directory.  Any ideas?

As an aside, I should mention, that I tried to remove the unifi and it probably goes without saying it won't uninstall.

Here's a head of downloads-distro.mongdb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-i386_Packages

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-adblockkey="MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALquDFETXRn0Hr05fUP7EJT77xYnPmRbpMy4vk8KYiHnkNpednjOANJcaXDXcKQJN0nXKZJL7TciJD8AoHXK158CAwEAAQ==_h1YDsBDyzoBW0zQWnO64sYPcYUsXK1gUP4yx2K30GRWRA/XKWL9gArQhJX+JtVtXFW3YrwMob2YwIZNdZU8reg==" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>mongdb.org</title>
<script src="http://www.google.com/adsense/domains/caf.js" type="text/javascript" ></script>
<link href="http://d1vbm0eveofcle.cloudfront.net/themes/assets/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="http://d1vbm0eveofcle.cloudfront.net/themes/cleanPeppermintBlack/style5.css" rel="stylesheet" type="text/css" media="screen" />
<link href='http://fonts.googleapis.com/css?family=Libre+Baskerville:400,700' rel='stylesheet' type='text/css'>
</head>
root@COA-CH-UNIFI1:/var/l

Full apt-get update:

Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Hit http://ftp.us.debian.org squeeze Release.gpg
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
Get:2 http://ftp.us.debian.org squeeze-updates Release.gpg [836 B]
Get:3 http://security.debian.org squeeze/updates Release [86.9 kB]
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-updates/main Translation-en_US
Hit http://ftp.us.debian.org squeeze Release
Get:4 http://ftp.us.debian.org squeeze-updates Release [113 kB]
Hit http://www.ubnt.com squeeze Release.gpg
Get:5 http://security.debian.org squeeze/updates/main Sources [172 kB]
Get:6 http://downloads-distro.mongdb.org dist Release.gpg
Ign http://www.ubnt.com/downloads/unifi/distros/deb/squeeze/ squeeze/ubiquiti Translation-en_US
Hit http://ftp.us.debian.org squeeze/main Sources
Hit http://ftp.us.debian.org squeeze/main i386 Packages
Get:9 http://security.debian.org squeeze/updates/main i386 Packages [457 kB]
Get:10 http://ftp.us.debian.org squeeze-updates/main Sources/DiffIndex [3,955 B]
Get:11 http://ftp.us.debian.org squeeze-updates/main i386 Packages/DiffIndex [3,955 B]
Get:12 http://ftp.us.debian.org squeeze-updates/main i386 Packages [5,228 B]
Hit http://www.ubnt.com squeeze Release
Get:14 http://downloads-distro.mongdb.org dist/10gen i386 Packages/DiffIndex
Get:15 http://downloads-distro.mongdb.org dist/10gen i386 Packages
Hit http://www.ubnt.com squeeze/ubiquiti i386 Packages
Fetched 882 kB in 1s (596 kB/s)
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/downloads-distro.mongdb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Stephen Steneker

unread,
Jun 17, 2014, 12:51:37 AM6/17/14
to mongod...@googlegroups.com
On Saturday, 24 May 2014 01:29:17 UTC+10, Mike Pacifico wrote:
We installed Ubiquiti UniFi 2.4.6 which installs Mongodb 10gen on Debian Squeeze 6.0.9.  This was a clean install, with no other packages installed from the base install (other than SSH).  I was able to successfully install both UniFi and Mongodb, but received the following when running an apt-get update:

Pertinent error:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/downloads-distro.mongdb.org_repo_ubuntu-upstart_dists_dist_10gen_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Hi Mike,

It looks like you had a typo in your apt sources list .. "mongdb.org" should be "mongodb.org". You are accidentally hitting a domain-squatting site (as per your html `head` output).

The correct path to add is "http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen".

To avoid transcription errors I would cut & paste from the install documentation:

Regards,
Stephen
Reply all
Reply to author
Forward
0 new messages