Atualizando Debian Squeeze para Wheezy

De MochilaWiki
Ir para navegaçãoIr para pesquisar
A versão imprimível não é mais suportada e pode ter erros de renderização. Atualize os favoritos do seu navegador e use a função de impressão padrão do navegador.

1 - atualize os endereços o arquivo com novos caminhos no /etc/apt/sources.list

deb http://sft.if.usp.br/debian/ wheezy main contrib non-free
deb-src http://sft.if.usp.br/debian/ wheezy main contrib non-free
deb http://sft.if.usp.br/debian-security/ wheezy/updates main contrib non-free
deb-src http://sft.if.usp.br/debian-security/ wheezy/updates main contrib non-free
deb http://sft.if.usp.br/debian/ wheezy-backports main contrib non-free
deb-src http://sft.if.usp.br/debian/ wheezy-backports main contrib non-free
deb http://sft.if.usp.br/debian-multimedia/ wheezy main non-free
deb-src http://sft.if.usp.br/debian-multimedia/ wheezy main non-free
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free

2 - baixando listas

apt-get update

vai voltar um erro, rode o comando

apt-get install debian-keyring debian-archive-keyring deb-multimedia-keyring

rode novamente update

apt-get update

3 - atualização básica

apt-get install apt dpkg aptitude
apt-get upgrade
apt-get install linux-image
update-grub

4 - atualização geral

apt-get dist-upgrade


5 - se der erro... tente

apt-get -f install

e depois

apt-get dist-upgrade

6 - se tudo ocorreu certo, reinicie a máquina

reboot

7 - limpa todos os arquivos baixado via apt

apt-get clean

8 - Verificar se todos os pacotes estão instalado e se não existe nenhum no estado “zombie”/em espera:

dpkg --audit
dpkg --get-selections | grep hold