Replies: 2 comments
-
I wish this had gotten answered. I just created an OCI container of Red Hat 5.2 ( form 1998 ). It does not have a package manager that can update over the Internet so distrobox fails trying to find one. I wish I knew how to tell it not to try. |
Beta Was this translation helpful? Give feedback.
-
This is very hacky, but it's possible to replace the package manager with a blank file with the executable bit set using For these examples, I'm using If you already know all required packages are installed, set
If, instead, you're trying to run an uncooperative container (e.g. everything but 1 package installs, but the last package kills the setup), you'll have to install the packages Distrobox needs (check the contents of
Then once Distrobox is done with setup, you can If your container image doesn't have a package manager, just pretend that there is one. Set
|
Beta Was this translation helpful? Give feedback.
-
I have a custom Arch Linux image that I use, and it already has all the packages that DistroBox requires, so DistroBox trying to install them again is just lengthening in the creation time for no reason. Is there anyway to disable this?
Beta Was this translation helpful? Give feedback.
All reactions