krmanik / Manjaro-Linux-on-Android

Install Manjaro on Android
74 stars 5 forks source link

yay installation error #15

Closed mrfoxie closed 2 years ago

mrfoxie commented 2 years ago

Description

i tried to install yay on manjaro but it gave me this error here is the procedure for it

Installation Process

sudo pacman -Sy git base-devel -y
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

but ended with this error

Error

fakeroot, while creating message channels: Function not implemented
This may be due to a lack of SYSV IPC support.
fakeroot: error while starting the `faked' daemon.
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

Screenshot

Screenshot_20220202-160211_Termux

krmanik commented 2 years ago

Hi, It is possible to use yay but I haven't build successfully fakeroot. You can try it also. https://gist.github.com/krmanik/ff2aa651835f1b63a0b954f406013158

I will update it after successful build.

krmanik commented 2 years ago

Now, I managed to build fakeroot-tcp in manjaro proot. To install yay it requires fakeroot.

Build fakeroot-tcp

  1. Edit manjaro.sh file and add --sysvipc

    nano manjaro.sh

    image

  2. Proot into manjaro

    ./manjaro.sh

Build and install fakeroot-tcp

  1. Install required packages
    sudo pacman -S base-devel git
  2. Git clone fakeroot-tcp package
    git clone https://aur.archlinux.org/fakeroot-tcp.git
  3. Change directory to fakeroot-tcp
    cd fakeroot-tcp
  4. Remove prepare() from PKGBUILD
    sed -ir '/prepare()/,+6d' PKGBUILD
  5. Now build it
    makepkg -irs

Build yay

sudo pacman -Sy git base-devel -y
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
mrfoxie commented 2 years ago

thanks this really worked 👍🏻