Folks running and Debian, Ubuntu, etc. may be aware that Oracle has a Debian repository for Oracle Express and other open-source software.
If you weren’t aware of it and wanted to use it, here’s the magic line to add to /etc/apt/sources.list
:
deb http://oss.oracle.com/debian unstable main non-free
Recently, my apt-get update
s started printing this warning:
W: GPG error: http://oss.oracle.com unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2E2BCDBCB38A8516
because Oracle is signing their packages with GPG and my system didn’t have their GPG public key.
First, I tried:
$ gpg --keyserver subkeys.pgp.net --recv 2E2BCDBCB38A8516 gpg: requesting key B38A8516 from hkp server subkeys.pgp.net gpgkeys: key 2E2BCDBCB38A8516 not found on keyserver gpg: no valid OpenPGP data found. gpg: Total number processed: 0 $ gpg --keyserver subkeys.pgp.net --recv-keys B38A8516 gpg: requesting key B38A8516 from hkp server subkeys.pgp.net gpgkeys: key B38A8516 not found on keyserver gpg: no valid OpenPGP data found. gpg: Total number processed: 0
No dice. So I poked around a bit and found Oracle’s RPM GPG key. I wondered if they used the same GPG key for their Debian packages as they did for their RPM packages. One way to find out:
$ wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle ... 13:50:04 (356.53 KB/s) - `RPM-GPG-KEY-oracle' saved [1744/1744] $ sudo apt-key add RPM-GPG-KEY-oracle OK $ sudo aptitude update ... Fetched 194B in 2s (94B/s) Reading package lists... Done
Cool, it worked!
Thanks a lot for this tips !
Works! Thaks.
I just found that oracle updated this page to include this information, too:
http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html
Thanx!
Thanks for the tip!
Thanks for this.
Cool! It worked for me too!
Thanks!!!! It worked for me!!!
Ya, it worked for me. thanks.
awesomeness. this saved me a huge headache!
Oke thanks verry much. it work for me.
Marc thanks very much for posting this tip!
You are great, thnx…
Pingback: Confluence: Customer Solutions
Thanks a lot… it works now.. i am so grateful to you.. keep it up..
It works man…thanx
if doesnt work above cmd use the following cmd ….
$ sudo wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add –
Superb.. Worked like a charm.. Thanks a ton.. saved me a lot of looking here and there.. 🙂