Hi Community. I’m trying to install Cubic for doing ISO files. I run the commands on the bash to install it with apt package manager. In the last step, it asks for the package systemd-container.
When trying to install that library, the gdebi installer says: dependency libsystemd-shared breaks the package systemd.
I run the commands to repair unmet dependencies with no success.
I also tried to install the snap package but the setup does not succeed.
As deb packages are specific to release, we need some specifics in order to help you.
I suggest you work out what release you’re using, and for us to provide specific help, we should be provided with that detail including command & actual messages you received (ie. copy/paste them into your question), otherwise you’ll need to review that output yourself (remembering your release).
I would avoid installing a random `.deb` for `systemd-container` by hand here. `systemd`, `libsystemd-shared` and `systemd-container` need to come from the same Ubuntu release/pocket, otherwise apt is right to refuse it. First check `lsb_release -a` and `apt policy systemd systemd-container libsystemd-shared`, then install Cubic from the PPA as rubi1200 showed. If apt still wants to replace core systemd packages, stop there and paste the exact `apt` output before forcing anything.
Some packages could not be installed.
This might 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 have been moved out of "incoming".
The following information may help to resolve the situation:
The following packages have unmet dependencies:
cubic: Depends: systemd-container (>= 237)
E: Unable to correct problems, you have held broken packages.
Ubuntu version: 24.04
Not really. There’s a problem with packages surrounding Cubic’s installation. I tried to solve unmet dependencies, broken and retained packages with no success. There’s no problem with Cubic’s packages in itself. I could install it in Ubuntu Server.
Sorry, these two things don’t add up. systemd, including systemd-container is v255 in Noble. I also think that the log was cut off; there’s usually a list of the actions apt is trying to take.
I suspect, this broke your installation:
Why did you try to install it with gdebi? It’s in the official repos.