Problemas ao utilizar o apt-get update [RESOLVIDO]

1. Problemas ao utilizar o apt-get update [RESOLVIDO]

Vitor Fernando dos Reis Pizzuto
vitorpizzuto

(usa elementary OS)

Enviado em 06/09/2014 - 00:16h

Galera, eu uso a distribuição Elementary OS, mas quando abro o terminal para realizar a atualização do sistema via apt-get upate, aparece o seguinte erro:

root@vitor-G31M-ES2L:/home/vitor# apt-get update
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise Release.gpg
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise Release
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/main TranslationIndex
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/restricted TranslationIndex
Err cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/main i386 Packages
Por favor, use o apt-cdrom para fazer com que este CD-ROM seja reconhecido pelo APT. O apt-get update não pode ser usado para adicionar novos CD-ROMs
Err cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/restricted i386 Packages
Por favor, use o apt-cdrom para fazer com que este CD-ROM seja reconhecido pelo APT. O apt-get update não pode ser usado para adicionar novos CD-ROMs
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/main Translation-pt_BR
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/main Translation-pt
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/main Translation-pt_PT
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/main Translation-en
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/restricted Translation-pt_BR
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/restricted Translation-pt
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/restricted Translation-pt_PT
Ign cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810) precise/restricted Translation-en
Atingido http://dl.google.com stable Release.gpg
Atingido http://dl.google.com stable Release
Obter:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Atingido http://ppa.launchpad.net precise Release.gpg
Atingido http://ppa.launchpad.net precise Release.gpg
Atingido http://ppa.launchpad.net precise Release.gpg
Atingido http://br.archive.ubuntu.com precise Release.gpg
Atingido http://br.archive.ubuntu.com precise-updates Release.gpg
Atingido http://br.archive.ubuntu.com precise-backports Release.gpg
Obter:2 http://security.ubuntu.com precise-security Release [50,7 kB]
Atingido http://dl.google.com stable/main i386 Packages
Atingido http://ppa.launchpad.net precise Release
Atingido http://br.archive.ubuntu.com precise Release
Atingido http://br.archive.ubuntu.com precise-updates Release
Ign http://dl.google.com stable/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports Release
Atingido http://ppa.launchpad.net precise Release
Atingido http://br.archive.ubuntu.com precise/main Sources
Atingido http://br.archive.ubuntu.com precise/restricted Sources
Atingido http://br.archive.ubuntu.com precise/universe Sources
Atingido http://br.archive.ubuntu.com precise/multiverse Sources
Atingido http://br.archive.ubuntu.com precise/main i386 Packages
Atingido http://br.archive.ubuntu.com precise/restricted i386 Packages
Atingido http://br.archive.ubuntu.com precise/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise/multiverse TranslationIndex
Atingido http://ppa.launchpad.net precise Release
Obter:3 http://security.ubuntu.com precise-security/main Sources [110 kB]
Atingido http://ppa.launchpad.net precise/main Sources
Atingido http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/main Sources
Atingido http://br.archive.ubuntu.com precise-updates/restricted Sources
Atingido http://br.archive.ubuntu.com precise-updates/universe Sources
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Sources
Atingido http://br.archive.ubuntu.com precise-updates/restricted i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/main i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/multiverse i386 Packages
Atingido http://ppa.launchpad.net precise/main Sources
Atingido http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Atingido http://ppa.launchpad.net precise/main Sources
Atingido http://ppa.launchpad.net precise/main i386 Packages
Atingido http://ppa.launchpad.net precise/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/main Sources
Atingido http://br.archive.ubuntu.com precise-backports/restricted Sources
Atingido http://br.archive.ubuntu.com precise-backports/universe Sources
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Sources
Atingido http://br.archive.ubuntu.com precise-backports/main i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/restricted i386 Packages
Obter:4 http://security.ubuntu.com precise-security/restricted Sources [2.494 B]
Obter:5 http://security.ubuntu.com precise-security/universe Sources [32,7 kB]
Obter:6 http://security.ubuntu.com precise-security/multiverse Sources [1.786 B]
Obter:7 http://security.ubuntu.com precise-security/main i386 Packages [450 kB]
Atingido http://br.archive.ubuntu.com precise-backports/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/main TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/main Translation-pt
Atingido http://br.archive.ubuntu.com precise/main Translation-en
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt
Atingido http://br.archive.ubuntu.com precise/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt_BR
Ign http://dl.google.com stable/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt
Atingido http://br.archive.ubuntu.com precise/universe Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-pt
Atingido http://ppa.launchpad.net precise/main Translation-en
Ign http://dl.google.com stable/main Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-pt
Ign http://dl.google.com stable/main Translation-pt_PT
Ign http://dl.google.com stable/main Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/main Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/universe Translation-en
Obter:8 http://security.ubuntu.com precise-security/restricted i386 Packages [4.620 B]
Obter:9 http://security.ubuntu.com precise-security/universe i386 Packages [103 kB]
Ign http://ppa.launchpad.net precise/main Translation-pt_BR
Ign http://ppa.launchpad.net precise/main Translation-pt
Ign http://ppa.launchpad.net precise/main Translation-pt_PT
Ign http://ppa.launchpad.net precise/main Translation-en
Obter:10 http://security.ubuntu.com precise-security/multiverse i386 Packages [2.644 B]
Atingido http://security.ubuntu.com precise-security/main TranslationIndex
Atingido http://security.ubuntu.com precise-security/multiverse TranslationIndex
Atingido http://security.ubuntu.com precise-security/restricted TranslationIndex
Atingido http://security.ubuntu.com precise-security/universe TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-pt_BR
Ign http://ppa.launchpad.net precise/main Translation-pt
Ign http://ppa.launchpad.net precise/main Translation-pt_PT
Ign http://ppa.launchpad.net precise/main Translation-en
Atingido http://security.ubuntu.com precise-security/main Translation-en
Atingido http://security.ubuntu.com precise-security/multiverse Translation-en
Atingido http://security.ubuntu.com precise-security/restricted Translation-en
Atingido http://security.ubuntu.com precise-security/universe Translation-en
Baixados 758 kB em 11s (65,0 kB/s)
W: Falhou ao buscar cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810)/dists/precise/main/binary-i386/Packages Por favor, use o apt-cdrom para fazer com que este CD-ROM seja reconhecido pelo APT. O apt-get update não pode ser usado para adicionar novos CD-ROMs

