ubuntu-E:Encountered a section with no Package: header的解决办法 (转)

时间:2021-08-09 14:58:07

E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/cn.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages

……………………

在网上搜到了解决办法,现在记录下来,以便今后查阅:

终端中输入以下两条命令:

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update