Hello @Tiga,
Ubuntu 22.04 Jammy is not on our supported operating systems list at this time for the repo tool. Percona Release Lifecycle Overview I know our engineering teams are working hard to get support for 22.04 out as fast as possible.
Does it work if you install gnupg2 curl packages before you install percona-release package as described in the docs?
I’ve tried installing in the VirtualBox machine and it worked ok:
root@vagrant:~# wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
--2022-11-22 20:27:57-- https://repo.percona.com/apt/percona-release_latest.jammy_all.deb
Resolving repo.percona.com (repo.percona.com)... 142.132.159.91
Connecting to repo.percona.com (repo.percona.com)|142.132.159.91|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11804 (12K) [application/x-debian-package]
Saving to: ‘percona-release_latest.jammy_all.deb’
percona-release_latest.jammy_all.deb 100%[=========================================================================================================================================>] 11.53K --.-KB/s in 0s
2022-11-22 20:27:57 (108 MB/s) - ‘percona-release_latest.jammy_all.deb’ saved [11804/11804]
root@vagrant:~# sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
Selecting previously unselected package percona-release.
(Reading database ... 43570 files and directories currently installed.)
Preparing to unpack percona-release_latest.jammy_all.deb ...
Unpacking percona-release (1.0-27.generic) ...
Setting up percona-release (1.0-27.generic) ...
* Enabling the Percona Original repository
<*> All done!
==> Please run "apt-get update" to apply changes
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.
For example, to enable the Percona Server 8.0 repository use:
percona-release setup ps80
Note: To avoid conflicts with older product versions, the percona-release setup command may disable our original repository for some products.
For more information, please visit:
https://www.percona.com/doc/percona-repo-config/percona-release.html
type or paste code here
Can you provide any more details on how to reproduce it?
Are you using VM, Docker image, or something else? Was anything else installed before this package?
This is on my web hosting platform and probably a VM. Before doing the PS installation, I do not have any new package installed, just a routine apt update. I just copy and paste the procedures from PS web site to start the installation. Nothing unusual…
It gives me:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: can’t open ‘/etc/apt/trusted.gpg.d/percona-keyring.gpg’: No such file or directory
I have carefully investigated this issue.
The root of the issue is unavailability of gpg: can’t open ‘/etc/apt/trusted.gpg.d/percona-keyring.gpg’: No such file or directory
So I suggest checking if the directory exists or not and create it if needed. Warning: apt-key is deprecated - it is just warning and I think we will improve behavior for future releases