[Solved] pacstrap: command not found (installation on RPi 2)

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

[Solved] pacstrap: command not found (installation on RPi 2)

Postby MrFrety » Thu Feb 26, 2015 9:58 pm

The following problem occured while trying to install arch-linux on the Raspberry Pi 2:
$this->bbcode_second_pass_code('', 'pacstrap -i /mnt base base-devel
-bash: pacstrap: command not found')
Additional info:
$this->bbcode_second_pass_code('', 'which pacstrap
which: no pacstrap in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)')
After that I tried changing the mirror in "/etc/pacman.d/mirrorlist" and then running "pacman -Syyu" but the outcome is still the same.

I followed this (http://archlinuxarm.org/platforms/armv7 … berry-pi-2) guide. Does this mean there's something wrong with this mirror (http://archlinuxarm.org/os/...) ?
Can I copy this (https://projects.archlinux.org/arch-ins … acstrap.in) and paste it into say "usr/local/bin" ?


Please help. Thank you.
Last edited by MrFrety on Mon Mar 09, 2015 9:32 pm, edited 1 time in total.
MrFrety
 
Posts: 12
Joined: Thu Feb 26, 2015 9:48 pm

Re: pacstrap: command not found (installation on RPi 2)

Postby WarheadsSE » Thu Feb 26, 2015 10:05 pm

$this->bbcode_second_pass_code('', '$ pkgfile pacstrap
extra/arch-install-scripts')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: pacstrap: command not found (installation on RPi 2)

Postby MrFrety » Thu Feb 26, 2015 10:08 pm

$this->bbcode_second_pass_code('', '[root@alarmpi ~]# pkgfile pacstrap
-bash: pkgfile: command not found
[root@alarmpi ~]# extra/arch-install-scripts
-bash: extra/arch-install-scripts: No such file or directory')
MrFrety
 
Posts: 12
Joined: Thu Feb 26, 2015 9:48 pm

Re: pacstrap: command not found (installation on RPi 2)

Postby MrFrety » Thu Feb 26, 2015 10:11 pm

$this->bbcode_second_pass_code('', 'pacman -S pkgfile')
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# pkgfile pacstrap
error: No repo files found. Please run `pkgfile --update'.')
$this->bbcode_second_pass_code('', 'pkgfile --update')
MrFrety
 
Posts: 12
Joined: Thu Feb 26, 2015 9:48 pm

Re: pacstrap: command not found (installation on RPi 2)

Postby MrFrety » Thu Feb 26, 2015 10:12 pm

$this->bbcode_second_pass_code('', '[root@alarmpi ~]# pkgfile pacstrap
extra/arch-install-scripts')

Thank you very much!!! ;)
MrFrety
 
Posts: 12
Joined: Thu Feb 26, 2015 9:48 pm

Re: pacstrap: command not found (installation on RPi 2)

Postby MrFrety » Thu Feb 26, 2015 10:17 pm

Oh, wait! Problem persists. Did I get something wrong?

$this->bbcode_second_pass_code('', '[root@alarmpi ~]# pkgfile pacstrap
extra/arch-install-scripts
[root@alarmpi ~]# pacstrap -i /mnt base base-devel
-bash: pacstrap: command not found')
MrFrety
 
Posts: 12
Joined: Thu Feb 26, 2015 9:48 pm

Re: pacstrap: command not found (installation on RPi 2)

Postby MrFrety » Thu Feb 26, 2015 10:30 pm

$this->bbcode_second_pass_code('', 'pacman -S extra/arch-install-scripts')

Ok, now I have pacstrap. Thank you again.
MrFrety
 
Posts: 12
Joined: Thu Feb 26, 2015 9:48 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 7 guests