Falha ao buscar fontes e pacotes, obtendo 404 [fechado]

0

Estou tentando atualizar meu Ubuntu 12.04.5 LTS antes de fazer o upgrade da versão. Infelizmente, não está funcionando. A APT está alegando que Sources não existe no repo de arquivo lv , que claramente não é verdade:

$ curl -I http://lv.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources.gz
HTTP/1.1 200 OK
Date: Mon, 29 Sep 2014 10:37:57 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Wed, 25 Apr 2012 22:49:07 GMT
ETag: "8bd598-5f322e-4be88adc45ec0"
Accept-Ranges: bytes
Content-Length: 6238766
Connection: close
Content-Type: application/x-gzip

$ curl -I http://lv.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources.bz2
HTTP/1.1 200 OK
Date: Mon, 29 Sep 2014 10:37:58 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Wed, 25 Apr 2012 22:49:07 GMT
ETag: "8bf600-4c95e1-4be88adc45ec0"
Accept-Ranges: bytes
Content-Length: 5019105
Connection: close
Content-Type: application/x-bzip2

apt-get update log abaixo.

Hit http://lv.archive.ubuntu.com precise Release.gpg
Hit http://lv.archive.ubuntu.com precise-updates Release.gpg
Hit http://lv.archive.ubuntu.com precise Release
Hit http://lv.archive.ubuntu.com precise-updates Release
Hit http://lv.archive.ubuntu.com precise/main Sources
Hit http://lv.archive.ubuntu.com precise/restricted Sources
Hit http://lv.archive.ubuntu.com precise/multiverse Sources
Hit http://lv.archive.ubuntu.com precise/main i386 Packages
Hit http://lv.archive.ubuntu.com precise/main TranslationIndex
Hit http://lv.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://lv.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://lv.archive.ubuntu.com precise/universe TranslationIndex
Hit http://lv.archive.ubuntu.com precise-updates/main Sources
Hit http://lv.archive.ubuntu.com precise-updates/restricted Sources
Hit http://lv.archive.ubuntu.com precise-updates/universe Sources
Hit http://lv.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://lv.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://lv.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://lv.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://lv.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://lv.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://lv.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://lv.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://lv.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://lv.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://lv.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://lv.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://lv.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://lv.archive.ubuntu.com precise/main Translation-en
Hit http://lv.archive.ubuntu.com precise/multiverse Translation-en
Hit http://lv.archive.ubuntu.com precise/restricted Translation-en
Hit http://lv.archive.ubuntu.com precise/universe Translation-en
Hit http://lv.archive.ubuntu.com precise-updates/main Translation-en
Hit http://lv.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://lv.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://lv.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://security.ubuntu.com precise-security Release
Err http://lv.archive.ubuntu.com precise/universe Sources
  404  Not Found
Err http://lv.archive.ubuntu.com precise/main amd64 Packages
  404  Not Found
Err http://lv.archive.ubuntu.com precise/restricted amd64 Packages
  404  Not Found
Err http://lv.archive.ubuntu.com precise/universe amd64 Packages
  404  Not Found
Err http://lv.archive.ubuntu.com precise/multiverse amd64 Packages
  404  Not Found
Err http://lv.archive.ubuntu.com precise/restricted i386 Packages
  404  Not Found
Err http://lv.archive.ubuntu.com precise/universe i386 Packages
  404  Not Found
Err http://lv.archive.ubuntu.com precise/multiverse i386 Packages
  404  Not Found
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://repo.percona.com precise Release.gpg
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://repo.percona.com precise Release
Hit http://repo.percona.com precise/main Sources
Hit https://get.docker.io docker Release.gpg
Hit https://get.docker.io docker Release
Hit http://repo.percona.com precise/main amd64 Packages
Hit http://repo.percona.com precise/main i386 Packages
Ign http://repo.percona.com precise/main TranslationIndex
Hit https://get.docker.io docker/main amd64 Packages
Hit https://get.docker.io docker/main i386 Packages
Get:1 https://get.docker.io docker/main TranslationIndex [77.0 kB]
Ign https://get.docker.io docker/main TranslationIndex
Ign http://repo.percona.com precise/main Translation-en_US
Ign http://repo.percona.com precise/main Translation-en
Ign https://get.docker.io docker/main Translation-en_US
Ign https://get.docker.io docker/main Translation-en
W: Failed to fetch http://lv.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources  404  Not Found

W: Failed to fetch http://lv.archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://lv.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://lv.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://lv.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://lv.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://lv.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://lv.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-i386/Packages  404  Not Found

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

Resolvido

Aparentemente, é um problema com o lv.archive.ubuntu.com. Remover o prefixo "lv" (e mudar para o arquivo archive.ubuntu.com) resolveu o problema.

    
por Kaspars Foigts 29.09.2014 / 12:41

1 resposta

1

O problema é resolvido alterando o host do repositório do apt-get de lv.archive.ubuntu.com para archive.ubuntu.com . Aparentemente, o espelho não está atualizado ou tem alguns problemas de configuração.

    
por Kaspars Foigts 30.09.2014 / 07:49