[SOLVED] apt-get update warning

Kernels & Hardware, configuring network, installing services

[SOLVED] apt-get update warning

Postby boycottsystemd » 2018-04-07 06:19

Code: Select all
W: http://security.debian.org/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.
W: http://ftp.us.debian.org/debian/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.
W: http://ftp.us.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.


I have tried
Code: Select all
apt-get install --reinstall debian-archive-keyring
apt-get autoclean
apt-get clean


but it didn't help.

Code: Select all
$ lsb_release -a
No LSB modules are available.
Distributor ID:   Debian
Description:   Debian GNU/Linux 9.4 (stretch)
Release:   9.4
Codename:   stretch
Last edited by boycottsystemd on 2018-04-07 08:32, edited 1 time in total.
boycottsystemd
 
Posts: 7
Joined: 2018-03-31 10:24

Re: apt-get update error

Postby dcihon » 2018-04-07 07:12

Did a quick search to try to help. I don't know if you did any searching or not but you should try. Then tell us what you tried with [code] captures showing results. Anyway I don't know if this will help but you have nothing to lose:
http://forums.debian.net/viewtopic.php?t=130558
dcihon
 
Posts: 199
Joined: 2012-09-23 16:18

Re: apt-get update error

Postby boycottsystemd » 2018-04-07 07:55

Thank you, I did some search.

Code: Select all
rm -f /etc/apt/trusted.gpg

has solved issue.
boycottsystemd
 
Posts: 7
Joined: 2018-03-31 10:24

Re: apt-get update error

Postby dcihon » 2018-04-07 07:58

Glad that worked for you.
Just one more thing.
Go to your first thread and edit the subject with [SOLVED] in front of the subject.
Enjoy Debian.
dcihon
 
Posts: 199
Joined: 2012-09-23 16:18


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable