You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to run dnf / yum in these containers causes:
# yum install vim
error: db5 error(12) from dbenv->open: Cannot allocate memory
error: db5 error(22) from dbenv->close: Invalid argument
error: cannot open Packages index using db5 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
Error: Error: rpmdb open failed
I tried clearing out the __db entries in the guest as well as matching the working ubuntu kernel settings but neither has worked. I also tried clearing down my PATH to ensure no interpreter conflicts and that made no difference.
What's wrong / what should be happening instead:
I should be able to launch the package managers in the guest.
Strace of the failing command, if applicable: (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).
# ./strace -o ./dnf.install.vim.strace -f dnf install vim
error: db5 error(12) from dbenv->open: Cannot allocate memory
error: db5 error(22) from dbenv->close: Invalid argument
error: cannot open Packages index using db5 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm
Error: Error: rpmdb open failed
Please fill out the below information:
Microsoft Windows [Version 10.0.17134.228]
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
After installing Fedora 28 using an image from WSL-Distribution-Switcher to generate a docker image using:
And creating a wsl installation using:
Attempting to run dnf / yum in these containers causes:
I tried clearing out the
__db
entries in the guest as well as matching the working ubuntu kernel settings but neither has worked. I also tried clearing down my PATH to ensure no interpreter conflicts and that made no difference.I should be able to launch the package managers in the guest.
some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).Generates output: https://gist.github.com/fquinner/85b5b5c589ef0b00543c3fe53cb6a2e0
The text was updated successfully, but these errors were encountered: