Dependency installation issues on ubuntu

UPDATE: I downgraded from ubuntu studio 21.04 to 20.04.2 LTS and the github instructions for installing from source worked fine, so it seems like the issue might be related to the newer version of ubuntu studio. (?)

Hi all,

I’m trying to build SC on ubuntu studio 21.04 (got another linux machine) and am running into some things during dependency installations. I’m following these steps.

Two dependencies in particular are having trouble. On $ sudo apt-get install libudev-dev, I get:

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 to resolve the situation:

The following packages have unmet dependencies:
 udev : Breaks: systemd (< 247.3-3ubuntu3.1)
        Breaks: systemd:i386 (< 247.3-3ubuntu3.1)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

And on $ sudo apt-get install qt5-default, I get:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package qt5-default is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'qt5-default' has no installation candidate

(although qtbase5-dev seems to install without problem).

These issues cause cmake to fail. I can post the result of that as well, if that would be helpful. As usual, the nuances of a Linux install seem to escape my grasp. Help and suggestions most appreciated.

Eli

As I understand it, this means some other package has already installed the 32-bit version of systemd (“i386”) but our requirement for udev in turn requires the 64-bit version of systemd, and apparently these can’t coexist.

Often a web search can find a solution for dependency hell but I didn’t find an answer quickly :anguished: … possibly a packaging bug.

The qt5 error, I have no idea.

hjh