[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Etch-backports and gpg problems (SOLVED)



Marc Shapiro wrote:
I followed the instructions on the backports instruction page:

----------------------------------------

If you are using *etch* and you want apt to verify the downloaded backports you can import backports.org archive’s key into apt:

gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C
gpg --export | apt-key add -

or

wget -O - http://backports.org/debian/archive.key | apt-key add -

----------------------------------------


but after executing the second option (or the second line of the first option) I get the following messages:

----------------------------------------


gpg: no writable keyring found: eof
gpg: error reading `-': general error
gpg: import from `-' failed: general error

----------------------------------------


This occurs whether I run this as a normal user, or with sudo. What am I doing wrong?

If I had run as root, it probably would have worked, but I used sudo. This only runs the first command as root (I believe), so the command 'apt-key add - ' was run as a normal user and did not like that. Using sudo on that command, as well, ran without errors.

Alpine is now installed and aptitude gives me no errors.

--
Marc Shapiro
mshapiro_42@yahoo.com




Reply to: