
Estou tendo o erro a seguir:
Não foi possível inicializar as informações do pacote
Ocorreu um problema insolúvel ao inicializar as informações do pacote.
Por favor, relate este bug no pacote 'update-manager' e inclua a seguinte mensagem de erro: E:Linha malformada 56 na lista de fontes /etc/apt/sources.list (análise de URI), E:A lista de fontes não pôde ser lida ., E:As listas de pacotes ou o arquivo de status não puderam ser analisados ou abertos.
Eu sei que o problema é olinha 56 na lista de fontes, mas fiz tudo o que diz em "Como faço para remover uma linha malformada do meu sources.list?"porque é uma '[duplicada]' da minha primeira pergunta, mas o problema permanece mesmo com cada solução proposta, o que mais posso fazer?
Quando digito no Terminal gksu gedit /etc/apt/sources.list
recebo:
# deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2)]/ quantal main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ quantal main restricted
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mx.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
## 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://mx.archive.ubuntu.com/ubuntu/ quantal universe
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal universe
deb http://mx.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal-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://mx.archive.ubuntu.com/ubuntu/ quantal multiverse
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal multiverse
deb http://mx.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
## 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://mx.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mx.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu quantal-security main restricted
deb-src http://security.ubuntu.com/ubuntu quantal-security main restricted
deb http://security.ubuntu.com/ubuntu quantal-security universe
deb-src http://security.ubuntu.com/ubuntu quantal-security universe
deb http://security.ubuntu.com/ubuntu quantal-security multiverse
deb-src http://security.ubuntu.com/ubuntu quantal-security 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 quantal partner
# deb-src http://archive.canonical.com/ubuntu quantal partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu quantal main
deb-src socio http://archive.canonical.com/ precisa
deb-src http://extras.ubuntu.com/ubuntu quantal main
Obviamente devo dizer que sou novo nisso, então agradecerei sua ajuda.
E graças a -Elias Kagan- para me ensinar como colocar o 'fontes.lista' era exatamente o que eu queria fazer em primeiro lugar, mas não sabia como fazer, muito obrigado.
Responder1
Removera linha antes da última:
deb-src socio http://archive.canonical.com/ precisa
Parece que você editou manualmente e cometeu erros. Esta linha não indica nada específico ( main
, partner
, etc.), então não saberei o que essa linha deveria ser.
Após remover e salvar o arquivo, atualize as fontes dos pacotes, por exemplo sudo apt-get update
, ou clique emVerificarno gerenciador de atualização do sistema.
A propósito, não vejo como o âmbito mais amploComo faço para remover uma linha malformada do meu sources.list?pergunta não cobre isso.