zyklon
(Frank Brütting)
July 12, 2018, 11:13pm
1
I want to install gnome-encfs-manager . The required steps therefore are:
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:moritzmolch:gencfsm/Fedora_28/home:moritzmolch:gencfsm.repo
dnf install gnome-encfs-manager
In Silverblue this doesn’t work, so I fetched that repo file and moved it into /etc/yum.repos.d/
. When I then want to install it, I get:
Resolving dependencies... done
error: package gnome-encfs-manager-1.8.19-300.1.x86_64 cannot be verified and repo home_moritzmolch_gencfsm is GPG enabled: failed to lookup digest in keyring for /var/cache/rpm-ostree/repomd/home_moritzmolch_gencfsm-28-x86_64/packages/gnome-encfs-manager-1.8.19-300.1.x86_64.rpm
According to the repo file, the key lies at:
http://download.opensuse.org/repositories/home:/moritzmolch:/gencfsm/Fedora_26/repodata/repomd.xml.key
Do I now need to copy that somewhere? Is the repo not properly configured, or is the rpm-ostree
implementation lacking support for something? Would be nice if someone could help me, I haven’t found something particularly useful via DuckDuckGo…
miabbott
(Micah Abbott)
July 13, 2018, 12:33pm
2
Hmm, that .repo
file should work.
As a workaround, you can drop that keyfile into /etc/pki/rpm-gpg
and update the .repo
file to point to the key.
# curl -L -o /etc/pki/rpm-gpg/gnome-enfcs-manager.key http://download.opensuse.org/repositories/home:/moritzmolch:/gencfsm/Fedora_26/repodata/repomd.xml.key
# sed -i 's|^gpgkey=.*|file:///etc/pki/rpm-gpg/gnome-enfcs-manager.key|' /etc/yum/repos.d/gencfsm.repo
@walters Should a HTTP URL for gpgkey
work for package layering?
1 Like
zyklon
(Frank Brütting)
July 13, 2018, 5:03pm
3
Yep, that worked, thanks! I’ve filed a bug report:
opened 05:02PM - 13 Jul 18 UTC
closed 01:24PM - 30 Jul 18 UTC
bug
question
**Host system details**
```
State: idle; auto updates disabled
Deployments:
… ● ostree://fedora-workstation:fedora/28/x86_64/workstation
Version: 28.20180707.0 (2018-07-07 21:14:36)
BaseCommit: 280fbe273785e835d3c2381f8f9ecf3a4a6181fac530be06eb53452894e274d8
GPGSignature: Valid signature by 128CF232A9371991C8A65695E08E7E629DB62FB1
LayeredPackages: adapta-gtk-theme adobe-source-code-pro-fonts
adobe-source-sans-pro-fonts adobe-source-serif-pro-fonts
android-tools chrome-gnome-shell cockpit dconf-editor dnf
easytag exa exfat-utils fd-find ffmpeg-libs gcolor2 git glances
gnome-tweaks gnome-usage gpick hack-fonts htop iftop julia
linux-libertine-biolinum-fonts linux-libertine-fonts mosh
mozilla-fira-mono-fonts mozilla-fira-sans-fonts neovim
powerline-go pv pygobject3 python3-matplotlib ripgrep
setroubleshoot task tilix tilix-nautilus tmux tokei youtube-dl
zsh
LocalPackages: rpmfusion-free-release-28-1.noarch
rpmfusion-nonfree-release-28-1.noarch
```
**Expected vs actual behavior**
I want to install gnome-encfs-manager. The required steps therefore are:
```
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:moritzmolch:gencfsm/Fedora_28/home:moritzmolch:gencfsm.repo
dnf install gnome-encfs-manager
```
In Silverblue this doesn’t work, so I fetched that repo file and moved it into `/etc/yum.repos.d/`. When I then want to install it, I get:
```
Resolving dependencies... done
error: package gnome-encfs-manager-1.8.19-300.1.x86_64 cannot be verified and repo home_moritzmolch_gencfsm is GPG enabled: failed to lookup digest in keyring for /var/cache/rpm-ostree/repomd/home_moritzmolch_gencfsm-28-x86_64/packages/gnome-encfs-manager-1.8.19-300.1.x86_64.rpm
```
According to the repo file, the key lies at:
```
http://download.opensuse.org/repositories/home:/moritzmolch:/gencfsm/Fedora_26/repodata/repomd.xml.key
```
[miabbott then helped me](https://discussion.fedoraproject.org/t/cannot-install-launchpad-copr-repo/162) with copying that file into `/etc/pki/rpm-gpg` and modifying the repo file accordingly. That worked fine. Could you please fix that?
1 Like