You are not logged in.

#1 2022-11-23 11:11:05

ArchAxMan
Member
Registered: 2022-03-28
Posts: 9

AUR Installation with yay fails

I tried to install AUR-package "etcher-bin" via "yay -S etcher-bin" - there's never been problems with that method

now I got:

==> leaving fakeroot environment.
==> finished make: etcher-bin 1.10.1-1 (Mi 23 Nov 2022 11:13:28 CET)
==> Cleaning up...
Error: Installation-reason for etcher-bin could not be set (Could not find or read package)

(Sorry if this translation is not correct sad )

Did also try with AUR-package "balena-etcher" - same error (with another package from dependencies). I've deleted unused packages, dependencies, updated packages... didn't help

Would be grateful for hints/help what might be the reason. It's not that I need Etcher (because I did it with dd in the meantime) but I would like to understand the reason for that behaviour...

Thank you!

Offline

#2 2022-11-23 12:06:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 17,610

Re: AUR Installation with yay fails

Reads like https://bbs.archlinux.org/viewtopic.php?id=281416 did you install yay-git instead of yay for some reason?

Offline

#3 2022-11-23 12:35:04

ArchAxMan
Member
Registered: 2022-03-28
Posts: 9

Re: AUR Installation with yay fails

V1del wrote:

Reads like https://bbs.archlinux.org/viewtopic.php?id=281416 did you install yay-git instead of yay for some reason?

Yes, obviously I installed yay-git... don't know why, I'm new to Arch Linux for some months (and love it btw) and installed the yay-git... Everything worked fine in the past, but I read that this problem occured with the last yay-git update...

So I will change to yay instead with:

sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

?

Offline

#4 2022-11-23 12:43:29

d.ALT
Member
Registered: 2019-05-10
Posts: 327

Re: AUR Installation with yay fails


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2022-11-23 15:40:05

ArchAxMan
Member
Registered: 2022-03-28
Posts: 9

Re: AUR Installation with yay fails

Did install yay (instead of yay-git) but still the same error...

==> Leaving fakeroot environement.
==> finished make: etcher-bin 1.10.1-1 (Mi 23 Nov 2022 16:34:18 CET)
==> Cleaning up..
error: could not set install reason for package package-name (could not find or read package)

Offline

#6 2022-11-23 15:51:45

d.ALT
Member
Registered: 2019-05-10
Posts: 327

Re: AUR Installation with yay fails

Will it install with manual steps?:
Install etcher-bin following these steps: https://wiki.archlinux.org/title/Arch_U … g_packages

