Erro durante a atualização de 14.04 a 16.04

0

Percebeu que o novo LTS foi lançado e recebeu um pop-up de notificação, mas quando tento fazer o upgrade, vem o seguinte:

W:Failed to fetch http://ports.ubuntu.com/dists/xenial/main/binary-amd64/Packages  404  Not Found [IP: 91.189.88.150 80]
W:Failed to fetch http://ports.ubuntu.com/dists/xenial/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.88.150 80]
W:Failed to fetch http://ports.ubuntu.com/dists/xenial/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
W:Failed to fetch http://ports.ubuntu.com/dists/xenial/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.88.150 80]
E:Some index files failed to download. They have been ignored, or old ones used instead.

Então, quando eu clico perto, ele reverte as alterações feitas. Eu tenho o servidor de atualização como 'Main Server'. Nossa conexão com a internet é estável

concise sources.list : (eu removi as linhas duplas comentadas)

# deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted

deb http://archive.ubuntu.com/ubuntu xenial main restricted
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
deb http://archive.ubuntu.com/ubuntu xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
deb http://archive.ubuntu.com/ubuntu xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
# deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main # disabled on upgrade to xenial
deb http://ports.ubuntu.com/ xenial main restricted
deb-src http://ports.ubuntu.com/ xenial-security main restricted

Obrigado!

    
por JellyWX 15.08.2016 / 15:26

1 resposta

1

Você pode tentar isto: Digite os comandos a seguir em um terminal

sudo rm /var/lib/apt/lists/* -vf

Então:

sudo apt-get update

O primeiro comando irá deletar seu cache de repo local (parece que às vezes eles podem entrar em um estado inconsistente) e o apt-get update irá atualizar a coisa toda da fonte.

    
por Federico Di Lembo 15.08.2016 / 15:51