libpulse-dev will not install.

Asked by Bram Stolk

There is something fishy going on with libpulse-dev.

It is not in sync with the libpulse0 library!

(impish-updates)

All info here: https://askubuntu.com/questions/1380176/libpulse-dev-installation-problem

xander@gamer2:~$ sudo apt install libpulse-dev
[sudo] password for xander:
Reading package lists... Done
Building dependency tree... Done
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 resolve the situation:

The following packages have unmet dependencies:
 libpulse-dev : Depends: libpulse0 (= 1:15.0+dfsg1-1ubuntu2) but 1:15.0+dfsg1-1ubuntu2.1 is to be installed
                Depends: libpulse-mainloop-glib0 (= 1:15.0+dfsg1-1ubuntu2) but 1:15.0+dfsg1-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
xander@gamer2:~$ apt-cache policy libpulse0
libpulse0:
  Installed: 1:15.0+dfsg1-1ubuntu2.1
  Candidate: 1:15.0+dfsg1-1ubuntu2.1
  Version table:
     1:15.0+dfsg1-1ubuntu2.2 1 (phased 20%)
        500 http://ca.archive.ubuntu.com/ubuntu impish-updates/main amd64 Packages
 *** 1:15.0+dfsg1-1ubuntu2.1 100
        100 /var/lib/dpkg/status
     1:15.0+dfsg1-1ubuntu2 500
        500 http://ca.archive.ubuntu.com/ubuntu impish/main amd64 Packages
xander@gamer2:~$ apt-cache policy libpulse-dev
libpulse-dev:
  Installed: (none)
  Candidate: 1:15.0+dfsg1-1ubuntu2
  Version table:
     1:15.0+dfsg1-1ubuntu2.2 1 (phased 20%)
        500 http://ca.archive.ubuntu.com/ubuntu impish-updates/main amd64 Packages
     1:15.0+dfsg1-1ubuntu2 500
        500 http://ca.archive.ubuntu.com/ubuntu impish/main amd64 Packages

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu pulseaudio Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

"(phased 20%)"

see https://wiki.ubuntu.com/PhasedUpdates
https://wiki.ubuntu.com/ErrorTracker/PhasedUpdates

You can wait until the phasing period is over (currently on 50%) or install the package providing the version numbers

either
sudo apt install libpulse-dev=1:15.0+dfsg1-1ubuntu2 libpulse0=1:15.0+dfsg1-1ubuntu2 libpulse-mainloop-glib0=1:15.0+dfsg1-1ubuntu2
or
sudo apt install libpulse-dev=1:15.0+dfsg1-1ubuntu2.2 libpulse0=1:15.0+dfsg1-1ubuntu2.2 libpulse-mainloop-glib0=1:15.0+dfsg1-1ubuntu2.2

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#2

This may be an edge case that has not been sufficiently taken into account yet.
It is somewhat similar to Bug #1925745 but is not covered by the modifications done for that other case.

You should consider creating a bug report against apt on Ubuntu https://bugs.launchpad.net/ubuntu/+source/apt/+filebug

What I conclude is the following:

There was and is pulseaudio 1:15.0+dfsg1-1ubuntu2 in impish
There was pulseaudio 1:15.0+dfsg1-1ubuntu2.1 in impish-updates
You installed libpulse0 version 1:15.0+dfsg1-1ubuntu2.1
A new package pulseaudio 1:15.0+dfsg1-1ubuntu2.2 in impish-updates in phased status, making version 1:15.0+dfsg1-1ubuntu2.1 inaccessible. Your system was not yet eligible for the 2.2 version
Trying to install libpulse-dev fails, because the only one suitable for your system is version 1:15.0+dfsg1-1ubuntu2 which misses the dependency with libpulse0 (currently 2.1 on your system).

Revision history for this message
Bram Stolk (b-stolk) said :
#3

Can you help with this problem?

Provide an answer of your own, or ask Bram Stolk for more information if necessary.

To post a message you must log in.