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

MongoDB 3.2.7 can not be installed on debian wheezy

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.7
    • Component/s: Build, Packaging
    • None
    • ALL
    • Hide

      I've setup the MongoDB repository on a Debian 7.6 (wheezy) VirtualBox VM instance.

      root@packer-debian-7:~# cat /etc/apt/sources.list.d/mongodb.list
      deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main
      

      (imported asc key.. apt-get update)

      But it seems It is not possible to install because of a libc6 dependency error:

      root@packer-debian-7:~# DEBIAN_FRONTEND=noninteractive LC_ALL=C apt-get -o Dpkg::Options::='--force-confnew' -y --force-yes install mongodb-org 2>&1
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
      
      The following packages have unmet dependencies:
       mongodb-org : Depends: mongodb-org-shell but it is not going to be installed
                     Depends: mongodb-org-server but it is not going to be installed
                     Depends: mongodb-org-mongos but it is not going to be installed
                     Depends: mongodb-org-tools but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      root@packer-debian-7:~# DEBIAN_FRONTEND=noninteractive LC_ALL=C apt-get -o Dpkg::Options::='--force-confnew' -y --force-yes install mongodb-org mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools 2>&1
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
      
      The following packages have unmet dependencies:
       mongodb-org-mongos : Depends: libc6 (>= 2.14) but 2.13-38+deb7u7 is to be installed
       mongodb-org-server : Depends: libc6 (>= 2.14) but 2.13-38+deb7u7 is to be installed
       mongodb-org-shell : Depends: libc6 (>= 2.14) but 2.13-38+deb7u7 is to be installed
       mongodb-org-tools : Depends: libc6 (>= 2.14) but 2.13-38+deb7u7 is to be installed
      E: Unable to correct problems, you have held broken packages.
      
      
      root@packer-debian-7:~# apt-cache policy mongodb-org-server | head -n6
      mongodb-org-server:
        Installed: (none)
        Candidate: 3.2.7
        Version table:
           3.2.7 0
              500 http://repo.mongodb.org/apt/debian/ wheezy/mongodb-org/3.2/main amd64 Packages
      
      
      Show
      I've setup the MongoDB repository on a Debian 7.6 (wheezy) VirtualBox VM instance. root@packer-debian-7:~# cat /etc/apt/sources.list.d/mongodb.list deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main (imported asc key.. apt-get update) But it seems It is not possible to install because of a libc6 dependency error: root@packer-debian-7:~# DEBIAN_FRONTEND=noninteractive LC_ALL=C apt-get -o Dpkg::Options::='--force-confnew' -y --force-yes install mongodb-org 2>&1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mongodb-org : Depends: mongodb-org-shell but it is not going to be installed Depends: mongodb-org-server but it is not going to be installed Depends: mongodb-org-mongos but it is not going to be installed Depends: mongodb-org-tools but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@packer-debian-7:~# DEBIAN_FRONTEND=noninteractive LC_ALL=C apt-get -o Dpkg::Options::='--force-confnew' -y --force-yes install mongodb-org mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools 2>&1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mongodb-org-mongos : Depends: libc6 (>= 2.14) but 2.13-38+deb7u7 is to be installed mongodb-org-server : Depends: libc6 (>= 2.14) but 2.13-38+deb7u7 is to be installed mongodb-org-shell : Depends: libc6 (>= 2.14) but 2.13-38+deb7u7 is to be installed mongodb-org-tools : Depends: libc6 (>= 2.14) but 2.13-38+deb7u7 is to be installed E: Unable to correct problems, you have held broken packages. root@packer-debian-7:~# apt-cache policy mongodb-org-server | head -n6 mongodb-org-server: Installed: (none) Candidate: 3.2.7 Version table: 3.2.7 0 500 http://repo.mongodb.org/apt/debian/ wheezy/mongodb-org/3.2/main amd64 Packages

      mongodb-org-server : Depends: libc6 (>= 2.14) but 2.13-38+deb7u11 is to be installed

      My debian7 system doesn't have such a libc version, so something is not okay with the deb packaging for wheezy.

      (
      I used the following APT repo:
      deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main
      )

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            kedazo David Kedves
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: