O Software Updater não está iniciando no Ubuntu 14.04

0

Quando clico no Software Updater, ele simplesmente não inicia e o reinício do computador também não ajuda.

Fazer sudo ap-get update em um terminal fornece o seguinte erro:

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
muddassir@Nexus:~$ Traceback (most recent call last):
  File "/usr/share/appgrid/appdata.py", line 229, in <module>
    rebuild_db()
  File "/usr/share/appgrid/appdata.py", line 119, in rebuild_db
    from appdata.apps.aptapp import AptApp, all_apt_pkgnames
  File "/usr/share/appgrid/appdata/apps/aptapp.py", line 10, in <module>
    cache = Cache()
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 107, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 151, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_main_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.

E usando sudo update-manager , apresenta o mesmo erro acima.

    
por Muddassir Nazir 07.07.2014 / 23:31

1 resposta

3

Uma solução simples, que corrige arquivos apt-get corrompidos:

$ sudo rm -rvf /var/lib/apt/lists/* //remove your repo sources list files.
$ sudo apt-get update        // update your repositories list again
    
por Muddassir Nazir 07.07.2014 / 23:56