[RESOLVIDO]Atualizar Ubuntu 9.04

Iniciado por gabrieldlm, 14 de Maio de 2012, 15:56

tópico anterior - próximo tópico

gabrieldlm

Estou com problema para atualizar o Ubuntu 9.04 que esta instalado num VPS , só que parece que orepositorio ta desatualizado ou nao existe mais.


root@gdlmc:/etc/apt# apt-get update
E: Malformed line 4 in source list /etc/apt/sources.list (dist)
root@gdlmc:/etc/apt# vi sources.list
root@gdlmc:/etc/apt# apt-get update
Ign http://archive.ubuntu.com jaunty Release.gpg
Ign http://archive.ubuntu.com jaunty-updates Release.gpg
Ign http://archive.ubuntu.com jaunty-security Release.gpg
Ign http://archive.ubuntu.com jaunty Release              
Ign http://archive.ubuntu.com jaunty-updates Release      
Ign http://mirror.internode.on.net jaunty Release.gpg      
Ign http://mirror.internode.on.net jaunty-updates Release.gpg
Ign http://mirror.internode.on.net jaunty-security Release.gpg
Ign http://archive.ubuntu.com jaunty-security Release
Ign http://archive.ubuntu.com jaunty/main Packages
Ign http://archive.ubuntu.com jaunty/restricted Packages
Ign http://archive.ubuntu.com jaunty/universe Packages
Ign http://archive.ubuntu.com jaunty-updates/main Packages
Ign http://archive.ubuntu.com jaunty-updates/restricted Packages
Ign http://archive.ubuntu.com jaunty-updates/universe Packages
Ign http://archive.ubuntu.com jaunty-security/main Packages
Ign http://archive.ubuntu.com jaunty-security/restricted Packages
Ign http://archive.ubuntu.com jaunty-security/universe Packages
Ign http://archive.ubuntu.com jaunty/main Packages
Ign http://archive.ubuntu.com jaunty/restricted Packages
Ign http://mirror.internode.on.net jaunty Release
Ign http://mirror.internode.on.net jaunty-updates Release
Ign http://archive.ubuntu.com jaunty/universe Packages
Ign http://archive.ubuntu.com jaunty-updates/main Packages
Ign http://archive.ubuntu.com jaunty-updates/restricted Packages
Ign http://archive.ubuntu.com jaunty-updates/universe Packages
Ign http://archive.ubuntu.com jaunty-security/main Packages
Ign http://archive.ubuntu.com jaunty-security/restricted Packages
Ign http://archive.ubuntu.com jaunty-security/universe Packages
Err http://archive.ubuntu.com jaunty/main Packages
 404 Not Found [IP: 91.189.92.188 80]
Ign http://mirror.internode.on.net jaunty-security Release
Ign http://mirror.internode.on.net jaunty/main Packages
Ign http://mirror.internode.on.net jaunty/restricted Packages
Ign http://mirror.internode.on.net jaunty/main Sources
Ign http://mirror.internode.on.net jaunty/restricted Sources
Ign http://mirror.internode.on.net jaunty/universe Packages
Err http://archive.ubuntu.com jaunty/restricted Packages
 404 Not Found [IP: 91.189.92.188 80]
Err http://archive.ubuntu.com jaunty/universe Packages
 404 Not Found [IP: 91.189.92.188 80]
Err http://archive.ubuntu.com jaunty-updates/main Packages
 404 Not Found [IP: 91.189.92.188 80]
Err http://archive.ubuntu.com jaunty-updates/restricted Packages
 404 Not Found [IP: 91.189.92.188 80]
Err http://archive.ubuntu.com jaunty-updates/universe Packages
 404 Not Found [IP: 91.189.92.188 80]
Err http://archive.ubuntu.com jaunty-security/main Packages
 404 Not Found [IP: 91.189.92.188 80]
Ign http://mirror.internode.on.net jaunty/universe Sources
Ign http://mirror.internode.on.net jaunty/multiverse Packages
Ign http://mirror.internode.on.net jaunty/multiverse Sources
Err http://archive.ubuntu.com jaunty-security/restricted Packages
 404 Not Found [IP: 91.189.92.188 80]
Err http://archive.ubuntu.com jaunty-security/universe Packages
 404 Not Found [IP: 91.189.92.188 80]
