我真的不知道发生了什么,重新启动后我收到很多崩溃消息,如果我打开Firefox或Synaptic,它们也会崩溃。Synaptic返回以下内容:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.
然后出现顶部面板上的崩溃图标,并且关于合并列表存在一些错误。我用谷歌搜索,发现这没用sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
。为了能够在浏览器中工作,我删除了中的所有文件/var/lib/apt/lists
。如果尝试sudo apt-get update
,我会得到:
W: Failed to fetch gzip:/var/lib/apt/lists/partial/ua.archive.ubuntu.com_ubuntu_dists_raring_main_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/ua.archive.ubuntu.com_ubuntu_dists_raring_restricted_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/ua.archive.ubuntu.com_ubuntu_dists_raring_universe_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_raring-security_main_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_raring-security_universe_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_raring-security_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_raring-security_universe_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
我不想重新安装系统。我该如何解决?谢谢。
我也删除了部分...我想如果我运行
—
AlexJ 2013年
sudo apt-get update
它会重新出现。
那是什么命令呢?
—
AlexJ 2013年
没什么-您刚在删除的评论中说过
—
gertvdijk 2013年
partial
。(尽管那不是您的问题)
sudo apt-get install -f
工作,但我现在还有其他问题...
/var/lib/apt/lists
?还是您将partial
子目录(包括内容)留在那里?那里的那些文件似乎已损坏。您显示的命令不会执行该操作。