[SERVER-83224] Debian 12 packages unavailable Created: 14/Nov/23  Updated: 22/Nov/23  Resolved: 22/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.0.3, 7.1.0
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Freek Dijkstra Assignee: Noopur Gupta
Resolution: Done Votes: 1
Labels: debian, packages
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-77231 Platform Support: Add support for Deb... Closed
Related
Operating System: ALL
Steps To Reproduce:

There is no community server download for Debian 12:

  1. Go to MongoDB Community Server Download
  2. Click Select package
  3. Click on the Platform popup menu

Expected Result: I expected Debian 12 to be present in this list

Actual result: Only “Debian 11.0 x64” is listed, not Debian 12.

The Debian 12 repository for amd64/x86_64 is missing the package mongodb-database-tools:

  1. Go to http://repo.mongodb.org/apt/debian/dists/bookworm/mongodb-org/7.0/main/binary-amd64/
  2. In the Packages file, observe that mongodb-org depends on mongodb-org-tools, which depends on mongodb-database-tools

Expected Result: I expected mongodb-database-tools to be available as package.

Actual result: mongodb-database-tools is not listed in the Packages file, nor is there a mongodb-database-tools_*.deb file available for download.

The Debian 12 repository for arm64/aarch64 is missing most packages (no mongodb-org, no mongodb-org-server package, etc.):

  1. Go to http://repo.mongodb.org/apt/debian/dists/bookworm/mongodb-org/7.0/main/binary-arm64/

Expected Result: I expected packages available, such as mongodb-org and mongodb-org-server.

Actual result: These packages (and many more) are missing.

The manual only describes Debian 11, not Debian 12.

  1. Go to https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-debian/
  2. Follow the instructions, but replace bullseye (Debian 11) with bookworm (Debian 12)

Expected result: I expected a working installation of MongoDB

Actual result: At step 4 of the instruction, the error (caused by the above) occurs:

The following packages have unmet dependencies:
 mongodb-org-tools : Depends: mongodb-database-tools but it is not installable
E: Unable to correct problems, you have held broken packages.

Participants:

 Description   

Debian 12 (bookworm) is supported according to the Platform Support Matrix 1, but that support seems to broken at the moment:

  1. There is no community server download for Debian 12
  2. The Debian 12 repository for amd64/x86_64 is missing the package mongodb-database-tools
  3. The Debian 12 repository for arm64/aarch64 is missing most packages (no mongodb-org, no mongodb-org-server package, etc.)
  4. The manual only describes Debian 11, not Debian 12.

(This ticket was created after suggestion on the forum)

I'l leave a note on Ubuntu vs Debian.



 Comments   
Comment by Noopur Gupta [ 22/Nov/23 ]

Thanks freek@macfreek.nl for bringing this to our attention. We missed adding the support for v7.0 in Deb 12. 

The team looked into it and has now added the packages, you should be able to follow the instructions to download the packages for Debian 12. 

I am closing this ticket as there are no more actions needed from our end. Feel free to re-open the ticket if you still  have issues downloading the packages.

Comment by Freek Dijkstra [ 14/Nov/23 ]

Just a little note on Ubuntu:

I’ve seen a few install scripts that use the Ubuntu repository to install things on Debian. The good news is that it seems to work. At least one install script worked for me, even though it was an old one that installed MongoDB 3.6 from Ubuntu xenial (16) . And given that MongoDB properly supports arm64 architecture on Ubuntu, I was wondering if this is a viable approach. That said it failed when I tried to upgrade to newer versions. Nearly all dependencies are the same between Debian and Ubuntu, with the exception of libcomerr2. That still exists on Debian, but is now renamed to libcom-err2 (and the transitional libcomerr2 package is gone since Debian 11). That is not a big change, and made me wonder why Debian does not support arm64, while Ubuntu does (and is a very similar platform).

Generated at Thu Feb 08 06:51:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.