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

Debian installer for 2.6.8 does not include dependent packages when upgrading

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • 4.1 Desired
    • Packaging
    • None

    Description

      "apt-get install -y mongodb-org" only upgrades the mongodb-org package, not the mongos, server, shell or tools packages, when upgrading to 2.6.8.

      I believe this is because the control file does not specify a version number in the 'Depends' section.

      Package: mongodb-org
      Conflicts: mongo-10gen, mongo-10gen-enterprise, mongo-10gen-enterprise-server, mongo-10gen-server, mongo-10gen-unstable, mongo-10gen-unstable-enterprise, mongo-10gen-unstable-enterprise-mongos, mongo-10gen-unstable-enterprise-server, mongo-10gen-unstable-enterprise-shell, mongo-10gen-unstable-enterprise-tools, mongo-10gen-unstable-mongos, mongo-10gen-unstable-server, mongo-10gen-unstable-shell, mongo-10gen-unstable-tools, mongo18-10gen, mongo18-10gen-server, mongo20-10gen, mongo20-10gen-server, mongodb, mongodb-server, mongodb-dev, mongodb-clients, mongodb-10gen, mongodb-10gen-enterprise, mongodb-10gen-unstable, mongodb-10gen-unstable-enterprise, mongodb-10gen-unstable-enterprise-mongos, mongodb-10gen-unstable-enterprise-server, mongodb-10gen-unstable-enterprise-shell, mongodb-10gen-unstable-enterprise-tools, mongodb-10gen-unstable-mongos, mongodb-10gen-unstable-server, mongodb-10gen-unstable-shell, mongodb-10gen-unstable-tools, mongodb-enterprise-unstable, mongodb-enterprise-unstable-mongos, mongodb-enterprise-unstable-server, mongodb-enterprise-unstable-shell, mongodb-enterprise-unstable-tools, mongodb-org-unstable, mongodb-org-unstable-mongos, mongodb-org-unstable-shell, mongodb-org-unstable-tools, mongodb-org-unstable-server, mongodb-nightly, mongodb-nightly, mongodb-enterprise, mongodb-enterprise-mongos, mongodb-enterprise-server, mongodb-enterprise-shell, mongodb-enterprise-tools, mongodb-stable, mongodb18-10gen, mongodb20-10gen
      Architecture: any
      Depends: mongodb-org-shell, mongodb-org-server, mongodb-org-mongos, mongodb-org-tools
      

      https://github.com/mongodb/mongo/blob/master/debian/mongodb-org.control
      https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html#s-controlfile

      The line should be “Depends: mongodb-org-shell (>= 2.6.8)" etc..

      regards,
      Annette

      Attachments

        Issue Links

          Activity

            People

              alexander.neben@mongodb.com Xander Neben
              annette.morrissey@mongodb.com Annette Morrissey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: