【问题标题】:Error while installing libpulse-dev package in ubuntu在 ubuntu 中安装 libpulse-dev 包时出错
【发布时间】:2019-10-05 01:34:24
【问题描述】:

当我尝试安装 libpulse-dev 时出现错误 以下软件包具有未满足的依赖项: libpulse-dev :取决于:libglib2.0-dev 但不会安装 E: 无法纠正问题,您持有破损的包裹。

请帮帮我

$ sudo apt-get install libpulse-dev
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:
 libpulse-dev : Depends: libglib2.0-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

==

【问题讨论】:

    标签: linux installation ubuntu-16.04 apt


    【解决方案1】:

    你应该安装 libglib2.0-dev

    【讨论】:

      【解决方案2】:

      如果无法安装 libpulse-dev, 试试:

      locate libpulse-mainloop-glib.so
      cd /usr/lib/x86_64-linux-gnu
      sudo ln -sf libpulse-mainloop-glib.so.0.0.5 libpulse-mainloop-glib.so
      locate libpulse.so
      sudo ln -sf libpulse.so.0 libpulse.so
      

      【讨论】:

        猜你喜欢
        • 2022-01-15
        • 1970-01-01
        • 2022-10-04
        • 2017-03-05
        • 1970-01-01
        • 1970-01-01
        • 2014-12-14
        • 2020-07-22
        • 1970-01-01
        相关资源
        最近更新 更多