当我升级到 apt-get 命令时,我在 ubuntu 中遇到错误,当我想安装新程序时也遇到问题。出现此错误:
najeeb@najeeb:~$ sudo apt-get upgrade
[sudo] password for najeeb:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty- security_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
有人能解决这个错误吗?
答案1
尝试这个
$ rm -rvf /var/lib/apt/list*
$ sudo apt-get update