Running “apt-get update” returns an error “apt-secure(8)”
I have the Ubuntu Game Pack and I'm trying to use sudo apt-get update and it's returing the error
W: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
W: GPG error: trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 73F0D6E88E3D6C3A
W: The repository ' trusty InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: ./ Release: The following signatures were invalid: KEYEXPIRED 1484261108
W: The repository ' ./ Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.How can I resolve this?
3 Answers
- :
all have such problems (I also have) - Intel is lazy to create the right key - do not worry
run commands:
wget -q "" -O - | sudo apt-key add -sudo wget -O /etc/apt/sources.list.d/playonlinux.listsudo sh -c "echo 'deb /' > /etc/apt/sources.list.d/lutris.list"wget -nv -O Release.keysudo apt-key add - < Release.keysudo apt-get update
remove sources.list and index.html in /etc/apt dir
cp /etc/apt/preferences.d/index.html /tmp
rm -rf /etc/apt/preferences.d/index.html
cp /etc/apt/sources.list /tmp
rm -rf sources.listthen reboot
Just go to update GUI and 'unclick' every "other software". Refresh cache is going to work well now, and 'sudo apt update' as well.