Ubuntu 突然中断音频、apt-get 和闪存

Ubuntu 突然中断音频、apt-get 和闪存

我一直正常使用电脑,直到我注意到有些不对劲,于是我重启了电脑。然后我就无法用 Chrome 浏览带有 Flash 的网页,也无法从 YouTube 加载 HTML5 视频。当我尝试打开 VLC 时,它显示:

martin@martin-HP:~$ vlc
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[00000000016dd028] pulse audio output error: PulseAudio server connection failure: Connection refused

并且声音不起作用。

当我尝试更新 apt-get 时:

** (appstreamcli:2530): WARNING **: No origin found for file fr.archive.ubuntu.com_ubuntu_dists_xenial-updates_universe_dep11_Components-amd64.yml.gz
Segmentation fault (core dumped)
Reading package lists... Error!
E: Failed to fetch store:/var/lib/apt/lists/partial/fr.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz  Hash Sum mismatch
E: Failed to fetch store:/var/lib/apt/lists/partial/fr.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_dep11_Components-amd64.yml.gz  Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi'
E: Sub-process returned an error code
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

看起来像是硬件问题,但 Windows 安装正常。我怀疑这与文件系统有关,但我不知道如何验证。

最好的!

答案1

我知道这个有点旧了,但我在 Ubuntu GNOME 16.04.1 LTS 上使用 apt-get 时也遇到了同样的错误。我找到了一个旧论坛帖子这似乎解决了我的 apt 问题。以下是它推荐的步骤:

sudo -i
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update
cd
exit

答案2

您可以通过以下方式验证:

sudo fsck /dev/sdxx

最好在 live cd/usb 中运行它。切勿在 上运行它/dev/sdxx。它会破坏您的系统。如果您无法获取 live cd/usb,请使用恢复模式并转到 root shell(不推荐)。

相关内容