Broken package header for MongoDB 4.0 on Ubuntu 16.04 Xenial


The install packages for ubuntu are broken (at least for Xenial), we cannot deploy it on our servers.

The issue in the tracker was closed, but still wasn’t fixed:


echo “deb [ arch=amd64,arm64 ] xenial/mongodb-org/4.0 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
sudo apt-get update


E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/repo.mongodb.org_apt_ubuntu_dists_xenial_mongodb-org_4.0_multiverse_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
1 Like

I’m getting the same thing on a debian repo at

It seems to be the last line: “dpkg-scanpackages: info: Wrote 90 entries to output Packages file.”

1 Like