how to correct GPG error when updating via apt-get update

Konstantinos Koukopoulos kouk at noc.uoa.gr
Fri Oct 14 11:02:56 UTC 2005


On Fri 14 Oct 2005 12:34, Robert Millan wrote:
> On Thu, Oct 13, 2005 at 06:40:29PM +0300, Konstantinos Koukopoulos wrote:
> >
> > You have to first install the gnupg package (apt-get install gnupg) and
> > then add the relevant keys to the /etc/apt/trusted.gpg keyring. This can
> > be done with the command
> >
> > gpg --no-default-keyring --primary-keyring /etc/apt/trusted.gpg --recv
> > 359AAB34
>
> I'm not sure what went wrong, but:
>
> $ gpg --no-default-keyring --primary-keyring /etc/apt/trusted.gpg --recv
> 359AAB34 gpg: requesting key 359AAB34 from hkp server subkeys.pgp.net
> gpg: no writable keyring found: eof
> gpg: error reading `[stream]': general error
> gpg: Total number processed: 0
>
> Any idea?

Perhaps the keyring /etc/apt/trusted.gpg is not writable by your user id, Try 
su'ing to root before issuing the command.



More information about the Glibc-bsd-devel mailing list