Skip to content

Conflicts with libiio-dev and libad9361 Debian packages #923

@Jachimo

Description

@Jachimo

This is hopefully just a trivial packaging problem, but I have run into an issue where, after installing Ubuntu-22.04_latest_master_libiio.deb (which provides the package libiio at version 0.24.ga08ad5f), I am blocked from installing libiio-dev through normal channels. I am fairly certain an identical problem exists with libad9361-0 as well, had it not been installed already.

This is problematic because libiio-dev is a dependency of several projects, SDR++ among them. So a lot of users are going to want to install that.

Is there an easy workaround to update libiio from Github to the latest but still have libiio-dev installed? Or a way to install a matching version of libiio-dev from Github that will match the libiio .deb package version?

For reference, here is what my system shows for sudo apt search libiio:

$ sudo apt search libiio
Sorting... Done
Full Text Search... Done
iiod/jammy 0.23-2 amd64
  Daemon to share IIO devices on the network

libad9361-0/jammy,now 0.2-1 amd64 [installed,automatic]
  Library of functions specific to the Analog Devices AD9361

libad9361-dev/jammy,now 0.2-1 amd64 [installed]
  Development files specific to the Analog Devices AD9361

libgnuradio-iio3.10.1/jammy 3.10.1.1-2 amd64
  IIO blocks for GnuRadio

libiio/now 0.24.ga08ad5f amd64 [installed,local]
  libiio built using CMake

libiio-dev/jammy 0.23-2 amd64
  libiio development files

libiio-utils/jammy 0.23-2 amd64
  Miscellaneous libiio utilities

libiio0/jammy 0.23-2 amd64
  Library for interfacing with IIO devices

libiio0-doc/jammy,jammy 0.23-2 all
  libiio documentation

python3-libiio/jammy,jammy 0.23-2 all
  Python bindings for libiio

And if I try to install libiio-dev from the Jammy repo, for instance because I want to run SDR++, I get this (entirely reasonable) error message:

$ sudo apt install libiio-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libad9361-0 : Depends: libiio0 but it is not going to be installed
 libiio-dev : Depends: libiio0 (= 0.23-2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Does libiio-dev come from this Git repository? Or is there someone else who packages it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions