drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

Pacman can't be found #6

Closed Jwsonic closed 11 years ago

Jwsonic commented 11 years ago

I've downloaded the latest commit at the time of this post and I get an error saying that pacman cannot be found:

Creating install root at /usr/local/chroots/alarm/mnt Couldn't find audio group in chroot! Couldn't find video group in chroot! chroot: failed to run command '/usr/bin/pacman': No such file or directory Unmounting /usr/local/chroots/alarm...

I went and poked around /usr/bin and it's right, no pacman there. I'm on a chrome pixel if it helps.

drinkcat commented 11 years ago

Sounds strange. Can you run the installer with -x, i.e.:

sudo sh -x -e installer/main.sh arch -t core

And post the whole output? (maybe to a pastebin (http://pastebin.com/))

Thanks.

Jwsonic commented 11 years ago

Here's the pastebin:

http://pastebin.com/UMBDZH4g

drinkcat commented 11 years ago

Nasty one... pacman is there (in the chroot: /usr/local/chroots/alarm/usr/bin/pacman), but Arch x86_64 needs a link from /lib64 to /usr/lib. Please try with latest master, should be fixed.

Thanks for reporting.

Jwsonic commented 11 years ago

Yep, definitely fixed! Thanks!