1.今天運行 sudo apt-get install python-setuptools
報了如下錯誤(ubuntu 12.04系統):
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.sjtu.edu.cn_ubuntu_dists_precise-security_restricted_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
在網上查到了解決方法,發出來記錄一下
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
執行完了命令之後,軟件更新器應該會自動要求更新的,更新便是。