Web lists-archives.com

Re: apt-get update error

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, a file which is no longer used by apt (instead all
keys are in /etc/apt/trusted.gpg.d)

You can just delete /etc/apt/trusted.gpg or change the permissions to
644 (instead of 600 now).


Sigmentation fault. Core dumped.