Unable to install Percona MongoDB distribution in Debian

Installation in Debian gives the following error:

dpkg: error processing archive percona-server-mongodb-server_4.4.8-9.buster_amd64.deb (–install):
conffile name ‘etc/mongod.conf’ is not an absolute pathname

Known issue? This is a show stopper on Debian currently for me.

1 Like

Also:

$ sudo percona-release setup pdmdb-4.4
Specified repository is not supported for current operating system!

Does percona support Debian “bookworm” yet?

1 Like

Also:

$ sudo dpkg -i percona-release_latest.generic_all.deb
(Reading database … 65402 files and directories currently installed.)
Preparing to unpack percona-release_latest.generic_all.deb …
Unpacking percona-release (1.0-27.generic) over (1.0-27.generic) …
Setting up percona-release (1.0-27.generic) …
Specified repository is not supported for current operating system!
Specified repository is not supported for current operating system!
The percona-release package now contains a percona-release script that can enable additional repositories for our newer products.


Not having a good day.

1 Like

Just FYI:

$ cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux bookworm/sid”
NAME=“Debian GNU/Linux”
ID=debian

1 Like

For others who may have the same issue, here’s what I did to temporarily workaround:

$ sudo dpkg-deb -R percona-server-mongodb-server_4.4.8-9.buster_amd64.deb tmp
$ sudo vi tmp/DEBIAN/conffiles

Remove the two lines below in tmp/DEBIAN/conffiles, leaving the ones with the absolute pathnames:

  • etc/mongod.conf
  • etc/default/mongod

$ sudo dpkg-deb -b tmp percona-server-mongodb-server_4.4.8-9.buster_fixed_amd64.deb
$ sudo dpkg -i percona-server-mongodb-server_4.4.8-9.buster_fixed_amd64.deb

Percona team, appreciate if this could be fixed, and support for Debian bookworm added in your distribution. Apart from this hiccup, I love what you guys are doing to make enterprise features available in the community distribution, it’s definitely in the right spirit of the community.

1 Like

Hello Anuradha_Weeraman,

As for now we support Debian versions that have already been released, the latest one is Debian Bullseye.

Such behavior can be observed when installing packages from earlier Debian versions to newer ones.
In this very case the issue is related to the versions of “dpkg” used in “Buster” - 1.19.7 and “Bullseye/Bookwarm” - 1.20.9.
In your case, if you want to try to run “Percona Distribution for MongoDB 4.4” on “Bookwarm” without manual package repacking, you can try installing Debian Bullseye packages available from our website - Percona Distribution for MongoDB 4.4

1 Like

Thanks. That worked for me this time. On the Bullseye version now.

1 Like