Autor Tópico: Problemas na atualização  (Lida 4048 vezes)

Offline Fialho

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Problemas na atualização
« Online: 09 de Janeiro de 2014, 01:03 »
Sou leigo no mundo linux/ubuntu/etc e não consigo resolver um problema que está ocorrendo:

Após alguma atualização passou a ocorrer o seguinte:

Falha ao baixar informações do repositório:

W:Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://linux.dropbox.com/ubuntu/dists/precise/Release  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/universe/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/binary-armhf/Packages  404  Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/main/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/restricted/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/universe/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/binary-armhf/Packages  404  Not Found [IP: 91.189.92.201 80]
, E:Some index files failed to download. They have been ignored, or old ones used instead.


Fui no synaptic \ configurações \ repositório

Estava servidor Brasil, troquei para Servidor Principal, não funcionou.

Está dando erro quando tento instalar o ubuntu one, parece ser o mesmo problema.

Tenho dual boot com o windows, o grub customizer, depois que tem alguma atualização, ele coloca o ubuntu na frente na lista de sistemas operacionais para escolher o boot. Várias vezes alterei a configuração para colocar o windows como primeira opção e tudo bem. Agora ele diz que faz mas, na hora do boot ele mostra o windows depois.

Obrigado por qualquer ajuda.
Marcos

Creto

  • Visitante
Re: Problemas na atualização
« Resposta #1 Online: 09 de Janeiro de 2014, 07:40 »
Erro 404, endereço não existente...

Duas sugestões:

Ou remova esse endereço da sua source; ou pesquise um pouco aqui no fórum que encontrará a solução para isso.

Clique nesses link e pelo navegador verá que não tem como atualizar nada através dele.

T+

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Problemas na atualização
« Resposta #2 Online: 09 de Janeiro de 2014, 08:04 »
Ola

Que coisa estranha heim? O que estava acrescentando em suas sources?

Remova todos os "-armhf" e troque pela versão de seu ubuntu (i386/amd64)

[]'s

Offline Fialho

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Problemas na atualização
« Resposta #3 Online: 09 de Janeiro de 2014, 17:40 »
Ola

Que coisa estranha heim? O que estava acrescentando em suas sources?

Remova todos os "-armhf" e troque pela versão de seu ubuntu (i386/amd64)

[]'s

A última coisa que instalei foi o mpich2, mas acho que o problema já existia, não tenho certeza.

Antes disso instalei o cuda/drives da placa de vídeo da nvidia mas, funcionou legal.

Quando você fala para remover os "-armhf" é via synaptic? Removo o que estiver instalado?

O problema passou a acontecer depois de uma atualização do ubuntu.

Erro 404, endereço não existente...

Duas sugestões:

Ou remova esse endereço da sua source; ou pesquise um pouco aqui no fórum que encontrará a solução para isso.

Clique nesses link e pelo navegador verá que não tem como atualizar nada através dele.

T+

Como  removo endereço da minha  "source" ?!?!
 

Offline jkmsjq

  • Usuário Ubuntu
  • *
  • Mensagens: 3.343
  • Ubuntu Member
    • Ver perfil
Re: Problemas na atualização
« Resposta #4 Online: 10 de Janeiro de 2014, 14:36 »
Copie e cole (Ctrl + Shift + V) no terminal o seguinte comando:

Código: [Selecionar]
sudo rm -r /var/lib/apt/lists/* ; sudo apt-get autoclean ; sudo apt-get autoremove --purge ; sudo apt-get update ; sudo apt-get upgrade ; sudo apt-get dist-upgrade
Depois, este outro comando:

Código: [Selecionar]
sudo rm /var/lib/apt/lists/* -vf

Para finalizar:

Código: [Selecionar]
sudo apt-get update && sudo apt-get dist-upgrade
LinuxUser: 548942 / Dando um tópico como resolvido
"A verdade só é agressiva a quem vive de mentiras". Autor desconhecido.
Twitter: @jeisonkertesz

Creto

  • Visitante
Re: Problemas na atualização
« Resposta #5 Online: 10 de Janeiro de 2014, 16:45 »
Olá amigos,

Acho que para que os comandos funcionem deve-se remover antes os endereços correspondentes a "-armhf" como o Tota sugeriu, isso no ubuntu não existe...

Ex:
No terminal digite ou copie e cole, dê enter e sua senha e poste o que houver lá aqui:
Código: [Selecionar]
sudo gedit /etc/apt/sources.list
T+

Offline Fialho

  • Usuário Ubuntu
  • *
  • Mensagens: 3
    • Ver perfil
Re: Problemas na atualização
« Resposta #6 Online: 10 de Janeiro de 2014, 20:14 »
No terminal digite ou copie e cole, dê enter e sua senha e poste o que houver lá aqui:
Código: [Selecionar]
sudo gedit /etc/apt/sources.list
T+

#

# deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ precise main restricted

# deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 (20130820.2)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu precise multiverse
deb-src http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://archive.canonical.com/ precise partner
deb-src http://archive.canonical.com/ precise partner