apt-get update error
Code:
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. Code:
apt-get install --reinstall debian-archive-keyring Code:
$ lsb_release -a |
at first, this is not an error message but a warning (or three).
Please post the exact steps you executed, not only a message.... (which user, which command, full output...). Also did you check the permissions on that file? |
Code:
rm /etc/apt/trusted.gpg has solved the issue. So I hope it's correct solution. |
If you're working as root, but the keyring is not readable, that means no one can read it. So, have a look at the permissions. I really wonder how it got that way!
|
Quote:
Maybe 8 --> 9 upgrade ? |
Quote:
i have 2 diferent systems with the exact same problem, related to this one. In both i installed a debian system stretch with Lxde and gnome... i tried to add debian multimedia but i keep getting the message saying "The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key." tired of reading and not geting nowhere. I followed the sugestion on a brazilian forum (iḿ Portuguese...) to remove /etc/apt/trusted.gpg and to run apt-key update... problem is console gives me the answer : root@debiansala:/etc/apt# apt-key update Warning: 'apt-key update' is deprecated and should not be used anymore! Note: In your distribution this command is a no-op and can therefore be removed safely. this one i dont see a solution... itś been two months (the system is funcional and i dont use them that often...) and some body else should had the same problem but i cant see the answer... help apretiated |
answering my self...
i fixed some other issue reading the foruns... how to find and add the gpg keys. apt-get and synaptic give the error but recognise the repository... i find and extraxct the key "deb-multimedia-keyring_2016.8.1_all.deb" and placed it in the trusted.gpg.d folder... never the less that behavior should be corrected and still don't know an alternaticve to do it manually... |
I haven't heard of the multimedia repo in ages.
Anyway: most recommend very strongly against using it. This way or that way: might be it should be corrected, but that is not a problem of debian.org, but the multimedia-repo. |
you don't need to use apt-get, but simply apt.
|
Sorry to necro this, but I found an workaround that seems to be working at least to me!
Modify the permissions of the .gpg file in question to 666 and then it run the apt/(-get) update again. Like in my case: Code:
Reading package lists... Done |
All times are GMT -5. The time now is 03:05 PM. |