W: Falhou ao buscar cdrom://elementary OS 0.2 _Luna_ - Stable i386 (20130810)/dists/precise/restricted/binary-i386/Packages Por favor, use o apt-cdrom para fazer com que este CD-ROM seja reconhecido pelo APT. O apt-get update não pode ser usado para adicionar novos CD-ROMs

E: Alguns arquivos index falharam ao ser baixados. Eles foram ignorados, ou cópias antigas são usadas ao invés.


Pois bem, algum membro do fórum tem ideia do que possa estar ocasionando este erro? Também não consigo utilizar o apt-get upgrade.

Aguardo ansiosamente uma resposta.

Atenciosamente,
Vitor Pizzuto


  


2. MELHOR RESPOSTA

Luis R. C. Silva
luisrcs

(usa Linux Mint)

Enviado em 06/09/2014 - 07:31h

Remova o cdrom da lista de repositórios. Isso pode ser feito no Synaptic ou no gerenciador de pacotes, se tiver. Ou ainda por linha de comando, abra o terminal e, como root, abra o arquivo de configuração dos repositórios no editor de texto. Exemplo: gedit /etc/apt/sources.list daí é só procurar onde tem cdrom e apagar a linha.

Quanto ao erro não esquenta que não terá problema na atualização.

3. Re: Problemas ao utilizar o apt-get update [RESOLVIDO]

Kleyson
Nocttuam

(usa Ubuntu)

Enviado em 06/09/2014 - 02:34h

Como é baseado em Debian, o caminho provavelmente é:

1º Abra o arquivo /etc/apt/source.list(como root);
2º Comente a linha que fala do cdrom(acrescentar no começo da linha #)

Artigo sobre o assunto: http://www.vivaolinux.com.br/dica/Aptget-sem-CD-%28Debian%29






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts