Featured image of post Fix “Missing Signed-By” Error for Vivaldi Browser Repo on Debian/Ubuntu based Systems

Fix “Missing Signed-By” Error for Vivaldi Browser Repo on Debian/Ubuntu based Systems

When Vivaldi Browser repo is added on Ubuntu/Debian based systems, you get "Missing Signed-By" errors while updating the system. This blog will fix that error for good.

When you download the .deb package from Vivaldi’s website, and manually install it. The installation process will also add the Vivaldi repo to the apt-sources list in the /etc/apt/sources.list.d/ directory.

Sometimes this repo doesn’t normally populate the GPG keying for the Vivaldi Browser repository, and you will get errors like below, whenever you do a system update like this:

1
sudo apt update

Fixing the GPG Singing Error

You can either ignore the error completely, and you don’t immediately lose anything. But when APT source is not cryptographically verified, it opens up the possibility of man-in-the-middle attacks or tampered packages. So, you should always add GPG singing keys for your repos.

Fixing vivaldi.list repo

This [repo-name].list is the old method for storing repo files.

First we will add the GPG Keyring for Vivaldi repo, in the /usr/share/keyrings/ directory.

1
wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | gpg --dearmor | sudo dd of=/usr/share/keyrings/vivaldi-browser.gpg

Before adding the key, your vivaldi.list repo looks like this:

1
2
3
### 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

To fix the error, modify the vivaldi.list file like this:

1
deb [arch=amd64 signed-by=/usr/share/keyrings/vivaldi-browser.gpg] https://repo.vivaldi.com/stable/deb/ stable main

After that, just run the regular system update command:

1
sudo apt update

The Missing Signed-By errors should disappear now.

Fixing vivaldi.sources repo

Ubuntu is in the process of transitioning from .list files to .sources files for APT repositories. The .sources file support YAML-like format, which is easy to read and manage.

After adding the GPG keyring (as described earlier), we can now fix the vivaldi.sources file.

Before doing anything, vivaldi.sources file looks like this:

1
2
3
4
Types: deb
URIs: https://repo.vivaldi.com/stable/deb/
Suites: stable
Components: main

To fix the Missing Signed-By error, modify it like this:

1
2
3
4
5
Types: deb
URIs: https://repo.vivaldi.com/stable/deb/
Suites: stable
Components: main
Signed-By: /usr/share/keyrings/vivaldi-browser.gpg

Then, update your system like before:

1
sudo apt update

The singing error should be fixed now.


References

Built with Hugo
Theme Stack designed by Jimmy