...
Hey! i am trying to install mongodb 3.6 from http://repo.mongodb.org/apt/debian/ to my clean debian9 vm. i got this error # apt install mongodb-org mongodb-org-server mongodb-org-shell mongodb-org-tools 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-mongos but it is not going to be installed mongodb-org-server : Depends: libssl1.0.0 (>= 1.0.1) but it is not installable mongodb-org-shell : Depends: libssl1.0.0 (>= 1.0.1) but it is not installable mongodb-org-tools : Depends: libssl1.0.0 (>= 1.0.1) but it is not installable E: Unable to correct problems, you have held broken packages. that is why # apt-cache show mongodb-org-server Package: mongodb-org-server Source: mongodb-org Version: 3.6.5 Architecture: amd64 Maintainer: Ernie Hershey Installed-Size: 57883 Depends: libc6 (>= 2.18), libgcc1 (>= 1:4.1.1), libssl1.0.0 (>= 1.0.1), adduser, tzdata but there are no package with name libssl1.0.0 and version >= 1.0.1 debian 9 has only # apt-cache search libssl cl-plus-ssl - Common Lisp interface to OpenSSL dcmtk - OFFIS DICOM toolkit command line utilities libdcmtk-dev - OFFIS DICOM toolkit development libraries and headers libdcmtk8 - OFFIS DICOM toolkit runtime libraries libssl-ocaml - OCaml bindings for OpenSSL (runtime) libssl-ocaml-dev - OCaml bindings for OpenSSL libssl-dev - Secure Sockets Layer toolkit - development files libssl-doc - Secure Sockets Layer toolkit - development documentation libssl1.1 - Secure Sockets Layer toolkit - shared libraries libssl1.0-dev - Secure Sockets Layer toolkit - development files libssl1.0.2 - Secure Sockets Layer toolkit - shared libraries perl-openssl-defaults - version compatibility baseline for Perl OpenSSL packages r-cran-openssl - GNU R toolkit for encryption, signatures and certificates based on OpenSSL "libssl1.0.2" and no "libssl1.0.0" please fix packet metadata.
zakhar.kleyman commented on Thu, 31 May 2018 14:42:08 +0000: I'm glad we were able to find the root cause. I'll close this ticket as "works as designed" since there are no issues with the repo or packages. freeseacher commented on Wed, 30 May 2018 22:11:40 +0000: ok. tnx my bad. that was the root cause - name: "Add MongoDB repository" apt_repository: repo: "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/{{mongod_version}} main" state: present update_cache: "True" jessie instaed of repo: "deb http://repo.mongodb.org/apt/debian {{ansible_distribution_release}}/mongodb-org/{{mongod_version}} main" that issue can be closed. zakhar.kleyman commented on Wed, 30 May 2018 20:29:30 +0000: Hello, Aleksey! Thank you for reporting this. I'm not able to reproduce the problem. I tried the following debian versions: 9.0 (Linux ip-10-123-55-209 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/) 9.1 (Linux ip-10-123-56-100 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux) 9.2 (Linux ip-10-122-11-23 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux) 9.3 (Linux ip-10-123-57-69 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3 (2017-12-03) x86_64 GNU/Linux) 9.4 (Linux stretch 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux) I get libssl1.1 on all of them $ apt-cache show mongodb-org-server Package: mongodb-org-server Source: mongodb-org Version: 3.6.5 Architecture: amd64 Maintainer: Ernie Hershey Installed-Size: 57900 Depends: libc6 (>= 2.18), libgcc1 (>= 1:4.2), libssl1.1 (>= 1.1.0), adduser, tzdata What does your 3.6 repo file (/etc/apt/sources.list.d/mongodb-org-3.6.list) look like? Is it possible that you're using debian 8 (jessie) repo on debian 9?
Click on a version to see all relevant bugs
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.