key on Ubuntu 10.04

Xiao,

I have received the same error recently on 10.04, I think it has to do with reading from stdin. It may be that the command line options have changed in updated versions of apt-key? A quick fix is to run the two commands separately, and save the key as a file.

prompt$ wget --quiet -O - http://obspy.org/export/2889/obspy/trunk/misc/debian/public.key > my_obspy_public.key

then:

prompt$ sudo apt-key add my_obspy_public.key

-Mark

Mark C. Williams
Seismic Imaging Laboratory
Oregon State University
College of Oceanic & Atmospheric Sciences
104 COAS Admin. Corvallis, OR 97331
tel: 541-737-2847
email: mwilliams@coas.oregonstate.edu