0

I am running UBUNTU 23.04 and trying to update it in order to upgrade tot 24.04lts. During the process I get several times the below mentioned error message. The upgrade is then aborted. Why do I get this error message and what can I do about it ? The error message :

The following signatures couldn't be verified because the public key
is not available: NO_PUBKEY 24A1004B1F11DCC9

The process aborts and then the next error message is displayed:

A problem occurred during the update. This is usually some sort of 
network problem, please check your network connection and retry.

The number at the end of the message is always the same. I tried this:

sudo apt-key adv --keyserver keyserver.quickbuild.pearsoncomputing.net --recv-keys 24A1004B1F11DCC9

With as result: gpg: keyserver receive failed: No data

What can I try more?

karel
  • 122,292
  • 133
  • 301
  • 332
Pitor
  • 47

2 Answers2

1

I do not know why, you think the key you need would be on keyserver.quickbuild.pearsoncomputing.net? It is obviously not.

Try

$ sudo apt-key remove 24A1004B1F11DCC9
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 24A1004B1F11DCC9
$ sudo apt-get update

And continue your update process.

Nikolaj Hansen
  • 468
  • 3
  • 11
0

It's a little difficult to guess where your key belongs to. Online search shows it might be from opera which you installed on your system.

As @Nikolaj suggested you can ask the ubuntu keyserver to retrieve the key.

Or you could download the missing key from Opera directly: https://deb.opera.com/archive.key

Joe
  • 1