Executar “apt-get update” retorna um erro “apt-secure(8)”

Executar “apt-get update” retorna um erro “apt-secure(8)”

Tenho o Ubuntu Game Pack e estou tentando usar sudo apt-get updatee está retornando o erro

W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
W: GPG error: http://deb.playonlinux.com trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 73F0D6E88E3D6C3A
W: The repository 'http://deb.playonlinux.com 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: http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release: The following signatures were invalid: KEYEXPIRED 1484261108
W: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ 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.

Como posso resolver isto?

Responder1

  1. https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease:

todos têm esses problemas (eu também tenho) - a Intel tem preguiça de criar a chave certa - não se preocupe

https://01.org/linuxgraphics/forum/graphics-installer-discussions/new-ubuntu-16.04-packages-use-unknown-key-again

  1. execute comandos:

    wget -q "http://deb.playonlinux.com/public.gpg" -O - | sudo apt-key add -

    sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list

  2. sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/lutris.list"

    wget -nv https://download.opensuse.org/repositories/home:strycore/xUbuntu_16.04/Release.key -O Release.key

    sudo apt-key add - < Release.key

    sudo apt-get update

https://www.ostechnix.com/manage-games-using-lutris-linux/

Responder2

remover sources.liste index.htmlem /etc/aptdir

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.list

então reinicie

Responder3

Basta atualizar a GUI e 'desmarcar' todos os "outros softwares". Atualizar cache vai funcionar bem agora, e 'sudo apt update' também.

informação relacionada