(etcher-bin successfully installed here... I'm using pikaur)

Last edited by d.ALT (2022-11-23 15:51:56)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#7 2022-11-23 15:52:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,869

Re: AUR Installation with yay fails

Builds and installs perfectly here using makepkg and pacman.

Have you tried it using the more fundamental tools?

Edit:  Sorry d.ALT, I had not followed your link and I basically repeated your advice.  But, I did confirm it works.

Last edited by ewaller (2022-11-23 15:53:35)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#8 2022-11-23 15:56:58

seth
Member
Registered: 2012-09-03
Posts: 33,338

Re: AUR Installation with yay fails

1. don't use yay
2. don't use yay
3. don't use yay
4. pacman -Qs yay
5. don't use yay
6. don't follow idiotic tutorials that tell you to use yay
7. don't follow even more idiotic tutorials that tell you to use yay-git
8. don't use yay (you just, hopefully, managed to install yay from the AUR w/o using yay)
9. https://wiki.archlinux.org/title/Arch_User_Repository

If you really have the non-git version installed and for some weird reason insist on using yay, please post the entire build output (in code tags, https://bbs.archlinux.org/help.php#bbcode )

Offline

#9 2022-11-23 16:08:34

d.ALT
Member
Registered: 2019-05-10
Posts: 327

Re: AUR Installation with yay fails

seth wrote:

6. don't follow idiotic tutorials that tell you to use yay
7. don't follow even more idiotic tutorials that tell you to use yay-git


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#10 2022-11-23 16:23:36

ArchAxMan
Member
Registered: 2022-03-28
Posts: 9

Re: AUR Installation with yay fails

seth wrote:

1. don't use yay
2. don't use yay
3. don't use yay
4. pacman -Qs yay
5. don't use yay
6. don't follow idiotic tutorials that tell you to use yay
7. don't follow even more idiotic tutorials that tell you to use yay-git
8. don't use yay (you just, hopefully, managed to install yay from the AUR w/o using yay)
9. https://wiki.archlinux.org/title/Arch_User_Repository

If you really have the non-git version installed and for some weird reason insist on using yay, please post the entire build output (in code tags, https://bbs.archlinux.org/help.php#bbcode )

I will also follow the manual steps, in the meantime here's the complete output of the yay-build (unfort. in german)

[axel@arch-imac ~]$ yay -S etcher-bin
:: Prüfe auf mögliche Konflikte...
:: Prüfe auf mögliche interne Konflikte...
[Aur:1]  etcher-bin-1.10.1-1

:: (1/1) PKGBUILD heruntergeladen: etcher-bin
  1 etcher-bin                               (Build-Dateien sind vorhanden)
==> Diffs zeigen?
==> [N] Keine [A]lle [Ab]brechen [I]nstalliert [No]nicht installiert oder (1 2 3, 1-3, ^4)
==> n
:: (1/1) SRCINFO geparst: etcher-bin
==> Erstelle Paket: etcher-bin 1.10.1-1 (Mi 23 Nov 2022 16:33:53 CET)
==> Empfange Quellen...
  -> Lade balena-etcher_1.10.1_amd64.deb herunter...
  % 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 82.7M  100 82.7M    0     0  9415k      0  0:00:09  0:00:09 --:--:--  9.8M
  -> etcher gefunden
==> Überprüfe source Dateien mit sha256sums...
    balena-etcher_1.10.1_amd64.deb ... Erfolg
    etcher ... Erfolg
==> Erstelle Paket: etcher-bin 1.10.1-1 (Mi 23 Nov 2022 16:34:03 CET)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> balena-etcher_1.10.1_amd64.deb gefunden
  -> etcher gefunden
==> Überprüfe source Dateien mit sha256sums...
    balena-etcher_1.10.1_amd64.deb ... Erfolg
    etcher ... Erfolg
==> Entferne existierendes $srcdir/ Verzeichnis...
==> Entpacke Quellen...
  -> Entpacke balena-etcher_1.10.1_amd64.deb mit bsdtar
==> Quellen sind fertig.
==> Erstelle Paket: etcher-bin 1.10.1-1 (Mi 23 Nov 2022 16:34:05 CET)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> WARNUNG: Verwende bestehenden $srcdir/ Baum
==> Beginne build()...
./
./usr/
./usr/share/
./usr/share/doc/
./usr/share/doc/balena-etcher/
./usr/share/doc/balena-etcher/changelog.gz
./usr/share/applications/
./usr/share/applications/balena-etcher.desktop
./usr/share/icons/
./usr/share/icons/hicolor/
./usr/share/icons/hicolor/128x128/
./usr/share/icons/hicolor/128x128/apps/
./usr/share/icons/hicolor/128x128/apps/balena-etcher.png
./usr/share/icons/hicolor/16x16/
./usr/share/icons/hicolor/16x16/apps/
./usr/share/icons/hicolor/16x16/apps/balena-etcher.png
./usr/share/icons/hicolor/256x256/
./usr/share/icons/hicolor/256x256/apps/
./usr/share/icons/hicolor/256x256/apps/balena-etcher.png
./usr/share/icons/hicolor/32x32/
./usr/share/icons/hicolor/32x32/apps/
./usr/share/icons/hicolor/32x32/apps/balena-etcher.png
./usr/share/icons/hicolor/512x512/
./usr/share/icons/hicolor/512x512/apps/
./usr/share/icons/hicolor/512x512/apps/balena-etcher.png
./usr/share/icons/hicolor/48x48/
./usr/share/icons/hicolor/48x48/apps/
./usr/share/icons/hicolor/48x48/apps/balena-etcher.png
./opt/
./opt/balenaEtcher/
./opt/balenaEtcher/libffmpeg.so
./opt/balenaEtcher/balena-etcher.bin
./opt/balenaEtcher/balena-etcher
./opt/balenaEtcher/libvulkan.so.1
./opt/balenaEtcher/chrome_200_percent.pak
./opt/balenaEtcher/libGLESv2.so
./opt/balenaEtcher/snapshot_blob.bin
./opt/balenaEtcher/resources/
./opt/balenaEtcher/resources/app/
./opt/balenaEtcher/resources/app/package.json
./opt/balenaEtcher/resources/app/generated/
./opt/balenaEtcher/resources/app/generated/etcher.js
./opt/balenaEtcher/resources/app/generated/index.html
./opt/balenaEtcher/resources/app/generated/gui.js
./opt/balenaEtcher/resources/app/generated/modules/
./opt/balenaEtcher/resources/app/generated/modules/lzma-native/
./opt/balenaEtcher/resources/app/generated/modules/lzma-native/prebuilds/
./opt/balenaEtcher/resources/app/generated/modules/lzma-native/prebuilds/binding/
./opt/balenaEtcher/resources/app/generated/modules/lzma-native/prebuilds/binding/electron.napi.node
./opt/balenaEtcher/resources/app/generated/modules/usb/
./opt/balenaEtcher/resources/app/generated/modules/usb/prebuilds/
./opt/balenaEtcher/resources/app/generated/modules/usb/prebuilds/binding/
./opt/balenaEtcher/resources/app/generated/modules/usb/prebuilds/binding/node.napi.glibc.node
./opt/balenaEtcher/resources/app/generated/modules/mountutils/
./opt/balenaEtcher/resources/app/generated/modules/mountutils/build/
./opt/balenaEtcher/resources/app/generated/modules/mountutils/build/Release/
./opt/balenaEtcher/resources/app/generated/modules/mountutils/build/Release/MountUtils.node
./opt/balenaEtcher/resources/app/generated/modules/drivelist/
./opt/balenaEtcher/resources/app/generated/modules/drivelist/build/
./opt/balenaEtcher/resources/app/generated/modules/drivelist/build/Release/
./opt/balenaEtcher/resources/app/generated/modules/drivelist/build/Release/drivelist.node
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/config.txt
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bcm2710-rpi-3-b-plus.dtb
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/start_cd.elf
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bcm2708-rpi-0-w.dtb
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/LICENSE
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bcm2708-rpi-b-plus.dtb
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/fixup_cd.dat
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/kernel7.img
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bcm2710-rpi-cm3.dtb
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bcm2709-rpi-2-b.dtb
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/overlays/
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/overlays/dwc2.dtbo
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bootcode.bin
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bcm2708-rpi-b.dtb
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bcm2708-rpi-cm.dtb
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/bcm2710-rpi-3-b.dtb
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/raspberrypi/kernel.img
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/cm4/
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/cm4/start4.elf
./opt/balenaEtcher/resources/app/generated/modules/node-raspberrypi-usbboot/blobs/cm4/bootcode.bin
./opt/balenaEtcher/resources/app/generated/modules/ext2fs/
./opt/balenaEtcher/resources/app/generated/modules/ext2fs/lib/
./opt/balenaEtcher/resources/app/generated/modules/ext2fs/lib/libext2fs.wasm
./opt/balenaEtcher/resources/app/generated/modules/@ronomon/
./opt/balenaEtcher/resources/app/generated/modules/@ronomon/direct-io/
./opt/balenaEtcher/resources/app/generated/modules/@ronomon/direct-io/binding.node
./opt/balenaEtcher/resources/app/generated/modules/@balena/
./opt/balenaEtcher/resources/app/generated/modules/@balena/node-crc-utils/
./opt/balenaEtcher/resources/app/generated/modules/@balena/node-crc-utils/crc32.wasm
./opt/balenaEtcher/resources/app/generated/modules/xxhash-addon/
./opt/balenaEtcher/resources/app/generated/modules/xxhash-addon/build/
./opt/balenaEtcher/resources/app/generated/modules/xxhash-addon/build/Release/
./opt/balenaEtcher/resources/app/generated/modules/xxhash-addon/build/Release/addon.node
./opt/balenaEtcher/resources/app/generated/media/
./opt/balenaEtcher/resources/app/generated/media/icon.png
./opt/balenaEtcher/resources/app/generated/child-writer.js
./opt/balenaEtcher/resources/app/generated/lib/
./opt/balenaEtcher/resources/app/generated/lib/gui/
./opt/balenaEtcher/resources/app/generated/lib/gui/app/
./opt/balenaEtcher/resources/app/generated/lib/gui/app/css/
./opt/balenaEtcher/resources/app/generated/lib/gui/app/css/fonts/
./opt/balenaEtcher/resources/app/generated/lib/gui/app/css/fonts/SourceSansPro-SemiBold.ttf
./opt/balenaEtcher/resources/app/generated/lib/gui/app/css/fonts/SourceSansPro-Regular.ttf
./opt/balenaEtcher/resources/app/lib/
./opt/balenaEtcher/resources/app/lib/shared/
./opt/balenaEtcher/resources/app/lib/shared/catalina-sudo/
./opt/balenaEtcher/resources/app/lib/shared/catalina-sudo/sudo-askpass.osascript.js
./opt/balenaEtcher/resources.pak
./opt/balenaEtcher/v8_context_snapshot.bin
./opt/balenaEtcher/libvk_swiftshader.so
./opt/balenaEtcher/chrome_100_percent.pak
./opt/balenaEtcher/icudtl.dat
./opt/balenaEtcher/chrome-sandbox
./opt/balenaEtcher/vk_swiftshader_icd.json
./opt/balenaEtcher/LICENSE.electron.txt
./opt/balenaEtcher/swiftshader/
./opt/balenaEtcher/swiftshader/libGLESv2.so
./opt/balenaEtcher/swiftshader/libEGL.so
./opt/balenaEtcher/libEGL.so
./opt/balenaEtcher/LICENSES.chromium.html
./opt/balenaEtcher/locales/
./opt/balenaEtcher/locales/ar.pak
./opt/balenaEtcher/locales/kn.pak
./opt/balenaEtcher/locales/ml.pak
./opt/balenaEtcher/locales/el.pak
./opt/balenaEtcher/locales/ro.pak
./opt/balenaEtcher/locales/ko.pak
./opt/balenaEtcher/locales/da.pak
./opt/balenaEtcher/locales/zh-TW.pak
./opt/balenaEtcher/locales/en-US.pak
./opt/balenaEtcher/locales/gu.pak
./opt/balenaEtcher/locales/sr.pak
./opt/balenaEtcher/locales/tr.pak
./opt/balenaEtcher/locales/fr.pak
./opt/balenaEtcher/locales/hi.pak
./opt/balenaEtcher/locales/et.pak
./opt/balenaEtcher/locales/bn.pak
./opt/balenaEtcher/locales/pt-BR.pak
./opt/balenaEtcher/locales/sl.pak
./opt/balenaEtcher/locales/pl.pak
./opt/balenaEtcher/locales/hu.pak
./opt/balenaEtcher/locales/sw.pak
./opt/balenaEtcher/locales/nb.pak
./opt/balenaEtcher/locales/bg.pak
./opt/balenaEtcher/locales/mr.pak
./opt/balenaEtcher/locales/it.pak
./opt/balenaEtcher/locales/am.pak
./opt/balenaEtcher/locales/cs.pak
./opt/balenaEtcher/locales/zh-CN.pak
./opt/balenaEtcher/locales/id.pak
./opt/balenaEtcher/locales/pt-PT.pak
./opt/balenaEtcher/locales/ta.pak
./opt/balenaEtcher/locales/ms.pak
./opt/balenaEtcher/locales/fi.pak
./opt/balenaEtcher/locales/es.pak
./opt/balenaEtcher/locales/nl.pak
./opt/balenaEtcher/locales/ca.pak
./opt/balenaEtcher/locales/vi.pak
./opt/balenaEtcher/locales/fil.pak
./opt/balenaEtcher/locales/sk.pak
./opt/balenaEtcher/locales/hr.pak
./opt/balenaEtcher/locales/ja.pak
./opt/balenaEtcher/locales/lv.pak
./opt/balenaEtcher/locales/fa.pak
./opt/balenaEtcher/locales/de.pak
./opt/balenaEtcher/locales/te.pak
./opt/balenaEtcher/locales/he.pak
./opt/balenaEtcher/locales/en-GB.pak
./opt/balenaEtcher/locales/ru.pak
./opt/balenaEtcher/locales/sv.pak
./opt/balenaEtcher/locales/es-419.pak
./opt/balenaEtcher/locales/lt.pak
./opt/balenaEtcher/locales/uk.pak
./opt/balenaEtcher/locales/th.pak
==> Betrete fakeroot Umgebung...
==> Beginne package()...
==> Säubere Installation...
  -> Entferne libtool Dateien...
  -> Bereinige ungewollte Dateien...
  -> Entferne statische Bibliotheken...
  -> Komprimiere Man-Pages und Info-Seiten...
==> Prüfe auf Paketierungsprobleme...
==> Erstelle Paket "etcher-bin"...
  -> Erstelle .PKGINFO Datei...
  -> Erstelle .BUILDINFO Datei...
  -> Erstelle .MTREE-Datei...
  -> Komprimiere Paket... 
==> Verlasse fakeroot Umgebung.
==> Beendete Erstellung: etcher-bin 1.10.1-1 (Mi 23 Nov 2022 16:34:18 CET)
==> Räume auf...
Fehler: Installations-Grund für etcher-bin konnte nicht festgelegt werden (Konnte Paket nicht finden oder lesen)

Offline

#11 2022-11-23 16:30:33

seth
Member
Registered: 2012-09-03
Posts: 33,338

Re: AUR Installation with yay fails

seth hid, but also wrote:

4. pacman -Qs yay

Offline

#12 2022-11-23 18:19:58

ArchAxMan
Member
Registered: 2022-03-28
Posts: 9

Re: AUR Installation with yay fails

seth wrote:
seth hid, but also wrote:

4. pacman -Qs yay

Thank you seth - indeed there was still yay-git installed... sorry for that confusion sad
Removed yay-git and installed yay - now everything's fine....
...EXCEPT that I'm still using yay, I know

Offline

#13 2022-11-23 20:44:15

seth
Member
Registered: 2012-09-03
Posts: 33,338

Re: AUR Installation with yay fails

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Then rethink some of your life choices tongue

Offline

#14 2022-11-23 22:00:46

elkoraco
Member
Registered: 2013-02-18
Posts: 132

Re: AUR Installation with yay fails

ArchAxMan wrote:

Thank you seth - indeed there was still yay-git installed... sorry for that confusion sad
Removed yay-git and installed yay - now everything's fine....
...EXCEPT that I'm still using yay, I know

using makepkg is easier.

Offline

Board footer

Powered by FluxBB