Alternative to "sudo rpmkeys --import" on rpm-ostree systems?a

I am trying to install VSCodium from the unofficial repo, but (as always) they only have mutable Fedora guides.

sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg

I never used that command, I suppose the repo files pull in GPG keys by themselves.

Trying to run it gave me an error that /usr/share/rpm/.rpm.lock can’t be created, but I dont think this is a hard requirement for adding that key.

I only had repos with an asc gpg signature that is placed in /etc/pki/rpm-gpg/.

It should be the same as Adding external package repositories.

1 Like