Topic: Opera repository public key

I get an error when trying to add the opera public key from the terminal

I've added

deb http://deb.opera.com/opera/ squeeze non-free

to my sources list

and run this

wget -O - http://deb.opera.com/archive.key | apt-key add -

I get this error after it fetches the key

gpg: can't open `/etc/apt/trusted.gpg'
gpg: keydb_get_keyblock failed: eof
gpg: no writable keyring found: eof
gpg: error reading `-': general error
gpg: import from `-' failed: general error

Any ideas?

Thanks

Brian

Re: Opera repository public key

Try "sudo" , "can't open" sounds like you just forgot to execute as admin.

Last edited by Joe-Doe (2010-08-25 16:15:36)

Cheers,

Joe

Re: Opera repository public key

Nope, tried sudo too, no luck

Re: Opera repository public key

Did you also check permissions on the folder (and file)?

Cheers,

Joe

Re: Opera repository public key

Did you try:

sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -

?

Last edited by Tunafish (2010-08-25 16:32:57)

Compaq Presario A900 - #! Statler Alpha2 Openbox
Privacy & Security on #! - Application List

Re: Opera repository public key

Yes, I tried sudo.

I didn't check permissions on the folder in the error.

To be honest I don't know anything about these keys other than that you have to add them when you add a third party repo.

But why should I need to check the permissions on it? Surely after a fresh install adding a key shouldn't be a problem.

Re: Opera repository public key

Did you use the second 'sudo' as well?

sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -

Tuna

Last edited by Tunafish (2010-08-25 17:19:46)

Compaq Presario A900 - #! Statler Alpha2 Openbox
Privacy & Security on #! - Application List

Re: Opera repository public key

The first sudo is not mandatory, but the second is!
$ wget -O - http://deb.opera.com/archive.key | sudo apt-key add -

#Linux user 482038, eeepc 1000H and 901

Re: Opera repository public key

Ah!

Thanks. Sorry, didn't spot the second one on your first post Tunafish.

Will give it a try soon.  Having some problems with bluetooth keyboard & mouse so have to find the wired ones.

Thanks again

Brian

Re: Opera repository public key

Yup, that worked... thank you again big_smile