89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
9.41k stars 384 forks source link

[Error] Ubuntu 24.04 image tries to install libgl1-mesa / libgl1-mesa-glx #1410

Closed nikspyratos closed 2 weeks ago

nikspyratos commented 1 month ago

First time using Distrobox, very useful so far!

When trying to spin up with Ubuntu 24, the setup tries to install the mentioned packages, but they don't seem to be in the repos for the latest Ubuntu anymore.

I see there was #788 made to fix #763 in a similar vein, but it seems that's not quite enough in this case.

xu-shawn commented 1 month ago

Can confirm this issue

autodeck commented 1 month ago

Ubuntu 24.04 creates fine for me

Host OS - Debian 12 (Chrome OS) Distrobox - 1.7.2.1

$ distrobox create --name ubuntu-1 --init --additional-packages "systemd" --image docker.io/library/ubuntu:24.04
$ distrobox enter ubuntu-1
$ cat /etc/os-release | grep 24
PRETTY_NAME="Ubuntu 24.04 LTS"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
nikspyratos commented 1 month ago

Ubuntu 24.04 creates fine for me

$ distrobox create --name ubuntu-1 --init --additional-packages "systemd" --image docker.io/library/ubuntu:24.04

Hmm, might be the image you're using more explicitly. I just took the command from the Quick Start docs and changed the number:

distrobox create -i ubuntu:24.04
89luca89 commented 2 weeks ago

This has been fixed in PR 618bf902de5ea18c75c05ca0ac5dbb49579655fe