NO_PUBKEY error
-
@becm said in NO_PUBKEY error:
curl https://repo.vivaldi.com/stable/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/vivaldi-browser.gpg
This gives a
permission denied
error even when executed as root, so it is probably not my local permission but the one on your server? Checked various forum topics and askubuntu, still not sure how to make it work.Conclusion? Give Firefox another chance as default browser, probably.
-
@RobsukeDaisuke thanks, now it seems to work following the (re-)installation steps described, in my case for
apt
on Ubuntu.https://help.vivaldi.com/desktop/install-update/manual-setup-vivaldi-linux-repositories/
-
Get:13 https://repo.vivaldi.com/archive/deb stable Release.gpg [833 B]
Err:13 https://repo.vivaldi.com/archive/deb stable Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62993C724218647EThe key is not available on public gpg keyservers like keyserver.ubuntu.com for example. How to resolve this issue? Last week everything worked fine.
-
@joachimrs a new
Vivaldi
package signing key (KEY08
) is active and you have a conflicting source setup for the repository.
Should be a purely aesthetic problem, but you can rungrep -nr repo.vivaldi.com /etc/apt/sources.list.d/*
and remove any file that comes up with a
signed-by
entry (there should be vivaldi somewhere in the name).
You can post the output of that command here for a 2nd opinion if that file can be removed safely and without need for further steps.The original approach for manual repo setup is discouraged now, it generates this exact issue (for most users) on a yearly basis.
TheVivaldi
package will manage its own key rotation and source list entry. -
@becm Thanks a lot. I already apt purge vivaldi-stable and will do a reinstall of the deb later. I also removed all remaining traces of anything vivaldi in /etc/apt/trusted.gpg.d/ as well as in /etc/apt/sources.list.d/ and /usr/share/keyrings/
Will check what will be installed with the .deb and see if it resolves the issue. It should, as you mentioned, be gone for good as it is taken care of in the package now.
Before that I tried lots of hints in the thread, like downloading the key from repo.vivaldi and --dearmor put it in trusted.gpg.d etc. to no avail. That's why I was curious if there is a way to remedy that without reinstall, but went for a reinstall anyway, as it seemed the fastest solution, sorry, me dumb user ¯\_(ツ)_/¯
-
@joachimrs using the
dearmor
ed key as new content for the/usr/share/keyrings/vivaldi…
file would also have been an option.
But that requires to do the same procedure every year (and results in a duplicated repo reference insources.list.d
anyway). -
Could someone please make an "official" HOWTO about how to install and update vivaldi repo keyes (possibly in such a way Google and others (including the search within the Vivaldi forum pages) will find it whenever a user seeks for "vivaldi NO_PUBKEY"). Than delete this confusing abomination of assumed help together with all other related, but long overdue postings.
It's of no help, mixing deprecated with not working commands and letting unclear whether to execute the appropriate command as user or as root or which better as user and which as root. And most importantly which one is working at the present moment.
If you disagree with my comment I have to assume the way you spell "security" is: W_H_O_C_A_R_E_S !
-
@michaa7 The keys are installed every new Vivaldi installation (by package installer) and upgrade.
I checked my Debian 12 and Ubuntu 22 LTS/23 systems and was able to update.
And if you encounter a problem installing the RPM or DEB installer should solve it. -
Debian/sid(uction)
"apt update"
: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://repo.vivaldi.com/archive/deb stable Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 124F149833EAAB8E
W: Fehlschlag beim Holen von https://repo.vivaldi.com/archive/deb/dists/stable/Release.gpg Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 124F149833EAAB8Eupdate worked some days ago.
You mean reinstalling vivaldi browser should solve this? will give it a try ....
-
@michaa7 I tested on ym Debian 12.
mysudo apt upgrade
worked.My apt config:
test@debora:~$ cat /etc/apt/sources.list.d/vivaldi* ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. deb [arch=amd64] https://repo.vivaldi.com/snapshot/deb/ stable main test@debora:~$
My
sudo apt-key list
/etc/apt/trusted.gpg.d/vivaldi-33EAAB8E.gpg ------------------------------------------- pub rsa4096 2023-01-10 [SC] [verfällt: 2025-02-28] 3360 18F2 63FA 0000 65CE D7C6 124F 1498 33EA AB8E uid [ unbekannt ] Vivaldi Package Composer KEY09 <[email protected]> sub rsa4096 2023-01-10 [E] [verfällt: 2025-02-28] /etc/apt/trusted.gpg.d/vivaldi-4218647E.gpg ------------------------------------------- pub rsa4096 2022-01-31 [SC] [verfallen: 2024-01-31] DF44 CF0E 1930 9195 C106 9AFE 6299 3C72 4218 647E uid [ verfallen ] Vivaldi Package Composer KEY08 <[email protected]> /etc/apt/trusted.gpg.d/vivaldi-74C35BC8.gpg ------------------------------------------- pub rsa4096 2024-01-23 [SC] [verfällt: 2026-02-11] C2A2 445B 0EC3 B396 BD52 6E31 F739 AAC0 74C3 5BC8 uid [ unbekannt ] Vivaldi Package Composer KEY10 <[email protected]> sub rsa4096 2024-01-23 [E] [verfällt: 2026-02-11] /etc/apt/trusted.gpg.d/vivaldi-snapshot-33EAAB8E.gpg ---------------------------------------------------- pub rsa4096 2023-01-10 [SC] [verfällt: 2025-02-28] 3360 18F2 63FA 0000 65CE D7C6 124F 1498 33EA AB8E uid [ unbekannt ] Vivaldi Package Composer KEY09 <[email protected]> sub rsa4096 2023-01-10 [E] [verfällt: 2025-02-28] /etc/apt/trusted.gpg.d/vivaldi-snapshot-4218647E.gpg ---------------------------------------------------- pub rsa4096 2022-01-31 [SC] [verfallen: 2024-01-31] DF44 CF0E 1930 9195 C106 9AFE 6299 3C72 4218 647E uid [ verfallen ] Vivaldi Package Composer KEY08 <[email protected]> /etc/apt/trusted.gpg.d/vivaldi-snapshot-74C35BC8.gpg ---------------------------------------------------- pub rsa4096 2024-01-23 [SC] [verfällt: 2026-02-11] C2A2 445B 0EC3 B396 BD52 6E31 F739 AAC0 74C3 5BC8 uid [ unbekannt ] Vivaldi Package Composer KEY10 <[email protected]> sub rsa4096 2024-01-23 [E] [verfällt: 2026-02-11]
-
Ok, I stumbled over my own feet. Sorry for that.
This mechanism isn't working for me because I have "my-vivaldi.list" due to "I-don't-remember-anymore", but I think this happend to prevent settings being overwritten when vivaldi is updated or something like that.
I got a shell command to update the keys manually,
sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.vivaldi.gpg] https://repo.vivaldi.com/archive/deb stable main" > /etc/apt/sources.list.d/my-vivaldi.list'
which, when executed throws no error .... but apt then does as shown.
AND. it worked for a long period of time (years) now.
So .....
-
@michaa7 Why
repo.vivaldi.com/archive
? Old bash script? And who generated this GnuPG keyringpackages.vivaldi.gpg
?Ah, i guess tha twas the old help page or something like this old advice https://forum.vivaldi.net/post/674837
The best way is to delete the
packages.vivaldi.gpg
keyring,
remove the vivaldi stable with
sudo apt purge vivaldi-stable
fetch installer deb package
wget https://downloads.vivaldi.com/stable/vivaldi-stable_6.5.3206.59-1_amd64.deb
and install with
sudo dpkg -i vivaldi-stable_6.5.3206.59-1_amd64.deb
and in case of errors
sudo apt -f install
Updates from now on will now give you the correct signing keys and vialdi repo.
-
@michaa7 This problem arose from people using instructions in days past to setup the Repo on our own. In a rather long interspersed thread last year Rurai explained some of this:
Yes it is because you configured our apt repository by hand likely using our help page
I deleted my entries for it (using Synaptic) and all has been fine since...
-
@lfisk Nice find.
Yes, i saw this old blog post about older help page advice, too, minutes ago. -
@DoctorG I'd been working around the problem for several seasons. While following this discussion last year I finally understood the problem and then it was easy to fix it
-
I don't remember, but I think it was, as far as I remember, someone here in this forum who gave or pointed me to this script when I complaint about settings being overwritten on vivaldis update.
@ lfisk
Ok, here comes light into the darkMy only concern is, I created my-vivaldi.list due to a problem and not for self-expression and I do not want to solve a problem by recreating an old-one. I have to dive back to find what the exact problem was and see how it might be solvable today. Or are you actually speaking about it?
EDIT:
I immediatly gave up searching as there is no search. I cannot understand how someone sees fit to simply copy the content of all postings and not providing a list of posting titels. This "eigene Beiträge" is high gloss sh** (or garbage if you like diplomacy). I is an usless because unsearchable archive. (for anyone interested how to create ergonomicaly searchable info go to debianforum.de; you can search in consecutive levels within what you found and restrict itto a search within your own postings ).Now for the current problem. How do I solve it. Is there a way to solve it correcting the shell command?
-
@michaa7 I like Snypatic because you can visualize confusing things. So look carefully at the Vivaldi repo and make sure it reads exactly the same. There was one word different in my old troublesome entry that was causing the problem.
-
@lfisk So I removed the bad entry, nothing for Vivaldi. When you make the next install Vivaldi has a built in script that adds the proper Repo Entries and Keys. It runs as Cron job. Likely it is already installed and will fix this when the Cron runs again. I think it's a Daily one...
-
The current help page Manual setup of the Vivaldi Linux repositories
It says: no need for fiddling with GPG keys and manual created package manager repo configs. -
The error will clear once the Vivaldi repository is added to your installation, there will be a standard prompt to accept/reject the key.