Web lists-archives.com

Re: apt-get update error




Op 08-02-18 om 22:27 schreef Sven Hartge:
Forest Dean Feighner <forest.feighner@xxxxxxxxx> wrote:
On Thu, Feb 8, 2018 at 3:36 PM, Greg Wooledge <wooledg@xxxxxxxxxxx> wrote:
On Thu, Feb 08, 2018 at 03:26:40PM -0500, Forest Dean Feighner wrote:

W: http://security.debian.org/debian-security/dists/stretch/updates/InRelease:
The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is
not readable by user '_apt' executing apt-key.

-rw------- 1 root root   32 Feb  6 17:58 trusted.gpg

Synaptic strikes again. :(

Ah, so the error is from using Synaptic rather than from the update of
libtasn1-6?

That's the only recent update I've done and I didn't realize Syaptic would
write the file.

The problem is from synaptic creating /etc/apt/trusted.gpg with too
narrow permissions,

Actually, it's not synaptic that's doing that, but the executable software-properties-gtk when it's called by synaptic. So if you run that separately, you'll also end up with a messed up /etc/apt/trusted.gpg file.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867681

Regards,
Frank