Autor Tópico: Central de Programas do Ubuntu não abre  (Lida 3884 vezes)

Offline markuscorreia

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Central de Programas do Ubuntu não abre
« Online: 05 de Janeiro de 2011, 17:01 »
Oi pessoal, sou novo aqui no fórum e na utilização do Ubuntu.
Instalei o Ubuntu 10.10, mas não consigo instalar nenhum programa nele.
Quando tento abrir a central de programas do Ubuntu, ela fica carregando e simplesmente não abre!
Já tentei instalar programas de várias formas, mas não consigo!
Tentei também abrir através do terminal mas apresenta o seguinte erro, alguem sabe informar do que se trata?

Usu@D6702:~$ sudo software-center
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/apt/aptcache.py", line 105, in open
    self._cache = apt.Cache(GtkMainIterationProgress())
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__
    self.open(progress)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 130, in open
    self._list.read_main_list()
SystemError: E:Linha mal formada 59 no arquivo de fontes /etc/apt/sources.list (distribuição)
2011-01-05 15:46:08,894 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/db/database.py', 96, 'open')'
2011-01-05 15:46:08,894 - root - WARNING - failed to add sca db Couldn't detect type of database
Traceback (most recent call last):
  File "/usr/bin/software-center", line 90, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
  File "/usr/share/software-center/softwarecenter/app.py", line 316, in __init__
    self.view_switcher = ViewSwitcher(self.view_manager, datadir, self.db, self.cache, self.icons)
  File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 59, in __init__
    store = ViewSwitcherList(view_manager, datadir, db, cache, icons)
  File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 321, in __init__
    self._update_channel_list()
  File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 395, in _update_channel_list
    self._update_channel_list_installed_view()
  File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 448, in _update_channel_list_installed_view
    if (pkgname in self.cache and
  File "/usr/share/software-center/softwarecenter/apt/aptcache.py", line 128, in __contains__
    return self._cache.__contains__(k)
AttributeError: 'NoneType' object has no attribute '__contains__'
Usu@D6702:~$

Desde já agradeço.

Offline sistematico

  • Usuário Ubuntu
  • *
  • Mensagens: 576
  • Sistematico
    • Ver perfil
    • Sistematico.org
Re: Central de Programas do Ubuntu não abre
« Resposta #1 Online: 05 de Janeiro de 2011, 17:35 »
Não leu o erro, olha só:
Código: [Selecionar]
SystemError: E:Linha mal formada 59 no arquivo de fontes /etc/apt/sources.list (distribuição)
Claro como a água.
Lucas Saliés Brum
Ubuntu User #27150
http://sistematico.org

Offline markuscorreia

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re: Central de Programas do Ubuntu não abre
« Resposta #2 Online: 05 de Janeiro de 2011, 17:59 »
ôpa blz, é que eu estou começando agora literalmente, então algumas coisas ainda não entendo muito bem, valeu abriu meus olhos..rs
Mas, continuo sem conseguir instalar programas, eu clico lá no programa que quero instalar, clico em usar a fonte que aparece, ele roda por alguns momentos e para sem resposta alguma. Tentei pelo terminal mas aparece a seguinte mensagem;

Usu@D6702:~$ sudo apt-get install amsn
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
E: Impossível encontrar o pacote amsn
Usu@D6702:~$

Eu acesso a internet através de um proxy, será que tem algo haver?

Obrigado!

Offline markuscorreia

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re: Central de Programas do Ubuntu não abre
« Resposta #3 Online: 06 de Janeiro de 2011, 08:59 »
Alguem poderia me ajudar?

Offline RonaldoRG

  • Usuário Ubuntu
  • *
  • Mensagens: 659
    • Ver perfil
    • Twitter: @rafas_andrade
Re: Central de Programas do Ubuntu não abre
« Resposta #4 Online: 06 de Janeiro de 2011, 09:05 »
Tenta atualizar a lista assim:
Código: [Selecionar]
sudo apt-get update
Se continuar posta o conteúdo do arquivo /etc/apt/sources.list

T+.
Ubuntu 12.04

Offline markuscorreia

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re: Central de Programas do Ubuntu não abre
« Resposta #5 Online: 06 de Janeiro de 2011, 09:16 »
Bom dia Ronaldo, eu já tinha tentado este método, mas tentei novamente e continua o problema.
Em todas as linhas informa o seguinte:

Err http://archive.canonical.com/ maverick/partner Translation-pt_BR
  Não foi possível ligar a archive.canonical.com:http:
Lendo listas de pacotes... Pronto
W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/maverick/Release.gpg  Não foi possível conectar em br.archive.ubuntu.com:80 (200.17.202.1). - connect (111: Conexão recusada)

Segue abaixo o conteudo da pasta /etc/apt/sources.list .

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick 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/ maverick main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ maverick main restricted

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

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
deb ftp://ftp.debian.org/debian/ lenny main contrib non-free
deb http://debian-multimedia.org/ lenny main

Obrigado!