miniwsl icon indicating copy to clipboard operation
miniwsl copied to clipboard

help with installing packages in dpkg

Open proneon267 opened this issue 4 years ago • 0 comments

In miniwsl I noticed, it comes with both dpkg and rpm. I tried them both and got the following errors:

For dpkg: dpkg: can't open '/var/lib/dpkg/status': No such file or directory So, I took the /var/lib/dpkg/ directory from an ubuntu wsl and merged it with miniwsl, but still got the same error.

For rpm: rpm: can't move './usr/bin/animate;b' to './usr/bin/animate': Function not implemented

After failing to installing the package, I manually placed the libraries and binaries at the correct location in rootfs, and tried to run the binary program, but I got: -sh: convert: Permission denied which is weird since, I am running miniwsl as the root user.

I know, from your reply of a previous issue, that this project was just for your learning purposes, but could you please help me out here? Atleast, in running the binary program, please?

proneon267 avatar Mar 25 '21 16:03 proneon267