Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I bypass/ignore the gpg signature checks of apt?

i have a problem in ubuntu hardy:

i use an old hardy server that i may not upgrade with the historical sources: hardy

i want to install python2.6 from another source and tried this:

Add to /etc/apt/sources.list

deb hardy main
deb-src hardy main

#Import the pub key 
sudo apt-key adv --keyserver --recv-keys D81367B9

i changed it to my key but i get the error

gpg: Schlüssel D81367B9 von hkp Server anfordern
gpgkeys: HTTP fetch error 7: couldn't connect to host
gpg: Keine gültigen OpenPGP-Daten gefunden.
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 0

is it possible to tell apt, that i dont care if the key exists? i would like to ignore the missing key

(it is a messed up server anyway)

share|improve this question

marked as duplicate by Eliah Kagan, Jorge Castro, fossfreedom Feb 2 '13 at 10:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

it seems like the length of the key is too long – rubo77 Jun 19 '12 at 12:04
up vote 1 down vote accepted

I just ignored the error and installed python2.6 I just had to say Yes, install although I don't have the signed key

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.