Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] initialising Ubuntu 23.10 container fails due to libgl1-mesa-glx no longer being available #1053

Closed
flexiondotorg opened this issue Nov 14, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@flexiondotorg
Copy link

Describe the bug

When an Ubuntu container is initialised by entering it for the first time, distrobox attempts to install libgl1-mesa-glx. libgl1-mesa-glx has been a transitional package for a while and is now obsolete from Ubuntu 23.10 and onwards. As a result, initialising Ubuntu 23.10 containers fails.

To Reproduce

Create an Ubuntu 23.10 container and try to enter it.

distrobox create --image ubuntu:23.10 --name dev-mantic --pull
distrobox enter dev-mantic -- true

The following is output:

Starting container...                  	 [ OK ]
Installing basic packages...           	 Error: An error occurred

Expected behavior

Running the following should create a functioning Ubuntu 23.10 container.

distrobox create --image ubuntu:23.10 --name dev-mantic --pull
distrobox enter dev-mantic -- true

Logs

Run podman logs -f dev-mantic, and you'll see:

Package libgl1-mesa-glx 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 'libgl1-mesa-glx' has no installation candidate

Desktop:

  • Using podman
  • podman version 4.7.2
  • distrobox: 1.5.0.2
  • NixOS 23.05 (Stoat)
  • Via nixpkgs.

Additional context

Installing libgl1 and libglx-mesa0 instead of libgl1-mesa-glx will result in equivalent behaviour and should work on Ubuntu 18.04 and newer.

@flexiondotorg flexiondotorg added the bug Something isn't working label Nov 14, 2023
@flexiondotorg
Copy link
Author

See #1005

@89luca89
Copy link
Owner

Fixed

@Sagor0078
Copy link

is this fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants