我刚刚在我的服务器上安装了服务器 14.04 LTS,但每次我尝试使用“ apt-get update
”时都会失败并输出:
....
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
我也尝试过多次解决方案:
rm /var/lib/apt/lists/* -vf && apt-get update
我遇到了同样的错误:
.....
Get:67 http://us.archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:68 http://us.archive.ubuntu.com trusty/restricted Translation-en [3457 B]
Get:69 http://us.archive.ubuntu.com trusty/universe Translation-en [4089 kB]
Fetched 32.7 MB in 3min 43s (146 kB/s)
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
有任何想法吗?
编辑
apt-get install -f
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
答案1
运行以下命令:
sudo rm -f /var/lib/apt/lists/*
sudo apt update
答案2
答案3
跑步:
sudo apt-get install -f
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
祝你好运。