Ign http://mirror.internode.on.net jaunty-updates/main Packages
Ign http://mirror.internode.on.net jaunty-updates/restricted Packages
Ign http://mirror.internode.on.net jaunty-updates/main Sources
Ign http://mirror.internode.on.net jaunty-updates/restricted Sources
Ign http://mirror.internode.on.net jaunty-updates/universe Packages
Ign http://mirror.internode.on.net jaunty-updates/universe Sources
Ign http://mirror.internode.on.net jaunty-updates/multiverse Packages
Ign http://mirror.internode.on.net jaunty-updates/multiverse Sources
Ign http://mirror.internode.on.net jaunty-security/main Packages
Ign http://mirror.internode.on.net jaunty-security/restricted Packages
Ign http://mirror.internode.on.net jaunty-security/main Sources
Ign http://mirror.internode.on.net jaunty-security/restricted Sources
Ign http://mirror.internode.on.net jaunty-security/universe Packages
Ign http://mirror.internode.on.net jaunty-security/universe Sources
Ign http://mirror.internode.on.net jaunty-security/multiverse Packages
Ign http://mirror.internode.on.net jaunty-security/multiverse Sources
Ign http://mirror.internode.on.net jaunty/main Packages
Ign http://mirror.internode.on.net jaunty/restricted Packages
Ign http://mirror.internode.on.net jaunty/main Sources
Ign http://mirror.internode.on.net jaunty/restricted Sources
Ign http://mirror.internode.on.net jaunty/universe Packages
Ign http://mirror.internode.on.net jaunty/universe Sources
Ign http://mirror.internode.on.net jaunty/multiverse Packages
Ign http://mirror.internode.on.net jaunty/multiverse Sources
Ign http://mirror.internode.on.net jaunty-updates/main Packages
Ign http://mirror.internode.on.net jaunty-updates/restricted Packages
Ign http://mirror.internode.on.net jaunty-updates/main Sources
Ign http://mirror.internode.on.net jaunty-updates/restricted Sources
Ign http://mirror.internode.on.net jaunty-updates/universe Packages
Ign http://mirror.internode.on.net jaunty-updates/universe Sources
Ign http://mirror.internode.on.net jaunty-updates/multiverse Packages
Ign http://mirror.internode.on.net jaunty-updates/multiverse Sources
Ign http://mirror.internode.on.net jaunty-security/main Packages
Ign http://mirror.internode.on.net jaunty-security/restricted Packages
Ign http://mirror.internode.on.net jaunty-security/main Sources
Ign http://mirror.internode.on.net jaunty-security/restricted Sources
Ign http://mirror.internode.on.net jaunty-security/universe Packages
Ign http://mirror.internode.on.net jaunty-security/universe Sources
Ign http://mirror.internode.on.net jaunty-security/multiverse Packages
Ign http://mirror.internode.on.net jaunty-security/multiverse Sources
Err http://mirror.internode.on.net jaunty/main Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty/restricted Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty/main Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty/restricted Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty/universe Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty/universe Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty/multiverse Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty/multiverse Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty-updates/main Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty-updates/restricted Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty-updates/main Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty-updates/restricted Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty-updates/universe Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty-updates/universe Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty-updates/multiverse Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty-updates/multiverse Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty-security/main Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty-security/restricted Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty-security/main Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty-security/restricted Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty-security/universe Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty-security/universe Sources
 404 Not Found
Err http://mirror.internode.on.net jaunty-security/multiverse Packages
 404 Not Found
Err http://mirror.internode.on.net jaunty-security/multiverse Sources
 404 Not Found
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty/main/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty/restricted/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty/universe/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-updates/main/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-updates/restricted/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-security/main/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-security/restricted/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jaunty-security/universe/binary-i386/Packages  404 Not Found [IP: 91.189.92.188 80]

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty/main/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty/restricted/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty/main/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty/restricted/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty/universe/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty/universe/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty/multiverse/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty/multiverse/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-updates/main/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-updates/restricted/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-updates/main/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-updates/restricted/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-updates/universe/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-updates/universe/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-updates/multiverse/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-updates/multiverse/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-security/main/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-security/restricted/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-security/main/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-security/restricted/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-security/universe/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-security/universe/source/Sources  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-security/multiverse/binary-i386/Packages  404 Not Found

W: Failed to fetch http://mirror.internode.on.net/pub/ubuntu/ubuntu/dists/jaunty-security/multiverse/source/Sources  404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.



E o apt-get dist-upgrade tambem não vai...

