Question

Trying to Get Opera to work Public Key issue was working before upgrade tried tp purge a reload it did same. After purge it still same

Software Updater Not working it states: - Failed To Download Repository Information Check Internet Connection - Related to Opera 100.0.485.21_amd64 GPG key not working it appears. Not a coder or Computer geek, just a cut and paste in terminal person. Have some error screen shots for those interested

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

sudo apt-key list | grep -A 1 Opera. Cut and paste from terminal yielded this below. I do not know what this means the strike through was not added

`x@x-ThinkPad-E560:~$ sudo apt-key list | grep -A 1 Opera
[sudo] password for x: 
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
x@x-ThinkPad-E560:~$ sudo apt-key list | grep -A 1 Opera

I am using Ubuntu 22.04.2 Jammy Jellyfish. Just started laptop to date took screen shot after the auto update the dialogue box stated: Failed to load the Package List

Bobby Iliev
Site Moderator
Site Moderator badge
June 27, 2023

Hi there!

What version of Ubuntu are you using? If you are using an outdated Ubuntu version, I would recommend starting with an upgrade. But before proceeding make sure to back up your server!

https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-20-04-focal-fossa

It sounds like the issue is related to the GPG key of the Opera repository. You might have upgraded your system or Opera, and the GPG key in use might be outdated or not trusted anymore.

  1. Remove the old Opera GPG key: This is not always necessary but it’s a good first step to clean up old or broken keys.

    sudo apt-key list | grep -A 1 Opera
    

    This will show the key for the Opera repository like:

    pub   rsa4096 2018-06-13 [SC]
      F2CB 4183 099B E63C EC16  6F6C 4BEB DC43 4EFB D5A8
       uid           [ unknown] Opera Software Archive Automatic Signing Key 2018 <packager@opera.com>
    

    Take note of the key ID, which in this case is 4EFBD5A8. You can then remove the key using:

    sudo apt-key del 4EFBD5A8
    
  2. Add the new Opera GPG key: Now, you need to add the new Opera GPG key. You can do this by running:

    wget -qO- https://deb.opera.com/archive.key | sudo apt-key add -
    

    This will download the key and add it to your system’s list of trusted APT keys.

  3. Update your system: After adding the new key, you should update your system:

    sudo apt-get update sudo apt-get upgrade
    

Hopefully, after following these steps, you should be able to update your system and use Opera without any issues.

Remember to replace 4EFBD5A8 with your own key ID if it’s different. Also, these commands are for a system using apt for package management. If you’re using a different package manager, the commands might be slightly different.

If you continue to have issues, it might be helpful to post the exact error message or screenshot so we can provide more targeted assistance.

Let me know how it goes!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel