Comments (5)
As of commit aa4457a, pacaur
is automatically installed on Arch.
from wsl-distribution-switcher.
Hi,
I'm investigating alternatives, since his hack will not store the files as root in the archive, which might break some applications further down the line.
AUR has fakeroot-tcp
, which seems to work, since the only issue with fakeroot
was the lack of IPC, as far as I can tell:
$ yaourt -Sb fakeroot-tcp
$ sudo LD_PRELOAD=/root/libmockchroot.so pacman -U /tmp/yaourt-tmp-RoliSoft/fakeroot-tcp-1.20.2-1-x86_64.pkg.tar.xz
$ whoami
RoliSoft
$ fakeroot whoami
root
There's also fakeroot-ng
, which isn't in AUR, but exists as a rewrite of fakeroot
. I'll have to test that one as well.
I'll try to update the hook script to setup a working yaourt
as well, with the proper fakeroot-tcp
out-of-the-box.
Sidenote: I know, but the %wheel
line is commented out in Arch's sudoers
. I've added code in the previous commit to uncomment it.
from wsl-distribution-switcher.
@RoliSoft Would you be willing to setup another aur helper (and not yaourt)? As shown here, yaourt is the least green, pacaur, aurutils, bauerbill being the most. I specifically don't like that yaourt by default doesn't even give the option of reading PKGBUILD file.
from wsl-distribution-switcher.
+1 for pacaur
from wsl-distribution-switcher.
ba7d799 automatically installs the working fakeroot-tcp
.
It doesn't install an AUR helper at this point, since I'm undecided which one to go with.
I'm also undecided on whether I should create a wrapper for pacman which includes the LD_PRELOAD
, because right now, you can't directly install with makepkg -si
, pacman will fail on the chroot
issue. You'll need to do makepkg -s
and install the package manually with LD_PRELOAD=... pacman -U *.pkg.xz
.
from wsl-distribution-switcher.
Related Issues (20)
- [!] Failed to fetch manifest info for cetos: HTTP Error 401: Unauthorized HOT 1
- "[!] The Linux subsystem is not installed. Please go through the standard installation procedure first." HOT 3
- Unable to find lxrun.exe in the expected locations. HOT 4
- [!] Failed to find tag 12.04 for image ubuntu.
- my_lookupdev: socket: Socket type not supported HOT 2
- WSL2 docker on centos7.6 not good
- gentoo install failed
- Error when prebuiling the kali rolling environment.
- `python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz` with python 3.7 HOT 3
- bash - command not found HOT 1
- APT Key Expired and Unable to Update / Install HOT 4
- How can i install 3 different distros ?
- Instead of Centos 6 dowloading Centos 7 HOT 1
- Set default os in WSL
- With the Fall Creators update, is this dead? HOT 1
- Persistent "You do not seem to have the default distribution installed anymore."
- no lxss HOT 3
- python3 install.py rootfs_kalilinux_kali-linux-docker_ latest.tar.gz errors in files:
- get.prebuild.py fails on SSLError error [SSL: CERTIFICATE_VERIFY_FAILED]
- Unable to find lxrun.exe in the expected locations. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl-distribution-switcher.