Cannot install yay/pakku as AUR helper in WSL1
Closed this issue · 16 comments
Jguer/yay#1227 try this
hold on, So, this problem only happens on WSL1. is that so?
Ok, that will be quite long and I want to make sure. So, to sum up the current workaround is:
- cd /tmp
- wget http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.31.orig.tar.gz
- ./bootstrap
- ./configure — prefix=/opt/fakeroot --libdir=/opt/fakeroot/libs --disable-static --with-ipc=tcp
- make
- sudo make install
- export PATH="/opt/fakeroot/bin:$PATH"
- git clone https://aur.archlinux.org/yay.git
- cd yay
- makepkg -si
- yay -Syu fakeroot-tcp
Is that so?
You have to try that for yourself I mostly use Windows only on VMs these days so it would take too much time to validate it, so if you don't want to do the whole ordeal I guess you can download yay from my repo and just do the last step - https://github.com/vineelsai26/repo/tree/main/linux/arch/x86_64
Hold on, Sorry, what is the right command?
You have to get it with raw link if you directly use GitHub link it will download a web page. use this link to download https://github.com/vineelsai26/repo/raw/main/linux/arch/x86_64/yay-12.2.0-1-x86_64.pkg.tar.zst
did you install fakeroot-tcp
? if not try that, if that didn't work you have to install this version of fakeroot and then install fakeroot-tcp
Ok, that will be quite long and I want to make sure. So, to sum up the current workaround is:
- cd /tmp
- wget http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.31.orig.tar.gz
- ./bootstrap
- ./configure — prefix=/opt/fakeroot --libdir=/opt/fakeroot/libs --disable-static --with-ipc=tcp
- make
- sudo make install
- export PATH="/opt/fakeroot/bin:$PATH"
- git clone https://aur.archlinux.org/yay.git
- cd yay
- makepkg -si
- yay -Syu fakeroot-tcp
Is that so?
then I guess try the steps mentioned in the issue
Jguer/yay#1227 try this
any reason why you are not using WSL 2?
Ok, that will be quite long and I want to make sure. So, to sum up the current workaround is:
- cd /tmp
- wget http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.31.orig.tar.gz
- ./bootstrap
- ./configure — prefix=/opt/fakeroot --libdir=/opt/fakeroot/libs --disable-static --with-ipc=tcp
- make
- sudo make install
- export PATH="/opt/fakeroot/bin:$PATH"
- git clone https://aur.archlinux.org/yay.git
- cd yay
- makepkg -si
- yay -Syu fakeroot-tcp
Is that so?
4th step is probably supposed to be ./configure --prefix=/opt/fakeroot --libdir=/opt/fakeroot/libs --disable-static --with-ipc=tcp
not ./configure — prefix=/opt/fakeroot --libdir=/opt/fakeroot/libs --disable-static --with-ipc=tcp
Hi
I checked this issue and I found this (https://wsldl-pg.github.io/ArchW-docs/Known-issues/) I need to run this command
wget https://github.com/yuk7/arch-prebuilt/releases/download/18082100/fakeroot-tcp-1.23-1-x86_64.pkg.tar.xz
and sudo pacman -U fakeroot-tcp-1.23-1-x86_64.pkg.tar.xz
to make it work
So, I hope you can update faq. if the problem arises