Installation of Hugo in Fedora - Nobara
Table of Contents
Installation of Hugo in Fedora - Nobara
sudo dnf install hugo
Transaction Summary:
Installing: 11 packages
Total size of inbound packages is 78 MiB. Need to download 0 B.
After this operation, 309 MiB extra will be used (install 309 MiB, remove 0 B).
Is this ok [y/N]: y
[ 1/11] hugo-0:0.142.0-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 2/11] libsass-0:3.6.6-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 3/11] golang-bin-0:1.23.8-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 4/11] golang-0:1.23.8-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 5/11] golang-src-0:1.23.8-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/11] go-filesystem-0:3.6.0-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/11] subversion-0:1.14.5-14.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/11] subversion-libs-0:1.14.5-14.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/11] utf8proc-0:2.10.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/11] mercurial-0:6.9.5-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[11/11] libserf-0:1.3.10-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
Transaction failed: Signature verification failed.
Public key "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nobara-pubkey" is already present, not importing.
Public key "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-primary" is already present, not importing.
OpenPGP check for package "hugo-0.142.0-4.fc42.x86_64" (/var/cache/libdnf5/nobara-43333f9d8ea36a36/packages/hugo-0.142.0-4.fc42.x86_64.rpm) from repo "nobara" has failed: Public key is not installed.
Solution:
Let’s fix this signature verification issue and get Hugo installed properly:
- First, you need to import the missing GPG key for the Nobara repository. Try running:
sudo dnf install nobara-gpg-keys
Or you can directly import the key:
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-nobara-pubkey
- After importing the key, try installing Hugo again:
sudo dnf install hugo
If you still encounter issues, you could try running:
sudo dnf clean all
sudo dnf update
Then attempt the Hugo installation again.
Another option is to temporarily disable GPG checking (though this is not recommended for security reasons):
sudo dnf --nogpgcheck install hugo