Ubuntu突然打破了音频,apt-get和flash

我正常使用我的电脑,直到我注意到有些东西不对,我重启了它。 然后我无法使用带有Chrome的flash浏览网页,无法从youtube加载HTML5video。 当我尝试打开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安装工作正常。 我怀疑它与文件系统有关,但我不知道如何validation它。

最好!

我知道这有点旧,但我在Ubuntu GNOME 16.04.1 LTS上遇到了与apt-get相同的错误。 我发现了一个旧的论坛post似乎解决了我的问题。 以下是它推荐的步骤:

 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 

您通过以下方式validation:

 sudo fsck /dev/sdxx 

最好在live cd / usb中运行它。 永远不要在/dev/sdxx上运行它。 它会破坏你的系统。 如果你无法获得live cd / usb,请使用恢复模式并删除到root shell(不推荐)。