Debian 12 AMD/Intel needed apt for Mongo 4.2

Greetings programs,

I have been taking care of upgrading some VMs from Debian 11 to Debian 12, on some VMs we have Mongo 4.0 because a old software which is depends of it: Learning Locker aka “LRS”.

I am unable to find Mongo 4.2 on the Percona repos, and in order to upgrade to Mongo 4.2 then to Mongo 4.4 then Mongo 5.0. I have Mongo 4.0 installed mainly on majority of VMs.

On the past I was able to run stuff like:

wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
percona-release enable psmdb-42 release

And be able to upgrade to Mongo from 4.0 to 4.2, I think those VMs where on Debian 10 or 11, but now that I have upgraded to Debian 12 I am in need to upgrade to Mongo 4.2 then I’ll be able to go to Mongo 4.4

I guess Percona should have some kind of “archive” repositories?

I have VMs with Debian 11 where I’ve upgraded from Mongo 4.0 to Mongo 4.2 then I’ve upgraded the OS to Debian 12 then I know that Percona Mongo 4.2 is compatible with Mongo 4.2.

Thanks in advance for the info.

Hi @jbiancot

MongoDB 4.2 was reached its End of Life in April 2023.
But Debian 12 was initially released on June 2023.
Sad to say but no packages was build for Debian 12.

Any steps to compile it manually?

Any help will be appreciated it.

Hey. We have documentation for latest versions. Build from source code - Percona Server for MongoDB 5.0
so you would need to adopt it for the 4.2 version