ubuntu - 无法安装pulseaudio

标签 ubuntu pulseaudio

我不小心使用“sudo apt-get remove pulseaudio”删除了 pulseaudio,现在我无法重新安装它。

我电脑上的音频不再工作了。
请帮助我明天进行项目演示。

sudo apt-get install pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pulseaudio : Depends: libpulse0 (= 1:8.0-0ubuntu3) but 1:8.0-0ubuntu3.2 is to be installed
              Recommends: pulseaudio-module-x11 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

最佳答案

遇到了同样的问题。

使用以下命令恢复到旧版本的 libpulse0:

sudo apt install libpulse0=1:8.0-0ubuntu3

然后重新安装pulseaudio:

sudo apt install pulseaudio

关于ubuntu - 无法安装pulseaudio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43708853/

相关文章:

python - 让信号在 PulseAudio 的 DBus 接口(interface)上工作?

pulseaudio - 从 systemd 服务调用的 pactl 总是报告 "pa_context_connect() failed connection refused"

c++ - ubuntu下g++编译错误

ruby - ri 有空文件 – Ubuntu 11.10, Ruby 1.9

python - 属性错误: type object 'Product' has no attribute '_meta'

Apache 无法以 stdout.log 中的 - "bad user name"开头。我在 httpd.conf 中指定了 LDAP 用户。

audio - 开机10分钟后产生PulseAudio静态噪音

c++ - 用 alsa 录制 8 位有符号单声道 16khz 声音的最简单方法(在某种程度上它与脉冲兼容)?

linux - 将节目的音频广播到媒体服务器

ubuntu - Ubuntu 中的 Redis