Jil
1
Hello Community.
Am on a fresh Rocky Linux 9 installation. I use Pritunl VPN Client to help me SSH into my servers via Proxmox Virtual Environment.
I have tried to install Pritunl Client by following their guide on official documentation . I am unable to import the key.tmp with this error
error: key.tmp: key 1 import failed.
The mongodb, Pritunl, CRB and epel repos are enabled correctly under dnf repolist.
Under Rocky Linux 8.6 , i have not problem with key import. Could it a Rocky Linux 9 issue ?
Kindly advice.
Could be similar to this like with zoom: Cannot import Zoom's gpg key
1 Like
Jil
3
This works . Am so grateful sir.
1 Like
Jil
4
This is how i did it.
- sudo dnf update.
- sudo tee /etc/yum.repos.d/pritunl.repo << EOF
[pritunl]
name=Pritunl Stable Repository
baseurl=Index of /stable/yum/fedora/36/
gpgcheck=1
enabled=1
EOF
- gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
- sudo update-crypto-policies --set LEGACY
- sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
- sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
- gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > key.tmp; sudo rpm --import key.tmp; rm -f key.tmp
- sudo dnf install pritunl-client-electron
Thank you sir for shedding some light. Am now all systems go.
2 Likes
Jil
5
If you encounter the error below after step number 5,
Pritunl Stable Repository 0.0 B/s | 0 B 00:00
Error: Failed to download metadata for repo 'pritunl': Cannot download repomd.xml: Empty mirrorlist and no basepath specified!
Please run the following command:
sudo rm -r /var/cache/dnf
Then re-issue the command
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Jil
6
An update :
-
sudo dnf update
-
sudo tee /etc/yum.repos.d/pritunl.repo << EOF
[pritunl]
name=Pritunl Stable Repository
baseurl=Index of /stable/yum/fedora/37/
gpgcheck=1
enabled=1
EOF
The repo for Oracle Linux also worked.
sudo tee /etc/yum.repos.d/pritunl.repo << EOF
[pritunl]
name=Pritunl Repository
baseurl=https://repo.pritunl.com/stable/yum/oraclelinux/8/
gpgcheck=1
enabled=1
EOF
-
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
-
sudo update-crypto-policies --set LEGACY
-
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
-
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
-
gpg --armor --export 7568D9BB55FF9E5287D586017AE645C0CF8E292A > key.tmp; sudo rpm --import key.tmp; rm -f key.tmp
-
sudo dnf install pritunl-client-electron