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

Missing packages in Arch Linux image (was: arch linux container mirror error) #79

Open
tazihad opened this issue May 11, 2023 · 6 comments
Labels
enhancement Improvement to existing images

Comments

@tazihad
Copy link

tazihad commented May 11, 2023

Image and version of the image where the issue happens

archlinux

Describe the bug

I can't enter archlinux container with distrobox. It's probably a mirror error. I can't get pass the step of distrobox enter arch.

distrobox enter arch
Container arch is not running.
Starting container arch
run this command to follow along:

 podman logs -f arch

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

I tried with vpn. Still doesn't work.
if I see the logs podman logs -f arch. I get this error.

Total Download Size:    51.64 MiB
Total Installed Size:  250.04 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
warning: dependency cycle detected:
warning: libglvnd will be installed before its mesa dependency
 llvm-libs-15.0.7-3-x86_64 downloading...
 mesa-23.0.3-1-x86_64 downloading...
 vulkan-intel-23.0.3-1-x86_64 downloading...
 vulkan-radeon-23.0.3-1-x86_64 downloading...
 libglvnd-1.6.0-1-x86_64 downloading...
error: failed retrieving file 'libglvnd-1.6.0-1-x86_64.pkg.tar.zst.sig' from geo.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'vulkan-intel-23.0.3-1-x86_64.pkg.tar.zst.sig' from geo.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'vulkan-radeon-23.0.3-1-x86_64.pkg.tar.zst.sig' from geo.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: too many errors from geo.mirror.pkgbuild.com, skipping for the remainder of this transaction
error: failed retrieving file 'llvm-libs-15.0.7-3-x86_64.pkg.tar.zst.sig' from geo.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
+ '[' 1 -ne 0 ']'
+ printf 'Error: An error occurred\n'
Error: An error occurred

Reproduction steps

distrobox create --name arch --image quay.io/toolbx-images/archlinux-toolbox:latest
distrobox enter arch

Host distribution and version, toolbx and podman versions

Fedora silverblue 38
toolbox version 0.0.99.4
podman version 4.5.0

@tazihad tazihad added the bug Something isn't working label May 11, 2023
@travier
Copy link
Member

travier commented May 11, 2023

Looks like those packages should be added to https://github.com/toolbx-images/images/blob/main/archlinux/extra-packages

@travier travier changed the title arch linux container mirror error Missing packages in Arch Linux image (was: arch linux container mirror error) May 11, 2023
@travier travier added enhancement Improvement to existing images and removed bug Something isn't working labels May 11, 2023
@Foxboron
Copy link
Contributor

@travier I think this is another issue.

@jelly
Copy link

jelly commented May 11, 2023

It could be that our geo mirror isn't working correctly. @tazihad can you paste the output of this command:

ping -c 1 -4 geo.mirror.pkgbuild.com

So we now what mirror you are connecting too.

@jelly
Copy link

jelly commented May 11, 2023

Looks like those packages should be added to https://github.com/toolbx-images/images/blob/main/archlinux/extra-packages

It seems to be an issue with the default mirror from the toolbox container image.

I don't think the toolbox image should add more tools to the image https://github.com/89luca89/distrobox/blob/f008b521ee776a66c36a87848c85d3e3f0f6a3dd/distrobox-init#L551

@travier
Copy link
Member

travier commented May 15, 2023

Upstream toolbox images now include vulkan-drivers packages: https://github.com/containers/toolbox/blob/main/images/fedora/f38/extra-packages#L23

Those will be installed by distrobox on first setup time: https://github.com/89luca89/distrobox/blob/f008b521ee776a66c36a87848c85d3e3f0f6a3dd/distrobox-init#L589

We should included those in the image directly instead.

There might indeed be two issues here, one with the mirrors, one with the missing pacakges.

@Foxboron
Copy link
Contributor

Upstream toolbox images now include vulkan-drivers packages:

Okay, I can submit a patch to include this into our images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to existing images
Development

No branches or pull requests

4 participants