-
Notifications
You must be signed in to change notification settings - Fork 448
[Suggestion] Add options to skip "Installing basic packages" step for distrobox-enter #1734
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
Comments
I found the real reason why This seems to be a bug in the I also tried Maybe we can build the package list from the output of |
I'm also experincing this issue. |
I work around it by installing the missing packages manually. |
thanks, it works :) |
There appears to be a bug in `distrobox init` that triggers the installation of basic packages every time a container is started. This is awful if you don't have an internet connection and generally delays toolbox startup. [[1]] suggests that we can workaround this by ensuring `wget` and `script` are installed. [1]: 89luca89/distrobox#1734
There appears to be a bug in `distrobox init` that triggers the installation of basic packages every time a container is started. This is awful if you don't have an internet connection and generally delays toolbox startup. [[1]] suggests that we can workaround this by ensuring all basic packages are installed. [1]: 89luca89/distrobox#1734
Is your feature request related to a problem? Please describe.
Every time you enter a stopped container,
distrobox enter
will also install basic packages (this behaviour is probably inherited fromdistrobox init
). But if you don't have internet yet, this step is either stuck or errors out (at least for fedora containers, I am not sure if this happens to other distributions). Sometimes we need to use the tools inside the distrobox without the internet.Describe the solution you'd like
Maybe adding options to skip installing basic packages for
distrobox enter
can solve this problem.Describe alternatives you've considered
Or skip installing basic packages automatically when there is no internet connection.
Additional context

This is what happens if I shutdown my internet and try to enter a fedora container:
The text was updated successfully, but these errors were encountered: