Autor Tópico: Problemas em Fazer update ao Ubuntu e em ver DVD's  (Lida 1423 vezes)

Offline kumandus

  • Usuário Ubuntu
  • *
  • Mensagens: 1
    • Ver perfil
Problemas em Fazer update ao Ubuntu e em ver DVD's
« Online: 29 de Novembro de 2007, 15:12 »
Boa tarde a todos!!
Venho pedir-vos ajuda porque me apareceu o seguinte erro quando tento abrir: adicionar ou remover programas, instalar Synaptic e gestor de pacotes Synaptic.Este erro impede-me de abrir estas aplicações aparecendo em ecrã:
"E: Linha malformada 57 na lista de fontes /etc/apt/sources.list (tipo)
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."


Outro problema que tenho, é que ja tentei instalar diversos programas e bibliotecas, mas continuo sem conseguir ler dvd's.
Alguem pode-me ajudar?!
Muito Obigado desde já

alarcon

  • Visitante
Re: Problemas em Fazer update ao Ubuntu e em ver DVD's
« Resposta #1 Online: 29 de Novembro de 2007, 15:27 »
Boa tarde a todos!!
Venho pedir-vos ajuda porque me apareceu o seguinte erro quando tento abrir: adicionar ou remover programas, instalar Synaptic e gestor de pacotes Synaptic.Este erro impede-me de abrir estas aplicações aparecendo em ecrã:
"E: Linha malformada 57 na lista de fontes /etc/apt/sources.list (tipo)
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."


Outro problema que tenho, é que ja tentei instalar diversos programas e bibliotecas, mas continuo sem conseguir ler dvd's.
Alguem pode-me ajudar?!
Muito Obigado desde já


você pode fazer o seguinte, abrir um terminal ( Menu Aplicações > Acessórios > Terminal) e digitar:

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

isso irá fazer uma copia de segurança da sua sources.list ( lista de repositórios originais). Depois ainda no terminal faça:

sudo gedit /etc/apt/sources.list

e apague tudo que tem nele e copie e cole este aqui:

Código: [Selecionar]
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-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/ gutsy universe
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://br.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-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/ gutsy multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://br.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ gutsy-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/ 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://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

salve o arquivo e saia dele. Ainda no terminal digite:

sudo apt-get update

aguarde a atualização dos repositórios e então somente depois disto faça a instalação do que deseja.

OBS: Caso os programas que você esteja tentando instalar não estejam nos repositórios padrões, então adicione nele mais alguns ok. Tente novamente executar os comandos usados para você poder ver DVDs, pois pode ser que sua lista de repositórios anterior estava com problemas e não foi instalado corretamente o que você desejava, com esta última sources.list poderá resolver seu problema.

Se posteriormente você quiser retornar a sources.list anteriormente feito backup é so no terminal digitar:

sudo mv -f /etc/apt/sources.list_backup /etc/apt/sources.list


Atenção:
A sources.list apresentada por mim é para o Ubuntu 7.10 Gutsy se não for esta a versão usada, por favor ignore minhas dicas.
« Última modificação: 29 de Novembro de 2007, 15:37 por alarcon »