Pacotes com pendencias nao resolvidas

Iniciado por transmentor, 03 de Agosto de 2013, 16:00

tópico anterior - próximo tópico

transmentor

Acho que aconteceu quando fui instalar o Skype. Não conseguir instalar e de quebra aparece um icone vermelho em cima da tela com a mensagem:

"Um erro aconteceu, por favor, utilize o gerenciador de pacotes, a partir do menu com click direito ou apt get em um terminal para ver o que esta errado.
A mensagem de erro foi: erro abrindo o cache:(E:MAlformed line 56 in source list/etc/apt/sources.list(disp parse), E: the package list or status file could nor be parsed or opened.) isso geralmente significa que os pacotes possuem pendencias nao resolvidas"

Ja deletei o skype mas o problema persiste.
Nao consigo acessar a central de programas.

O que faço?


Renan Rischiotto

Digite sudo apt-get update no terminal e veja se aparece algum erro, se tiver, poste o erro aqui.

transmentor

Renan, deu isso:

E: Linha mal formada 56 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)
E: A lista de fontes não pode ser lida.

Renan Rischiotto

Citação de: transmentor online 03 de Agosto de 2013, 19:52
Renan, deu isso:

E: Linha mal formada 56 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)
E: A lista de fontes não pode ser lida.


Hmm...
Digite sudo gedit /etc/apt/sources.list e cole o resultado aqui.

transmentor

Fiz e deu isso:


# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring 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/ raring main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ raring main restricted

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

deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb-src http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb-src http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://security.ubuntu.com/ubuntu raring-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 raring partner
deb-src http://archive.canonical.com/ubuntu raring 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 raring main
deb http://archive.canonical.com/raring partner
# deb-src http://archive.canonical.com/raring partner
# deb-src http://archive.canonical.com/raring partner
deb http://archive.canonical.com/ raring partner
# deb-src http://archive.canonical.com/ raring partner
deb-src http://extras.ubuntu.com/ubuntu raring main

---------x--------------


Arthur Bernardes

Tente substituir o conteúdo por esse, e depois execute sudo apt-get update && sudo apt-get upgrade e cole o resultado aqui.

Código (/etc/apt/sources.list) Selecionar
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted

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

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

deb http://br.archive.ubuntu.com/ubuntu/ raring universe
deb-src http://br.archive.ubuntu.com/ubuntu/ raring universe
deb http://br.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ raring-updates universe

deb http://br.archive.ubuntu.com/ubuntu/ raring multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ raring multiverse
deb http://br.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ raring-updates multiverse

deb http://br.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse

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

deb http://archive.canonical.com/ubuntu raring partner
deb-src http://archive.canonical.com/ubuntu raring partner

deb http://extras.ubuntu.com/ubuntu raring main
deb http://archive.canonical.com/ raring partner
deb-src http://archive.canonical.com/ raring partner
# deb-src http://archive.canonical.com/ raring partner
deb http://archive.canonical.com/ raring partner
# deb-src http://archive.canonical.com/ raring partner
deb-src http://extras.ubuntu.com/ubuntu raring main

transmentor

Arthur, deu certo! Obrigado!

Curiosidade, qual era o problema?

Arthur Bernardes

O problema era em uma url que tinha endereço errado, e provavelmente daria erro 404

Era essa as problemáticas.

deb http://archive.canonical.com/raring partner
# deb-src http://archive.canonical.com/raring partner
# deb-src http://archive.canonical.com/raring partner


Corrigi para.

deb http://archive.canonical.com/ raring partner
deb-src http://archive.canonical.com/ raring partner
# deb-src http://archive.canonical.com/ raring partner


Com isso, ao executar um sudo apt-get update, ele consegue conectar ao repositório dito acima.

Abraços.