I’m trying to install virtualbox in Dietpi in my PC x86_64 (processor: Interl Cleron)
on terminal:
sudo apt install virtualbox-6.1
Reading package lists... Done
Building dependency tree
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:
virtualbox-6.1 : Depends: libc6 (>= 2.34) ma la versione 2.31-13+deb11u4 is about to be installed
Depends: libssl3 (>= 3.0.0~~alpha1) but it is not installed
Depends: libstdc++6 (>= 11) but the version 10.2.1-6 is about to be installed
Depends: libvpx7 (>= 1.10.0) but it is not installed
E: Unable to correct problems, you have held broken packages.
Someone can understand how to install missing addictions
Thanks to all
Quite simple, your system is trying to install a dependency not fitting. Package libc6 version 2.31-13+deb11u4 is the one available on Debian Bullseye. However, your system is looking for a package version >= 2.34. This one is available on Debian Bookworm (testing repository) only. Debian -- Package Search Results -- libc6
Did you add VirtualBox source repository yourself? Can you share following
for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done
I added the repository found on the Virtualbox website.
Yes, I have no problem installing version 7.0 … it is enough for me to work without problems
/etc/apt/sources.list:
deb https://deb.debian.org/debian/ bullseye main contrib non-free
deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb https://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib
Ok, now I work … I changed from Jammy to Bullseye (a simple problem, I wasted 3 days )
I finally managed to install virtualbox-7.0
Yes, I learned to change the repository as little as possible
In the last weekend, I destroyed Dietpi at least 2 times and I reinstalled it at least 10 times (the experience teaches)
Some forums give as a solution to disable the UEFI Security in the Bios, but this function is not in the BIOS …The bios of my ACEPC T11 has few settings and the bios legacy is not present
Hmm I guess the kernel driver needs to be installed. Probably there is a dedicated package for it, but it likely requires the kernel headers to build the driver. That would be:
Worse comes to worse…get into bios and poke around without changing anything and see if you can see if there is something about virtualization, and there might be a way to disable UEFI to legacy
Haven’t found anything on the manual or bios online…might not be looking in the right place