1º pergunta, erro apt-get update "main/binary-armhf/Packages 404 Not Found"

Iniciado por sergiopt, 20 de Setembro de 2013, 11:33

tópico anterior - próximo tópico

sergiopt

Olá esta é a minha primeira pergunta no forum.

Tudo começou quando tentei instalar o nvidia cuda toolkit 5.5, para ter mais rendimento no blender.
tenho o ubuntu 12.04 lts
nvidia gtx 650

Eu segui o guia de instalação:
http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#package-manager-installation

quando coloquei este código no terminal:
$ echo "foreign-architecture armhf" >> /etc/dpkg/dpkg.cfg.d/multiarch
$ sudo apt-get update

aparecem muitos erros.

Eu já tentei restaurar a source list e alterar o servidor de atualização para principal

abaixo erros do apt-get update:


Hit http://pt.archive.ubuntu.com precise Release.gpg
Obter:1 http://pt.archive.ubuntu.com precise-security Release.gpg [198 B]
Obter:2 http://pt.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://pt.archive.ubuntu.com precise Release
Obter:3 http://pt.archive.ubuntu.com precise-security Release [49,6 kB]
Obter:4 http://pt.archive.ubuntu.com precise-updates Release [49,6 kB]
Hit http://pt.archive.ubuntu.com precise/main Sources    
Hit http://pt.archive.ubuntu.com precise/restricted Sources
Hit http://pt.archive.ubuntu.com precise/universe Sources
Hit http://pt.archive.ubuntu.com precise/multiverse Sources
Hit http://pt.archive.ubuntu.com precise/main amd64 Packages
Hit http://pt.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://pt.archive.ubuntu.com precise/universe amd64 Packages
Hit http://pt.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://pt.archive.ubuntu.com precise/main i386 Packages
Hit http://pt.archive.ubuntu.com precise/restricted i386 Packages
Hit http://pt.archive.ubuntu.com precise/universe i386 Packages
Hit http://pt.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://pt.archive.ubuntu.com precise/main TranslationIndex
Hit http://pt.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://pt.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://pt.archive.ubuntu.com precise/universe TranslationIndex
Obter:5 http://pt.archive.ubuntu.com precise-security/main Sources [88,1 kB]
Obter:6 http://pt.archive.ubuntu.com precise-security/restricted Sources [2494 B]
Obter:7 http://pt.archive.ubuntu.com precise-security/universe Sources [28,0 kB]
Obter:8 http://pt.archive.ubuntu.com precise-security/multiverse Sources [1804 B]
Obter:9 http://pt.archive.ubuntu.com precise-security/main amd64 Packages [318 kB]
Obter:10 http://pt.archive.ubuntu.com precise-security/restricted amd64 Packages [4627 B]
Obter:11 http://pt.archive.ubuntu.com precise-security/universe amd64 Packages [82,2 kB]
Obter:12 http://pt.archive.ubuntu.com precise-security/multiverse amd64 Packages [2449 B]
Obter:13 http://pt.archive.ubuntu.com precise-security/main i386 Packages [337 kB]
Obter:14 http://pt.archive.ubuntu.com precise-security/restricted i386 Packages [4620 B]
Obter:15 http://pt.archive.ubuntu.com precise-security/universe i386 Packages [85,5 kB]
Obter:16 http://pt.archive.ubuntu.com precise-security/multiverse i386 Packages [2640 B]
Hit http://pt.archive.ubuntu.com precise-security/main TranslationIndex
Hit http://pt.archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://pt.archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://pt.archive.ubuntu.com precise-security/universe TranslationIndex
Obter:17 http://pt.archive.ubuntu.com precise-updates/main Sources [418 kB]
Obter:18 http://pt.archive.ubuntu.com precise-updates/restricted Sources [7031 B]
Obter:19 http://pt.archive.ubuntu.com precise-updates/universe Sources [95,6 kB]
Obter:20 http://pt.archive.ubuntu.com precise-updates/multiverse Sources [8343 B]
Obter:21 http://pt.archive.ubuntu.com precise-updates/main amd64 Packages [689 kB]
Obter:22 http://pt.archive.ubuntu.com precise-updates/restricted amd64 Packages [11,5 kB]
Obter:23 http://pt.archive.ubuntu.com precise-updates/universe amd64 Packages [216 kB]
Obter:24 http://pt.archive.ubuntu.com precise-updates/multiverse amd64 Packages [13,9 kB]
Obter:25 http://pt.archive.ubuntu.com precise-updates/main i386 Packages [708 kB]
Obter:26 http://pt.archive.ubuntu.com precise-updates/restricted i386 Packages [11,4 kB]
Obter:27 http://pt.archive.ubuntu.com precise-updates/universe i386 Packages [220 kB]
Obter:28 http://pt.archive.ubuntu.com precise-updates/multiverse i386 Packages [14,0 kB]
Hit http://pt.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://pt.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://pt.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://pt.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://pt.archive.ubuntu.com precise/main Translation-pt
Hit http://pt.archive.ubuntu.com precise/main Translation-pt_BR
Hit http://pt.archive.ubuntu.com precise/main Translation-en
Hit http://pt.archive.ubuntu.com precise/multiverse Translation-pt
Hit http://pt.archive.ubuntu.com precise/multiverse Translation-pt_BR
Hit http://pt.archive.ubuntu.com precise/multiverse Translation-en
Hit http://pt.archive.ubuntu.com precise/restricted Translation-pt
Hit http://pt.archive.ubuntu.com precise/restricted Translation-pt_BR
Hit http://pt.archive.ubuntu.com precise/restricted Translation-en
Hit http://pt.archive.ubuntu.com precise/universe Translation-pt
Hit http://pt.archive.ubuntu.com precise/universe Translation-pt_BR
Hit http://pt.archive.ubuntu.com precise/universe Translation-en
Hit http://pt.archive.ubuntu.com precise-security/main Translation-en
Hit http://pt.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://pt.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://pt.archive.ubuntu.com precise-security/universe Translation-en
Hit http://pt.archive.ubuntu.com precise-updates/main Translation-pt
Hit http://pt.archive.ubuntu.com precise-updates/main Translation-pt_BR
Hit http://pt.archive.ubuntu.com precise-updates/main Translation-en
Hit http://pt.archive.ubuntu.com precise-updates/multiverse Translation-pt
Hit http://pt.archive.ubuntu.com precise-updates/multiverse Translation-pt_BR
Hit http://pt.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://pt.archive.ubuntu.com precise-updates/restricted Translation-pt
Hit http://pt.archive.ubuntu.com precise-updates/restricted Translation-pt_BR
Hit http://pt.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://pt.archive.ubuntu.com precise-updates/universe Translation-pt
Hit http://pt.archive.ubuntu.com precise-updates/universe Translation-pt_BR
Hit http://pt.archive.ubuntu.com precise-updates/universe Translation-en
Err http://pt.archive.ubuntu.com precise/main armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise/restricted armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise/universe armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise/multiverse armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise-security/main armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise-security/restricted armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise-security/universe armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise-security/multiverse armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise-updates/main armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise-updates/restricted armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise-updates/universe armhf Packages
 404  Not Found
Err http://pt.archive.ubuntu.com precise-updates/multiverse armhf Packages
 404  Not Found
Obtidos 3468 kB em 2s (1216 kB/s)
W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise/main/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise-security/main/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise-security/restricted/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise-security/universe/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-armhf/Packages  404  Not Found

W: Falhou obter http://pt.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-armhf/Packages  404  Not Found

E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.


nota: Eu instalei o cuda toolkit, não a driver que vem junto com o pacote.
Eu tenho instalado a driver atraves deste ppa:ubuntu-x-swat/x-update

jeflui

Faz o seguinte:
cat /etc/dpkg/dpkg.cfg.d/multiarch
Se exibir apenas:
foreign-architecture armhf
sudo rm -rf /etc/dpkg/dpkg.cfg.d/multiarch

sergiopt

Obrigado jeflui, funcionou! , apos fazer apt get update já não vejo mais erros, no entanto apareceu no canto superior na minha janela um sinal proibido, cliquei e diz para executar o gestor de pacotes e abri o synaptic, tenho um ficheiro quebrado, "ia32-libs" será que devo reinstalar ou remover, visto que parece ser 32 bits e eu uso um um sistema 64 bits.



sergiopt