%C2%BB.png)
У меня есть Ubuntu Game Pack, и я пытаюсь его использовать sudo apt-get update
, но он возвращает ошибку
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.
Как мне решить эту проблему?
решение1
у всех такие проблемы (у меня тоже) - Intel ленится создавать правильный ключ - не волнуйтесь
выполните команды:
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
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
решение2
удалить sources.list
и index.html
в /etc/apt
дир
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
затем перезагрузитесь
решение3
Просто перейдите в обновление GUI и «отмените выбор» всех «других программ». Обновление кэша теперь будет работать хорошо, как и «sudo apt update».