刚刚在我拥有的服务器上安装了服务器 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.
跑:
祝你好运。
运行这些命令:
感谢Grunnar先生的想法,也感谢更改 Ubuntu 镜像的答案,我做到了:
删除所有“我们”。perfix 在文件中,并使其指向主服务器本身,
它解决了我的问题,