Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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: http://de.archive.ubuntu.com hardy

i want to install python2.6 from another source and tried this: http://linuxverzion.blogspot.de/2010/12/install-python-26-on-ubuntu-804-lts.html

Add to /etc/apt/sources.list

deb http://ppa.launchpad.net/python-dev/ppa/ubuntu hardy main
deb-srchttp://ppa.launchpad.net/python-dev/ppa/ubuntu hardy main

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

i changed it to my key but i get the error

gpg: Schlüssel D81367B9 von hkp Server keyserver.ubuntu.com 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

1 Answer 1

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.