E: Linha mal formada 52 no arquivo de fontes /etc/apt/sources.list

Iniciado por Anahi, 02 de Dezembro de 2010, 12:59

tópico anterior - próximo tópico

Anahi

Abri o Gerenciador de Pacotes Synaptic do Ubuntu 10.10 e apareceu a seguinte mensagem:

E: Linha mal formada 52 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)
E: A lista de origens não pôde ser lida.
Configure as opções de repositórios para corrigir o problema.
E: _cache->open() failed, please report.

No terminal, digitei gksudo gedit /etc/apt/sources.list e apareceu:


# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
deb-src http://archive.ubuntu.com/ubuntu maverick main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. 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/ maverick universe
deb http://br.archive.ubuntu.com/ubuntu/ maverick-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/ maverick multiverse
deb http://br.archive.ubuntu.com/ubuntu/ maverick-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/ lucid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-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 lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
# deb http://ppa.launchpad.net/telepathy/ppa/ubuntu maverick main # desabilitado na atualização para maverick
# deb-src http://ppa.launchpad.net/telepathy/ppa/ubuntu maverick main # desabilitado na atualização para maverick
deb http://extras.ubuntu.com/ubuntu maverick main #Third party developers repository
deb http://archive.canonical.com/ubuntu partner
deb-src http://archive.canonical.com/ubuntu partner

O que devo fazer? A Central de programas do Ubuntu também não está abrindo (inicia, mas fecha logo).

Obrigada.

irtigor

Remove
Citardeb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
E as duas ultimas, ou remove ou adiciona a parte em negrito
Citardeb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner

Depois rode um "sudo apt-get update" e diga se funcionou.

Anahi


irtigor

Que bom que funcionou, se possível edite a primeira mensagem, adicionando ao titulo [Resolvido].