Hello @all,
i have a problem with pacman.If you don't want to read the story goto "executive Summary".
I have installed nginx on my Raspberry Pi and after reading this
https://wiki.archlinux.org/index.php/ng ... n_a_chroot
i had copy everything to /srv/http like in the tutorial. nginx works perfekt but the problem is that pacman couldn't install updates for nginx and the needen libs.
i tryed to install nginx with pacman directly on /srv/http2 with
$this->bbcode_second_pass_code('', 'pacman -S nginx -r /srv/http2') but there comes the error "Fehler: Konnte alpm-Bibliothek nicht initialisieren (Konnte Verzeichniss nicht finden oder lesen)" in english "Error: Could not initialize alpm library (directory Could not find or read)". I looked now if alpm is installed with
$this->bbcode_second_pass_code('', 'pacman -Q|grep alpm') There was no lib or somthing else so i try $this->bbcode_second_pass_code('', 'pacman -Ss alpm') and found only pyalpm and pcurses. On archlinuxarm.org under packages i find again only pyalpm and pcurses.
So how can i fix the problem or where can i find the alpm lib?
executive Summary:
$this->bbcode_second_pass_code('', 'pacman -S nginx -r /srv/http2') returns "Fehler: Konnte alpm-Bibliothek nicht initialisieren (Konnte Verzeichniss nicht finden oder lesen)" in english "Error: Could not initialize alpm library (directory Could not find or read)".
How can i fix the problem or where can i find the alpm lib?
thx P4tk4