Autor Tópico: Ubuntu Software Center [RESOLVIDO]  (Lida 2048 vezes)

Offline brunokaue

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Ubuntu Software Center [RESOLVIDO]
« Online: 22 de Julho de 2014, 23:42 »
Olá, faz algum tempo que não uso Ubuntu, mas desde a última vez que instalei não deu erro algum. Hoje instalei novamente e me deparei com um problema. A minha central de software não está funcionando, digo, ela abre eu consigo pesquisar, mas na hora de instalar o software em questão não aprece o botão de instalar.
Já li vários tópicos e nenhum me ajudou, já re-instalei o ubuntu 3 vezes hoje, então vim aqui pedir ajuda.





Começemos então, quando abro o software-center


brunokaue@brunokaue-FX610:~$ software-center
2014-07-22 23:38:11,904 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2014-07-22 23:38:12,748 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2014-07-22 23:38:12,752 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2014-07-22 23:38:12,762 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
2014-07-22 23:38:12,762 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2014-07-22 23:38:12,855 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2014-07-22 23:38:15,777 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/utils.py', 271, 'get_title_from_html')'
2014-07-22 23:38:15,777 - root - WARNING - failed to parse: '<div style="background-color: #161513; width:1680px; height:200px;">
 <div style="background: url('/site_media/exhibits/2013/09/AAMFP_Leaderboard_700x200_1.jpg') top left no-repeat; width:700px; height:200px;"></div>
</div>' ('ascii' codec can't encode character u'\xa0' in position 70: ordinal not in range(128))
2014-07-22 23:38:15,779 - softwarecenter.ui.gtk3.views.lobbyview - WARNING - skipping exhibit for: 'u'amnesia-amfp'' not available
^C2014-07-22 23:38:21,224 - softwarecenter.backend.spawn_helper - WARNING - exit code 1 from helper for '['/usr/share/software-center/piston_generic_helper.py', '--datadir', '/usr/share/software-center/', 'SoftwareCenterAgentAPI', 'available_apps', '{"lang": "pt_BR", "series": "raring", "arch": "amd64"}']'
2014-07-22 23:38:21,225 - softwarecenter.backend.spawn_helper - WARNING - got error from helper: 'ERROR:__main__:urclient_apps
Traceback (most recent call last):
  File "/usr/share/software-center/piston_generic_helper.py", line 147, in <module>
    piston_reply = f(**kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 49, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 49, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 49, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 168, in wrapper
    body = func(self, *args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/piston/scaclient_pristine.py", line 23, in available_apps
    scheme=PUBLIC_API_SCHEME)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 787, in _get
    extra_headers=extra_headers)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 491, in get
    return self.request_url(url, method='GET', headers=headers)
  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 419, in request_url
    url, method=method, body=body, headers=headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1566, in request
    (response, new_content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1344, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1327, in _conn_request
    content = response.read()
  File "/usr/lib/python2.7/httplib.py", line 551, in read
    s = self._safe_read(self.length)
  File "/usr/lib/python2.7/httplib.py", line 658, in _safe_read
    chunk = self.fp.read(min(amt, MAXAMOUNT))
  File "/usr/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
KeyboardInterrupt
'
2014-07-22 23:38:21,225 - softwarecenter.db.update - WARNING - update_from_software_center_agent: error: 'ERROR:__main__:urclient_apps\nTraceback (most recent call last):\n  File "/usr/share/software-center/piston_generic_helper.py", line 147, in <module>\n    piston_reply = f(**kwargs)\n  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 49, in wrapper\n    return func(*args, **kwargs)\n  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 49, in wrapper\n    return func(*args, **kwargs)\n  File "/usr/lib/python2.7/dist-packages/piston_mini_client/validators.py", line 49, in wrapper\n    return func(*args, **kwargs)\n  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 168, in wrapper\n    body = func(self, *args, **kwargs)\n  File "/usr/share/software-center/softwarecenter/backend/piston/scaclient_pristine.py", line 23, in available_apps\n    scheme=PUBLIC_API_SCHEME)\n  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 787, in _get\n    extra_headers=extra_headers)\n  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 491, in get\n    return self.request_url(url, method=\'GET\', headers=headers)\n  File "/usr/lib/python2.7/dist-packages/piston_mini_client/__init__.py", line 419, in request_url\n    url, method=method, body=body, headers=headers)\n  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1566, in request\n    (response, new_content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)\n  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1344, in _request\n    (response, content) = self._conn_request(conn, request_uri, method, body, headers)\n  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1327, in _conn_request\n    content = response.read()\n  File "/usr/lib/python2.7/httplib.py", line 551, in read\n    s = self._safe_read(self.length)\n  File "/usr/lib/python2.7/httplib.py", line 658, in _safe_read\n    chunk = self.fp.read(min(amt, MAXAMOUNT))\n  File "/usr/lib/python2.7/socket.py", line 380, in read\n    data = self._sock.recv(left)\nKeyboardInterrupt\n'
2014-07-22 23:38:21,261 - softwarecenter.db.utils - INFO - software-center-agent finished with status 1


Agora quando eu tento instalar algum programa.


2014-07-22 23:40:23,772 - softwarecenter.db.pkginfo_impl.aptcache - ERROR - simulate failed
None
/usr/lib/python2.7/dist-packages/gi/types.py:113: Warning: value "101,000000" of type `gdouble' is invalid or out of range for property `value' of type `gint'
  return info.invoke(*args, **kwargs)




Espero que me ajudem, não sei o que fazer.
« Última modificação: 23 de Julho de 2014, 14:25 por brunokaue »

Offline brunokaue

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Ubuntu Software Center
« Resposta #1 Online: 22 de Julho de 2014, 23:45 »
Observação
W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-security/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.13 80]


Sempre é usado esse ip? Quando uso $ sudo apt-get update esse ip da error também.

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Ubuntu Software Center
« Resposta #2 Online: 23 de Julho de 2014, 06:21 »
Cara,

Erro 404 é mais manjado que "andar para a frente"

Erro 404 significa que a.página da web não existe.

Refaça o índice de seu repositório para um endereço real.

Se for examinar aqui http://archive.ubuntu.com/ubuntu/dists/

Verá que não existe a pasta raring, que resulta num erro 404

Offline brunokaue

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Ubuntu Software Center
« Resposta #3 Online: 23 de Julho de 2014, 10:21 »
Ok, então qual seria os diretórios ?Alguém pode testar o source.list e me passar?  Eu procurei na net e todos estão com defeito,  pelo menos os que achei!

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Ubuntu Software Center
« Resposta #4 Online: 23 de Julho de 2014, 11:18 »
Poste o resultado completo de

Citar
sudo apt-get update

Com isto o fórum pode analisar melhor seu problema.

Offline brunokaue

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Ubuntu Software Center
« Resposta #5 Online: 23 de Julho de 2014, 11:25 »
Eu troquei a source.list e agora dei update sem erro e já upgrade! espeando instalar tudo aqui. Qualquer coisa eu fecho o topico, coloco o source.list aqui para verem.

Offline brunokaue

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: Ubuntu Software Center [RESOLVIDO]
« Resposta #6 Online: 23 de Julho de 2014, 14:26 »
Muito bem, para resolver este problema fui no site http://repogen.simplylinux.ch/ e fiz reescrevi minha sources.list, pronto, resolvido.