portaudio19-dev can't be installed without conflicts

Bug #1464913 reported by Daniel Schürmann
54
This bug affects 11 people
Affects Status Importance Assigned to Milestone
portaudio19 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: Ubuntu 14.04.2 LTS
Release: 14.04
Package: portaudio19-dev 19+svn20140130-1

We have some issues with portaudio and jack 1/2,
setting up a development environment.
A solution involves uninstalling the default libjack-jackd2-0

What you expected to happen:
Installing: portaudio19-dev should work without any issues on a stock install.

What happened instead:
The following packages have unmet dependencies:
 libjack-dev : Depends: libjack0 (= 1:0.121.3+20120418git75e3e20b-2.1ubuntu1) but it is not going to be installed

This was original reported for Mixxx (Bug #1326653)
The final build result (Mixxx) runs fine with libjack-jackd2-0
in place.

Reinstalling libjack-jackd2-dev after portaudio19-dev works.

libjack-dev is listed in the portaudio19-dev dependency.
I do not know how libjack-jackd2-dev can satisfy this dependency,
but this state should be somehow swapped.

tags: added: trusty unmetdeps
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in portaudio19 (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Any updates?
What can be done towards a solution?

Revision history for this message
jong (agitato816) wrote :

same issue on ubuntu 16.04-2

if I install qjackctl:

The following packages will be REMOVED:
  libjack-dev libjack0 portaudio19-dev

PLEASE FIX

Revision history for this message
Dale (dj-kaza) wrote :

I'm afraid my terminal scrollback history isn't long enough for me to see the original error. Reinstalling libjack-jackd2-dev afterwards was not a possible solution due to the vast quantity of software it wished to remove!

I wish I knew exactly what I did but after installing all the other dependencies, apart from the jack libraries and it would remove half my system, running the build-dep command just worked without complaining about dependacies that aren't going to be installed and without trying to remove any other packages.

Looking around I did notice this, which seems to be a library for Port Audio using Jack2, which is what seems to be installed on most systems as far as I can tell.....

x$ apt-cache show libportaudio2
Package: libportaudio2
Architecture: amd64
Version: 19.6.0-1
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: portaudio19
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian VoIP Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 210
Depends: libasound2 (>= 1.0.16), libc6 (>= 2.15), libjack-jackd2-0 (>= 1.9.10+20150825) | libjack-0.125
Filename: pool/universe/p/portaudio19/libportaudio2_19.6.0-1_amd64.deb
Size: 64556
MD5sum: 34190a46175b757eac9bec5884b347f7
SHA1: 9e33d7302ca0e2a280c8c936e69a33b5d5db12b0
SHA256: e192f31b52833eb17881ae81c9ff0eb3469da6195d1fa30bdd3873a23bf058ee
Homepage: http://www.portaudio.com/
Description-en_GB: Portable audio I/O - shared library
 PortAudio is a portable audio I/O library designed for cross-platform
 support of audio. It uses a callback mechanism to request audio
 processing. Audio can be generated in various formats, including 32 bit
 floating point, and will be converted to the native format internally.
 .
 This package contains the shared library.
Description-md5: a71bbbd00a98fe093b85cc97ff79e9ae
Task: xubuntu-desktop, lubuntu-gtk-desktop, lubuntu-desktop, ubuntustudio-desktop
Supported: 3y

Revision history for this message
John Magdy Lotfy (zorono) wrote :

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libjack-dev libjack0
Suggested packages:
  jackd1 portaudio19-doc
The following packages will be REMOVED:
  libasound2-plugins:i386 libjack-jackd2-0 libjack-jackd2-0:i386 wine-stable
  wine-stable-i386:i386 winehq-stable winetricks
The following NEW packages will be installed:
  libjack-dev libjack0 portaudio19-dev
0 upgraded, 3 newly installed, 7 to remove and 0 not upgraded.
Need to get 0 B/405 kB of archives.
After this operation, 445 MB disk space will be freed.

Revision history for this message
bruce (darkoverlordofdata) wrote :

still a problem in 2022:

sudo apt install portaudio19-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libfltk1.1 python3-alsaaudio python3-cffi python3-jack-client python3-pycparser ubuntustudio-look
  ubuntustudio-lowlatency-settings ubuntustudio-performance-tweaks zita-njbridge
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  jackd1 jackd1-firewire libjack-dev libjack0
Suggested packages:
  jack-tools meterbridge portaudio19-doc
Recommended packages:
  qjackctl
The following packages will be REMOVED:
  jackd jackd2 jackd2-firewire libjack-jackd2-0 qjackctl studio-controls
The following NEW packages will be installed:
  jackd1 jackd1-firewire libjack-dev libjack0 portaudio19-dev
0 upgraded, 5 newly installed, 6 to remove and 0 not upgraded.
Need to get 0 B/596 kB of archives.
After this operation, 1,548 kB disk space will be freed.
Do you want to continue? [Y/n] n

Revision history for this message
Criarino (criarino) wrote :

I had a similar issue:

sudo apt install portaudio19-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libjack-dev libjack0 libportaudiocpp0
Suggested packages:
  jackd1 portaudio19-doc
The following packages will be REMOVED:
  libasound2-plugins:i386 libjack-jackd2-0 libjack-jackd2-0:i386
The following NEW packages will be installed:
  libjack-dev libjack0 libportaudiocpp0 portaudio19-dev
0 upgraded, 4 newly installed, 3 to remove and 0 not upgraded.

BUT I SOLVED IT by installing libjack-jackd2-dev first. After that, sudo apt install portaudio19-dev runs without trying to uninstall anything.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.