sudo apt-get update: ошибка обновления !!
Версия Ubuntu: -
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
Ошибка: -
Reading package lists... Done
W: The repository 'https://download.docker.com/linux/ubuntu (lsb_release Release' does not have a Release file.
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.
E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/(lsb_release/-cs)/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead
.
Буду очень признателен за любую помощь!
Я решил эту проблему, добавив запись в sources.list & amp; комментируя несколько необязательных источников
sudo add-apt-repository "deb https://apt.dockerproject.org/repo/ $(cat /etc/issue | awk '{print $1}' | tr '[:upper:]' '[:lower:]')-$(lsb_release -cs) main"
После этого он попросил меня добавить отсутствующие PUB_KEY
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F76221572C52609D
После этого я сделал
sudo apt-get update
Проблема устранена