# Installing Xtrabackup/qpress in Debian 12

**URL:** <https://forums.percona.com/t/installing-xtrabackup-qpress-in-debian-12/25714>\
**Category:** MySQL & MariaDB\
**Created:** [October 6, 2023, 9:59am UTC](https://forums.percona.com/t/installing-xtrabackup-qpress-in-debian-12/25714 "2023-10-06T09:59:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Sumit\_Debnath](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/_sumit_debnath/32/8589_2.png) [@\_Sumit\_Debnath](https://forums.percona.com/u/_Sumit_Debnath)\
**Post date:** [October 6, 2023, 9:59am UTC](https://forums.percona.com/t/installing-xtrabackup-qpress-in-debian-12/25714/1 "2023-10-06T09:59:21Z")

</div>

Hi  
we have debian 12 system and we are trying to restore mysql backup taken using xtrabackup.  
we have installed xtrabackup on debian 12 but unable to install qpress  
its is required as our backup is compressed  
Here is the command and output

$ xtrabackup --decompress --remove-original --target-dir=week\_ending\_2023\_10\_04/  
xtrabackup: recognized server arguments:  
xtrabackup: recognized client arguments: --decompress=1 --remove-original=1 --target-dir=week\_ending\_2023\_10\_04/  
xtrabackup version 2.4.28 based on MySQL server 5.7.40 Linux (x86\_64) (revision id: c77a5869)  
231006 15:25:00 [01] decompressing ./xxxxxxxxxxx.frm.qp  
sh: 1: qpress: not found  
cat: write error: Broken pipe  
Error: decrypt and decompress thread 0 failed.

$ sudo apt install qpress  
Reading package lists… Done  
Building dependency tree… Done  
Reading state information… Done  
Package qpress is not available, but is referred to by another package.  
This may mean that the package is missing, has been obsoleted, or  
is only available from another source

E: Package ‘qpress’ has no installation candidate

---

<div class="post-metadata">

**Author:** ![Denis\_Subbota](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/denis_subbota/32/23607_2.png) [@Denis\_Subbota](https://forums.percona.com/u/Denis_Subbota)\
**Post date:** [October 6, 2023, 1:33pm UTC](https://forums.percona.com/t/installing-xtrabackup-qpress-in-debian-12/25714/2 "2023-10-06T13:33:54Z")

</div>

Hello \_Sumit\_Debnath,  
I think you just need to install one of the repo which have qpress.  
You can follow below steps to install it ( i verified that on Debian 12 it’s working well )

> **[Percona XtraDB Cluster - Install Percona XtraDB Cluster on Debian or Ubuntu](https://docs.percona.com/percona-xtradb-cluster/8.0/apt.html#prerequisites)**
>
> Specific information on the supported platforms, products, and versions
> is described in Percona Software and Platform Lifecycle.

```auto
sudo apt update
sudo apt install -y wget gnupg2 lsb-release curl
wget https://repo.percona.com/apt/percona-release_latest.generic_all.deb
sudo dpkg -i percona-release_latest.generic_all.deb
sudo apt update
sudo percona-release setup pxc80
sudo apt install qpress -y

```

Regards,  
Denis Subbota.  
Managed Services, Percona.
