Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46960

Corrupted Package file in Ubuntu Bionic 4.0 repository

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Packaging
    • None
    • ALL
    • Hide

      Follow the Ubuntu Bionic installation instructions for MongoDB 4.0:

      wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
      echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
      sudo apt-get update
      

      Show
      Follow the Ubuntu Bionic installation instructions for MongoDB 4.0: wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list sudo apt-get update

    Description

      Hello,

       

      It looks like the [Package file|http://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/4.0/multiverse/binary-amd64/Packages] for the 4.0 Ubuntu Bionic repository in repo.mongodb.org ended up with an extraneous line at the end:

      dpkg-scanpackages: info: Wrote 85 entries to output Packages file.
      

      This is causing apt-get to consider the Packages file to be corrupted:

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

      The problem is not present in the 4.1 or 4.2 repositories. We've got some automated tests running daily that pull the packages file so it's most likely this only got broken today, possibly by the script updating repository listings...

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            sszumylowicz@dalet.com Simon Szumyłowicz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: