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

刚才打开ubuntu,我的版本是11.04.正想打开新立得软件工具包更新软件的时候,出现了如下错误:

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

执行完了命令之后,软件更新器应该会自动要求更新的,更新便是。

猜你喜欢

转载自306963591.iteye.com/blog/1156425