# Unable to install Percona MongoDB distribution in Debian

**URL:** <https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089>\
**Category:** Percona Distribution for MongoDB\
**Created:** [September 8, 2021, 10:25am UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089 "2021-09-08T10:25:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anuradha\_Weeraman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anuradha_weeraman/32/4445_2.png) [@Anuradha\_Weeraman](https://forums.percona.com/u/Anuradha_Weeraman)\
**Post date:** [September 8, 2021, 10:25am UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/1 "2021-09-08T10:25:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Anuradha\_Weeraman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anuradha_weeraman/32/4445_2.png) [@Anuradha\_Weeraman](https://forums.percona.com/u/Anuradha_Weeraman)\
**Post date:** [September 8, 2021, 10:39am UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/2 "2021-09-08T10:39:30Z")

</div>

Also:

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

Does percona support Debian “bookworm” yet?

---

<div class="post-metadata">

**Author:** ![Anuradha\_Weeraman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anuradha_weeraman/32/4445_2.png) [@Anuradha\_Weeraman](https://forums.percona.com/u/Anuradha_Weeraman)\
**Post date:** [September 8, 2021, 10:43am UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/3 "2021-09-08T10:43:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Anuradha\_Weeraman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anuradha_weeraman/32/4445_2.png) [@Anuradha\_Weeraman](https://forums.percona.com/u/Anuradha_Weeraman)\
**Post date:** [September 8, 2021, 11:05am UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/4 "2021-09-08T11:05:04Z")

</div>

Just FYI:

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

---

<div class="post-metadata">

**Author:** ![Anuradha\_Weeraman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anuradha_weeraman/32/4445_2.png) [@Anuradha\_Weeraman](https://forums.percona.com/u/Anuradha_Weeraman)\
**Post date:** [September 8, 2021, 12:08pm UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/5 "2021-09-08T12:08:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Alex\_Miroshnychenko](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/alex_miroshnychenko/32/2621_2.png) [@Alex\_Miroshnychenko](https://forums.percona.com/u/Alex_Miroshnychenko)\
**Post date:** [September 8, 2021, 2:16pm UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/6 "2021-09-08T14:16:31Z")

</div>

Hello Anuradha\_Weeraman,

> [@Anuradha\_Weeraman](#):
>
> Does percona support Debian “bookworm” yet?

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

> [@Anuradha\_Weeraman](#):
>
> 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.

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](https://www.percona.com/downloads/percona-distribution-mongodb-LATEST/#)

---

<div class="post-metadata">

**Author:** ![Anuradha\_Weeraman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anuradha_weeraman/32/4445_2.png) [@Anuradha\_Weeraman](https://forums.percona.com/u/Anuradha_Weeraman)\
**Post date:** [September 8, 2021, 2:23pm UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/7 "2021-09-08T14:23:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mingtsay](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mingtsay/32/11051_2.png) [@mingtsay](https://forums.percona.com/u/mingtsay)\
**Post date:** [June 12, 2023, 1:31am UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/8 "2023-06-12T01:31:41Z")

</div>

Debian bookworm has been released. FYI

[https://www.debian.org/releases/bookworm/](https://www.debian.org/releases/bookworm/)  
[https://www.debian.org/News/2023/20230610](https://www.debian.org/News/2023/20230610)

---

<div class="post-metadata">

**Author:** ![radoslaw.szulgo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/radoslaw.szulgo/32/17315_2.png) [@radoslaw.szulgo](https://forums.percona.com/u/radoslaw.szulgo)\
**Post date:** [July 16, 2024, 10:47am UTC](https://forums.percona.com/t/unable-to-install-percona-mongodb-distribution-in-debian/12089/9 "2024-07-16T10:47:26Z")

</div>


