installing yay under Nemesis-v22.08

Arch based Porteus community project

Moderator: M. Eerie

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

installing yay under Nemesis-v22.08

Post#1 by francois » 05 May 2023, 01:27

Trying to install yay under Nemesis-v22.08
https://www.makeuseof.com/install-and-u ... rch-linux/

I get:

Code: Select all

[porteus ~]#  
git clone https://aur.archlinux.org/yay.git
 
Cloning into 'yay'...
remote: Enumerating objects: 468, done.
remote: Counting objects: 100% (468/468), done.
remote: Compressing objects: 100% (312/312), done.
remote: Total 468 (delta 153), reused 453 (delta 153), pack-reused 0
Receiving objects: 100% (468/468), 89.81 KiB | 557.00 KiB/s, done.
Resolving deltas: 100% (153/153), done.
[porteus ~]# cd yay
[porteus yay]# makepkg -si
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
[porteus yay]# su guest
[guest@porteus yay]$ makepkg -si
==> ERROR: Failed to create the directory $BUILDDIR (/root/yay).
    Aborting...
[guest@porteus yay]$ 
Any cue?

Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

installing yay under Nemesis-v22.08

Post#2 by francois » 05 May 2023, 01:36

Trying to install google-chrome thru git I get the same problem:

Code: Select all

porteus yay]# git clone https://aur.archlinux.org/google-chrome.git
Cloning into 'google-chrome'...
remote: Enumerating objects: 1233, done.
remote: Counting objects: 100% (1233/1233), done.
remote: Compressing objects: 100% (523/523), done.
remote: Total 1233 (delta 726), reused 1213 (delta 710), pack-reused 0
Receiving objects: 100% (1233/1233), 233.48 KiB | 655.00 KiB/s, done.
Resolving deltas: 100% (726/726), done.
[porteus yay]# cd google-chrome 
[porteus google-chrome]# makepkg -is
==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.
[porteus google-chrome]# 
Prendre son temps, profiter de celui qui passe.

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

installing yay under Nemesis-v22.08

Post#3 by M. Eerie » 05 May 2023, 08:11

Hi francois,

You can grab the EndeavourOS build (as I do)...

Or maybe try to build for yourself with trizen.
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

installing yay under Nemesis-v22.08

Post#4 by ncmprhnsbl » 06 May 2023, 07:32

this:
francois wrote:
05 May 2023, 01:36
ERROR: Running makepkg as root is not allowed
then this:
francois wrote:
05 May 2023, 01:27
ERROR: Failed to create the directory $BUILDDIR (/root/yay).
solution:
run makepkg (or trizen or yay or any other aur helper) as normal user (ie. guest) in a directory that guest can write to (eg. /home/guest/* or /tmp or some mounted posix partition) not /root/*
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

installing yay under Nemesis-v22.08

Post#5 by beny » 07 May 2023, 10:32

hi francois first you have to build yay from source second you have to add this to pacman.conf
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

and you have to install also go without all this step no yay and yay as pkgbuild work a lot with source code you need also the devel package
and arch or nemesis now have make a jump gcc 13 and python 3.11 all the packages build with yay or pman -Syu are against this new software,ok just for the record.

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

installing yay under Nemesis-v22.08

Post#6 by francois » 08 May 2023, 00:20

@all:
Thanks for the prompt replies.

@Eerie:
I would like to work with yay. Thanks.

@ncmprhnsbl:

Code: Select all

[guest@porteus ~]$ git clone https://aur.archlinux.org/yay.git
Cloning into 'yay'...
remote: Enumerating objects: 468, done.
remote: Counting objects: 100% (468/468), done.
remote: Compressing objects: 100% (312/312), done.
remote: Total 468 (delta 153), reused 453 (delta 153), pack-reused 0
Receiving objects: 100% (468/468), 89.81 KiB | 6.42 MiB/s, done.
Resolving deltas: 100% (153/153), done.
[guest@porteus ~]$ cd yay
[guest@porteus yay]$ makepkg -si
==> Making package: yay 12.0.4-1 (Sun 07 May 2023 08:11:55 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for root: 
resolving dependencies...
looking for conflicting packages...

Packages (1) go-2:1.20.4-1

Total Download Size:    36.29 MiB
Total Installed Size:  196.00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 go-2:1.20.4-1-x86_64   36.3 MiB  8.28 MiB/s 00:04 [######################] 100%
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
:: Processing package changes...
(1/1) installing go                                [######################] 100%
==> Retrieving sources...
  -> Downloading yay-12.0.4.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  446k  100  446k    0     0   343k      0  0:00:01  0:00:01 --:--:--  895k
==> Validating source files with sha256sums...
    yay-12.0.4.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-12.0.4.tar.gz with bsdtar
==> Starting build()...
make: error while loading shared libraries: libunistring.so.5: cannot open shared object file: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
[guest@porteus yay]$ 
@beny:
Building with git, isn't that building from source? Do you want me to build from ABS:
https://wiki.archlinux.org/title/Arch_Build_System
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

installing yay under Nemesis-v22.08

Post#7 by ncmprhnsbl » 08 May 2023, 05:19

francois wrote:
08 May 2023, 00:20
make: error while loading shared libraries: libunistring.so.5: cannot open shared object file: No such file or directory
my guess is that this indicates that this nemesis build is too old now to satisfy yay's dependencies.
there is a new release in the works, but i'm otherwise occupied atm.
not sure what the attraction of yay is, though.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

installing yay under Nemesis-v22.08

Post#8 by francois » 09 May 2023, 02:02

You mean that yay which replaced yaourt will not improve package management on nemesis and that pman would be more usefull as it has the advantage to build modules. Is it?

Octopi is a gui frontend for pacman and aur packages:
https://manjaro.site/how-to-enable-aur-in-octopi/

Interesting to follow what is on the system. But once again not simplifying module production.

Unable to install octopi for the same reason as yay and google-chrome.

I'll wait next version of nemesis.

Thanks.
Prendre son temps, profiter de celui qui passe.

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

installing yay under Nemesis-v22.08

Post#9 by beny » 09 May 2023, 15:50

hi francois yay or ABS if you want to play with packages you can use the pacman command instead of pman when you know where pacman download the packages you have to use sudo pacman -Sw and ask at development crew a script that unpack all the packages so after this you can make a xzm package,when you do this better to mask the modules directory pacman check inside and if it find a duplicate it removed from the list

User avatar
M. Eerie
Moderator
Moderator
Posts: 622
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

installing yay under Nemesis-v22.08

Post#10 by M. Eerie » 09 May 2023, 22:03

francois wrote:
08 May 2023, 00:20
I would like to work with yay. Thanks.
So, you can get the package ready to install from this link I've already posted above.

Once you download, you simply:
# pacman -U yay-12.0.4-1-x86_64.pkg.tar.zst

and you get yay installed.

(yay is actively maintained by the EndeavourOS team)
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

installing yay under Nemesis-v22.08

Post#11 by francois » 10 May 2023, 22:26

@Eerie:
Thanks so much.
@beny:
As before, pman does not work as well as pacman. That is OK, and noted.
Thanks.
Prendre son temps, profiter de celui qui passe.

Post Reply