Autor Tópico: Apt-get update não funciona  (Lida 2503 vezes)

Offline thiagodacuica

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Apt-get update não funciona
« Online: 13 de Maio de 2008, 15:34 »
Pessoal,

Andei desinstalando e instalando o Mplayer para tentar assistir arquivos .VOB

Não consegui arrumar esse problema e ganhei outros:

- o Totem não toca mais MP3 e nem oferece mais a possibilidade de instalar o gstreamer
-  o adicionar/remover programas; o gerenciador de pacotes synaptic; e nem o "canais de software" estão funcionando.
tentando abrir o synaptic, recebo este erro:

Citar
E: Tipo 'S' não é conhecido na linha 32 na lista de fontes /etc/apt/sources.list
E: A lista de fontes não pôde ser lida.
Configure as opções de repositórios para corrigir o problema.
E: _cache->open() failed, please report.

Fui ao repositório, verificar se universe, multiverse etc estavam ok... aí, recebi o seguinte comunicado

Não foi possível fazer o download de todos os índices de repositórios

Citar
O repositório pode não estar mais disponível ou pode não ter sido possível entrar em contato com o mesmo devido a problemas de rede. Caso esteja disponível, uma versão mais antiga do índice que falhou será usado. Em último caso, o repositório será ignorado. Cheque sua conexão de rede e certifique-se de que o endereço do repositório esteja correto nas preferências.


após clicar em fechar, havia esta janela:


Citar
E: Tipo 'S' não é conhecido na linha 42 na lista de fontes /etc/apt/sources.list
E: Não foi possível trancar o diretório de listas


e, por úlitmo:


Citar
E: Tipo 'S' não é conhecido na linha 42 na lista de fontes /etc/apt/sources.list
E: A lista de fontes não pôde ser lida.
Configure as opções de repositórios para corrigir o problema.
E: _cache->open() failed, please report.

aí, fui tentar resolver meu problema pelo terminal... . quando dei o comando o <apt-get update>, retorna esse erro:


Citar
root@MEUCOMPUTADOR:/home/<usuário># apt-get update
E: Tipo 'S' não é conhecido na linha 32 na lista de fontes /etc/apt/sources.list
root@MEUCOMPUTADOR:/home/<usuário>#



Alguém aí tem idéia de como posso proceder para reativar minha source.list?

muito obrigado....

Thiago MOlina




Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Apt-get update não funciona
« Resposta #1 Online: 13 de Maio de 2008, 16:09 »
Todas as mensagens apontam para um erro no arquivo /etc/apt/sources.list.

Caso tenha editado ele procure voltar a versão anterior, e caso não saiba coloque o conteúdo dele aqui.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline Raziel2k

  • Usuário Ubuntu
  • *
  • Mensagens: 41
    • Ver perfil
Re: Apt-get update não funciona
« Resposta #2 Online: 13 de Maio de 2008, 17:48 »
Bom vo colocar aqui o meu sources.list, se voce quiser copiar e ver se funciona, qualquer coisa voce edita depois. se nao quiser copiar tambem tudo bem ahiuahuiahi, mas mesmo assim se der pra colar o seu sources.list aqui pra gente ver.

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://br.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy main restricted

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

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-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://br.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://br.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe 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 hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

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

## Medibuntu - Ubuntu 8.04 “hardy heron”
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ hardy free non-free
deb-src http://packages.medibuntu.org/ hardy free non-free

Offline thiagodacuica

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Re: Apt-get update não funciona
« Resposta #3 Online: 14 de Maio de 2008, 03:28 »
Bom, não copiei a source.list acima porque uso o Gustsy ainda....


atendendo a pedidos.... aqui vai a source.list...


Citar
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ gutsy restricted main multiverse multiverse universe #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.


## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted multiverse universe #Added by software-properties

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.

## 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.

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://br.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe 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 gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe
deb http://archive.ubuntu.com/ubuntu/ gutsy multiverse restricted universe main
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted multiverse universe #Added by software-properties



root
root@sankofa
exit
#\

Eu usei um tutorial que modificava algumas coisas... um tal de dapper ou coisa parecida. Ele pediu para eu alterar a source.list e eu fiz. não postei porque agora percebi que era para o 6.04!!! Podem rir, eu deixo.... é lógico que não adiantou nada.... srsrsrs

De qquer maneira, vale dizer q essa lista q eu publiquei é o backup da source.list vigente de quando descobri o problema, ou seja, era ela que valia  quando notei o problema com o <# apt-get update>
Acabei de voltar a usá-la e recebo o seguinte erro do terminal:
Citar
E: Tipo 'root' não é conhecido na linha 47 na lista de fontes /etc/apt/sources.list

as vezes também aparece: < a lista de fontes não pode ser lida >

mais uma vez, obrigado...

Thiago MOlina

Offline clcampos

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 10.790
  • .:: User Linux #439596 ::.
    • Ver perfil
Re: Apt-get update não funciona
« Resposta #4 Online: 14 de Maio de 2008, 11:24 »
O sources.list é do hardy.

Não se pode colocar o do gutsy no lugar dele.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

Offline Raziel2k

  • Usuário Ubuntu
  • *
  • Mensagens: 41
    • Ver perfil
Re: Apt-get update não funciona
« Resposta #5 Online: 14 de Maio de 2008, 19:16 »
O sources.list é do hardy.

Não se pode colocar o do gutsy no lugar dele.

Hehehe, verdade, esqueci de perguntar qual versão ele tava usando, de qualquer maneira, na seção dicas e truques sempre tem as listas originais de repositórios de todas as versões.

Offline thiagodacuica

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Re: Apt-get update não funciona
« Resposta #6 Online: 15 de Maio de 2008, 21:13 »
Ae povo...

RESOLVIDO....

fui lá no Dicas e Truques, resolvi logo dois problemas: o da source.list e o "w32codecs"

valeu a ajuda.... realmente é isso que nos faz usar o linux: problema aparece, problema vai embora, e a gente aprende mais e mais a lidar com a tecnologia...

um grande abraço

Thiago