sudo apt-get atualização jogando erro?

0

sudo apt-get update jogando erro !!

Versão do 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

Erro: -

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

.

Aprecio profundamente qualquer ajuda !!

    
por JavaAppUser 28.11.2017 / 10:47

1 resposta

1

Resolvi esse problema adicionando uma entrada em sources.list & amp; comentando algumas fontes não necessárias

sudo add-apt-repository "deb https://apt.dockerproject.org/repo/ $(cat /etc/issue | awk '{print $1}' | tr '[:upper:]' '[:lower:]')-$(lsb_release -cs) main"

Depois disso, ele me pediu para adicionar PUB_KEY ausente

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F76221572C52609D

Depois disso, eu fiz

sudo apt-get update

Problema resolvido

    
por JavaAppUser 28.11.2017 / 11:30