Se alguem puder me dar uma luz agradeco

abs,

platao

\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

gabrieldlm

#2
Só um problema , quando e dou apt-get dist-upgrade


root@gdlmc:/etc/apt# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  dash
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 94.6kB of archives.
After this operation, 229kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://old-releases.ubuntu.com jaunty/main dash 0.5.4-12ubuntu2 [94.6kB]
Fetched 94.6kB in 0s (108kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
Selecting previously deselected package dash.
(Reading database ... 21088 files and directories currently installed.)
Unpacking dash (from .../dash_0.5.4-12ubuntu2_i386.deb) ...
Setting up dash (0.5.4-12ubuntu2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding `diversion of /bin/sh to /bin/sh.distrib by dash'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Adding `diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
[\code]

zekkerj

Mas qual o problema? Aparentemente atualizou o sistema...
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

gabrieldlm

Olha aqui oque aparece


root@gdlmc:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@gdlmc:~# lsb_release --short --codename
jaunty
[\code]

zekkerj

Sim, é o que devia aparecer. Vc esperava alguma outra coisa? ???
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

gabrieldlm

Bom, não era pra ser outra versao?

zekkerj

Não, vc só atualizou os pacotes... pra atualizar a versão, o procedimento é outro.

Mas, na boa? não vale a pena. Vc vai atualizar do 9.04 pro 9.10, que também é desatualizado. Melhor seria baixar a imagem do 12.04 e instalar diretamente sobre esse. Mesmo tendo que reinstalar tudo, deve dar menos trabalho...
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Tota

Ola,

Se quer ter bastante trabalho ( são mais ou menos 700 megas entre cada upgrade) veja:

1) troque os repositórios para os old-releases como indicado pelo platão;

Depois são três comandos para trocar os repositórios, atualizar e mudar de versão :

2) De 9.04 para 9.10

sudo sed -i 's/jaunty/karmic/g' /etc/apt/sources.list
sudo ap-get update
sudo apt-get dist-upgrade

3) De 9.10 para 10.04

sudo sed -i 's/karmic/lucid/g' /etc/apt/sources.list
sudo ap-get update
sudo apt-get dist-upgrade

4) De 10.04 para 10.10

sudo sed -i 's/lucid/maverick/g' /etc/apt/sources.list
sudo ap-get update
sudo apt-get dist-upgrade

5) De 10.10 para 11.04

sudo sed -i 's/old-releases.ubuntu.com/archive.ubuntu.com/g' /etc/apt/sources.list
sudo sed -i 's/maverick/natty/g' /etc/apt/sources.list
sudo ap-get update
sudo apt-get dist-upgrade

6) Se desejar continuar atualizando, como o 11.04 ainda tem suporte usesudo update-manager -d

Com isto você atualiza para o 11.11

7) Continuandosudo update-manager -d
chegará ao 12.04

Ou siga o proposto pelo zekkerj, é muito mais simples.

Bom trabalho

[]'s

zekkerj

CitarSe quer ter bastante trabalho ( são mais ou menos 700 megas entre cada upgrade) ...
Na minha experiência, leva-se em torno de 24h em cada atualização, entre download e instalação dos pacotes.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

gabrieldlm

Opa, vlw, acho que vou fazer do jeito do zekkerj  mesmo.


gabrieldlm

Então, estava eu tentando fazer o update quando descobri que meu serivdor nao permite manipulação de ISO's então fui fazer a atualização manualai na hora de do 10.10 pro 11.04 me aparece essa mensagem


root@gdlmc:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libc6 : Depends: libc-bin (= 2.12.1-0ubuntu10.4) but 2.13-0ubuntu13.1 is installed
libnih1 : Depends: libc6 (> 2.13~) but 2.12.1-0ubuntu10.4 is installed
E: Unmet dependencies. Try using -f.
[\code]

Alguma boa alma ?

zekkerj

Tentou o "apt-get -f install"?
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

zekkerj

#13
Só uma coisa, seu servidor não tem unidade de CD? Pq tudo que vc precisa fazer é baixar o CD de instalação e gravar, isso pode ser feito em qualquer máquina...

Com a imagem gravada, vc dá boot no servidor com ela, e reinstala, só tomando o cuidado de não formatar as partições pra não perder dados.

Mas mesmo assim, faça backup de tudo, OK?
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

gabrieldlm

Zakkerj,

Na verdade é um VPS , eo -f install nao funcionou