- Faça backup de todas as suas coisas, por exemplo, com rsync
-
iniciar um upgrade de versão com
do-release-upgrade
Eu constantemente recebo erros ao fazer
sudo apt-get update
Ou quando tento instalar algum aplicativo. Parece que algo foi quebrado com repositórios, mas eu restaurei sources.list
do zero várias vezes e apontei para servidores diferentes, mas não tive sucesso.
Agora, meu sources.list parece (eu mudei para o servidor principal):
1 ###### Ubuntu Main Repos
2 deb http://archive.ubuntu.com/ubuntu zesty main universe
3 deb-src http://archive.ubuntu.com/ubuntu zesty main universe
4
5 ###### Ubuntu Update Repos
6 deb http://archive.ubuntu.com/ubuntu zesty-security main universe
7
8 ###### Ubuntu Partner Repo
9 deb http://archive.canonical.com/ubuntu zesty partner
10 deb-src http://archive.canonical.com/ubuntu zesty partner
Quando faço para atualizar, obtenho:
~ $ sudo apt-get update
Ign:1 http://archive.ubuntu.com/ubuntu zesty InRelease
Ign:2 http://archive.ubuntu.com/ubuntu zesty-security InRelease
Err:3 http://archive.ubuntu.com/ubuntu zesty Release
404 Not Found [IP: 91.189.88.149 80]
Hit:4 http://archive.canonical.com/ubuntu zesty InRelease
Ign:5 http://archive.ubuntu.com/ubuntu zesty-security Release
Ign:6 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu zesty-security/main i386 Packages
Ign:8 http://archive.ubuntu.com/ubuntu zesty-security/main all Packages
Ign:9 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en
Ign:10 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en_US
Ign:11 http://archive.ubuntu.com/ubuntu zesty-security/main all DEP-11 Metadata
Ign:12 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata
Ign:13 http://archive.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons
Ign:14 http://archive.ubuntu.com/ubuntu zesty-security/universe all Packages
Ign:15 http://archive.ubuntu.com/ubuntu zesty-security/universe i386 Packages
Ign:16 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en_US
Ign:18 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en
Ign:19 http://archive.ubuntu.com/ubuntu zesty-security/universe all DEP-11 Metadata
Ign:20 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata
Ign:21 http://archive.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons
Ign:6 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu zesty-security/main i386 Packages
Ign:8 http://archive.ubuntu.com/ubuntu zesty-security/main all Packages
Ign:9 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en
Ign:10 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en_US
Ign:11 http://archive.ubuntu.com/ubuntu zesty-security/main all DEP-11 Metadata
Ign:12 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata
Ign:13 http://archive.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons
Ign:14 http://archive.ubuntu.com/ubuntu zesty-security/universe all Packages
Ign:15 http://archive.ubuntu.com/ubuntu zesty-security/universe i386 Packages
Ign:16 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en_US
Ign:18 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en
Ign:19 http://archive.ubuntu.com/ubuntu zesty-security/universe all DEP-11 Metadata
Ign:20 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata
Ign:21 http://archive.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons
Ign:6 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu zesty-security/main i386 Packages
Ign:8 http://archive.ubuntu.com/ubuntu zesty-security/main all Packages
Ign:9 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en
Ign:10 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en_US
Ign:11 http://archive.ubuntu.com/ubuntu zesty-security/main all DEP-11 Metadata
Ign:12 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata
Ign:13 http://archive.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons
Ign:14 http://archive.ubuntu.com/ubuntu zesty-security/universe all Packages
Ign:15 http://archive.ubuntu.com/ubuntu zesty-security/universe i386 Packages
Ign:16 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en_US
Ign:18 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en
Ign:19 http://archive.ubuntu.com/ubuntu zesty-security/universe all DEP-11 Metadata
Ign:20 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata
Ign:21 http://archive.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons
Ign:6 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu zesty-security/main i386 Packages
Ign:8 http://archive.ubuntu.com/ubuntu zesty-security/main all Packages
Ign:9 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en
Ign:10 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en_US
Ign:11 http://archive.ubuntu.com/ubuntu zesty-security/main all DEP-11 Metadata
Ign:12 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata
Ign:13 http://archive.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons
Ign:14 http://archive.ubuntu.com/ubuntu zesty-security/universe all Packages
Ign:15 http://archive.ubuntu.com/ubuntu zesty-security/universe i386 Packages
Ign:16 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en_US
Ign:18 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en
Ign:19 http://archive.ubuntu.com/ubuntu zesty-security/universe all DEP-11 Metadata
Ign:20 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata
Ign:21 http://archive.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons
Ign:6 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu zesty-security/main i386 Packages
Ign:8 http://archive.ubuntu.com/ubuntu zesty-security/main all Packages
Ign:9 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en
Ign:10 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en_US
Ign:11 http://archive.ubuntu.com/ubuntu zesty-security/main all DEP-11 Metadata
Ign:12 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata
Ign:13 http://archive.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons
Ign:14 http://archive.ubuntu.com/ubuntu zesty-security/universe all Packages
Ign:15 http://archive.ubuntu.com/ubuntu zesty-security/universe i386 Packages
Ign:16 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 Packages
Ign:17 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en_US
Ign:18 http://archive.ubuntu.com/ubuntu zesty-security/universe Translation-en
Ign:19 http://archive.ubuntu.com/ubuntu zesty-security/universe all DEP-11 Metadata
Ign:20 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata
Ign:21 http://archive.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons
Err:6 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 Packages
404 Not Found [IP: 91.189.88.149 80]
Ign:7 http://archive.ubuntu.com/ubuntu zesty-security/main i386 Packages
Ign:8 http://archive.ubuntu.com/ubuntu zesty-security/main all Packages
Ign:9 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en
Ign:10 http://archive.ubuntu.com/ubuntu zesty-security/main Translation-en_US
Ign:11 http://archive.ubuntu.com/ubuntu zesty-security/main all DEP-11 Metadata
Ign:12 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata
Ign:13 http://archive.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons
Ign:14 http://archive.ubuntu.com/ubuntu zesty-security/universe all Packages
Ign:15 http://archive.ubuntu.com/ubuntu zesty-security/universe i386 Packages
Ign:16 http://archive.ubuntu.com/ubuntu zesty-security/universe amd64 Packages
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu zesty Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://archive.ubuntu.com/ubuntu zesty-security 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
Parece que não foi possível encontrar o link.
Err:6 http://archive.ubuntu.com/ubuntu zesty-security/main amd64 Packages
404 Not Found [IP: 91.189.88.149 80]
Mas quanto a mim, o link é válido e pode ser verificado.
Estou fazendo algo errado? Acabei de copiar repositórios oficiais para a lista de fontes? Por que não é possível atualizar e instalar aplicativos usando-os?
~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty