更新失败。无法安装任何软件!

更新失败。无法安装任何软件!

我做到了sudo apt-get update

Reading package lists... Error!                                                
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

当我尝试安装任何软件时,它会出现相同的错误,例如:

sudo apt-get install gnumeric
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened

我打开了突触包错误,它在启动时出现同样的错误。

我试过

sudo apt-get clean

sudo apt-get dpkg --configure -a

我仍然卡住了。我该如何解决这个问题?

答案1

发出此命令:

 sudo rm /var/lib/apt/lists/* -vf && sudo apt-get update

它将解决你的问题。

相关内容