problema com o centro de software [duplicado]

0
2015-12-03 02:02:18,961 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2015-12-03 02:02:19,303 - softwarecenter.ui.gtk3.app - INFO - building local database
2015-12-03 02:02:19,303 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
  File "/usr/bin/software-center", line 130, in <module>
    app = SoftwareCenterAppGtk3(options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 313, in __init__
    self._rebuild_and_reopen_local_db(pathname)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 532, in _rebuild_and_reopen_local_db
    rebuild_database(pathname, debian_sources, appstream_sources)
  File "/usr/share/software-center/softwarecenter/db/update.py", line 1148, in rebuild_database
    cache.open()
  File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 261, in open
    self._cache = apt.Cache(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 107, in __init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 155, in open
    self._list.read_main_list()
SystemError: E:Malformed line 4 in source list /etc/apt/sources.list.d/google-chrome.list (dist parse)

me ajude

    
por user478423 02.12.2015 / 21:38

1 resposta

0

Isso deve funcionar.

Isso é um arquivo de exclusão que causa problemas com este comando:

sudo rm /etc/apt/sources.list.d/google-chrome.list

Em seguida, execute esses comandos para adicionar o Google Chrome ao repositório

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'

Em seguida, execute:

sudo apt-get update
    
por Neil 02.12.2015 / 23:04