one
one copied to clipboard
Unable to install because of libruby3.0 package
/!\ To report a security issue please follow this procedure: [https://github.com/OpenNebula/one/wiki/Vulnerability-Management-Process]
Description
The issue is that I am trying to install OpenNebula using sudo apt install opennebula opennebula-sunstone opennebula-gate opennebula-flow
but I get this error whenever I try:
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:
opennebula-rubygems : Depends: libruby3.0 (>= 3.0.0~preview2) but it is not installable
E: Unable to correct problems, you have held broken packages.
I have tried to look for libruby3.0 to install it but I cannot find it for the life of me.
To Reproduce
- I added the repo key: curl -fsSL https://downloads.opennebula.io/repo/repo2.key|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/opennebula.gpg
- Did
sudo apt update
- Tried to install the packages using
sudo apt install opennebula opennebula-sunstone opennebula-gate opennebula-flow
Expected behavior OpenNebula's third party libraries install without any broken install problems.
Details
- Affected Component: All components that depend on "libruby3.0"
- Hypervisor: KVM
- Version: [6.7]
Additional context
One thing that I notice is that whenever I try to update the repositories with sudo apt update
I get this response:
Hit:1 http://us.archive.ubuntu.com/ubuntu lunar InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu lunar-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu lunar-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu lunar-security InRelease
Ign:5 https://downloads.opennebula.io/repo/6.7/Ubuntu/22.04 stable InRelease
Get:6 https://downloads.opennebula.io/repo/6.7/Ubuntu/22.04 stable Release [1,754 B]
Get:7 https://downloads.opennebula.io/repo/6.7/Ubuntu/22.04 stable Release.gpg [833 B]
Get:8 https://downloads.opennebula.io/repo/6.7/Ubuntu/22.04 stable/opennebula amd64 Packages [4,901 B]
Fetched 7,488 B in 4s (2,113 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Progress Status
- [ ] Code committed
- [ ] Testing - QA
- [ ] Documentation (Release notes - resolved issues, compatibility, known issues)
Fixed: needed to add the Jammy repository to /etc/apt/sources.list
Seems you used 22.04 OpenNebula repos on some older Ubuntu maybe? What is the OS you are running?
I'm using Ubuntu version 23.10.
There was a similar problem. I solved it by adding the file
"/etc/apt/sources.list.d/archive_uri-http_archive_ubuntu_com_ubuntu-mantic.list"
Content:
deb http://archive.ubuntu.com/ubuntu jammy main
deb-src http://archive.ubuntu.com/ubuntu jammy main
Don't forget
apt update