Autor Tópico: Problema com o Synaptic (resolvido)  (Lida 2160 vezes)

Offline anderos

  • Usuário Ubuntu
  • *
  • Mensagens: 68
    • Ver perfil
Problema com o Synaptic (resolvido)
« Online: 21 de Janeiro de 2007, 22:33 »
Moçada,

    estou usado o 6.10, e até agora funcionou muito bem. Entretanto, quando entro no Synaptic, ao carregar aparece uma caixa que acusa o seguinte erro:

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.

Em seguida uma outra caixa:

E: Linha malformada 5 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)
E: Não foi possível trancar o diretório de listas


Rodei sudo apt-get update:

andre@ubuntu:~$ sudo apt-get update
Password:
E: Linha malformada 5 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)


Não faço a menor idéia do que está acontecendo. Só sei que no Synaptic não aparece mais nada, pacote nem programa nenhum listado, e o gerenciador de atualizações aparece na tela dizendo que:

E: Linha malformada 5 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)
E: A lista de fontes não pôde ser lida.
Configure as opções de repositórios para corrigir o problema
.

Alguém pode me ajudar? Obrigado.
« Última modificação: 23 de Janeiro de 2007, 00:56 por anderos »

Offline BetinhoDJ

  • Usuário Ubuntu
  • *
  • Mensagens: 129
  • Ubuntu 7.04 / Arch Linux
    • Ver perfil
Re: Problema com o Synaptic
« Resposta #1 Online: 21 de Janeiro de 2007, 22:41 »
Coloque aqui o conteudo do arquivo sources.list que está na pasta /etc/apt para o pessoal poder analisar melhor e te ajudar com o problema.

Vivendo e Aprendendo!!

Offline anderos

  • Usuário Ubuntu
  • *
  • Mensagens: 68
    • Ver perfil
Re: Problema com o Synaptic
« Resposta #2 Online: 21 de Janeiro de 2007, 23:31 »
Valeu BetinhoDJ. O conteúdo de /etc/apt/sources.list é:

#
# deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025.1)]/ edgy


deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025.1)]/ edgy

deb http://br.archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse

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

## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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/ edgy

## 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/ edgy-backports main restricted universe multiverse


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

## Seveas
# deb http://seveas.imbrandon.com edgy-seveas all
# deb-src http://seveas.imbrandon.com edgy-seveas all

#Cristhian Marillat (multimidia) - Descomente apenas para instalar os codecs necessários.
# Opção alternativa do Seveas
# deb http://www.debian-multimedia.org sarge main
# deb http://www.debian-multimedia.org etch main
# deb http://www.debian-multimedia.org sid main

deb http://archive.ubuntu.com/ubuntu/ edgy-proposed restricted main multiverse universe

Offline BetinhoDJ

  • Usuário Ubuntu
  • *
  • Mensagens: 129
  • Ubuntu 7.04 / Arch Linux
    • Ver perfil
Re: Problema com o Synaptic
« Resposta #3 Online: 22 de Janeiro de 2007, 10:46 »
Comente a quinta linha do seu sources.list adicionando um # no inicio da linha:
deb cdrom:[Ubuntu 6.10 _Edgy Eft_ - Release i386 (20061025.1)]/ edgy
Esta linha esta buscando o cd com pacotes do Ubuntu no cdrom e como o cd não esta lá ele retorna pra você a mensagem de que a lista não pôde ser lida.

Vivendo e Aprendendo!!

Offline anderos

  • Usuário Ubuntu
  • *
  • Mensagens: 68
    • Ver perfil
Re: Problema com o Synaptic
« Resposta #4 Online: 22 de Janeiro de 2007, 16:23 »
Aí BatinhoDj,


        valeu, mas não resolveu não. Bom, eu entrei no Ubuntu Edgy Eft Guide (http://ubuntuguide.org/wiki/Ubuntu_Edgy#How_to_add_extra_repositories) e substituí o sources.list por isso aqui:


## Add comments (##) in front of any line to remove it from being checked.   
## Use the following sources.list at your own risk. 

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

deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse

## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse

## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse

## BACKPORTS REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse

## PLF REPOSITORY (Unsupported.  May contain illegal packages.  Use at own risk.)
deb http://medibuntu.sos-sts.com/repo/ edgy free
deb http://medibuntu.sos-sts.com/repo/ edgy non-free
deb-src http://medibuntu.sos-sts.com/repo/ edgy free
deb-src http://medibuntu.sos-sts.com/repo/ edgy non-free
                                                                                                                                         
## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu
## servers. RealPlayer10, Opera, DesktopSecure and more to come.)
deb http://archive.canonical.com/ubuntu edgy-commercial main

## Listen
#deb http://theli.free.fr/packages/ edgy listen


Bom, agora o Synaptic está funcionando. Pode dar algum problema?

Abraço.

Offline BetinhoDJ

  • Usuário Ubuntu
  • *
  • Mensagens: 129
  • Ubuntu 7.04 / Arch Linux
    • Ver perfil
Re: Problema com o Synaptic
« Resposta #5 Online: 22 de Janeiro de 2007, 16:48 »
Use somente os repositórios oficiais para atualizar o sistema... deixe os demais comentados e ative somente para instalar algum pacote que você precise. E não esqueça de a cada mudança que fizer nos repositórios dar um apt-get update ou recarregar pelo Synaptic.
« Última modificação: 22 de Janeiro de 2007, 16:51 por BetinhoDJ »

Vivendo e Aprendendo!!