You are not logged in.

#1 2012-08-15 21:49:15

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

[SOLVED]Pacstrap not found

Hello,

I am trying to install archlinux from the 2012.08.04 Installation medium. For this I am following the new installation guide (https://wiki.archlinux.org/index.php/Beginners%27_Guide), starting with the installation-heading. Until I reach the part install the base system.

When I want to execute the pacstrap-Command, the shell tells me that it cannot find the command. What am I doing wrong?

Thank you in advance

Last edited by Nagian (2012-08-16 15:37:59)

Offline

#2 2012-08-15 22:29:17

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Pacstrap not found

There is no such thing as "pacstrap-Command". The correct syntax is:

# pacstrap /mnt base base-devel

https://wiki.archlinux.org/index.php/Be … ase_system


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-08-16 05:04:49

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

Re: [SOLVED]Pacstrap not found

Sorry for my ambigous expression, but as i already said, i was exactly following the guide and i get "pacstrap: command not found" when typing exactly that command. Maybe it has to be called in an specific folder? Or is the image really missing this script?

Last edited by Nagian (2012-08-16 05:53:52)

Offline

#4 2012-08-16 06:21:58

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Pacstrap not found

so you were following the guide exactly... which guide and what *exactly* were you tying?  be a bit more specific and maybe someone can better help you.

Offline

#5 2012-08-16 06:34:13

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

Re: [SOLVED]Pacstrap not found

As I already said I am following the Beginner's guide, starting with the installation heading (https://wiki.archlinux.org/index.php/Be … stallation).

Then I changed the keymap, and set up my wireless network. Everything is working fine until here. Afterwards I partitioned my hard drive using cfdisk. After configuring the block devices with mkfs.ext4 and mkswap (and swapon), I mounted the partition with "mount /dev/sda1 /mnt". Then I selected the wished mirror with editing the /etc/pacman.d/mirrorlist file, which means I have only one mirror remaining in this file.

Now the problem appears: I am trying to install the base system (https://wiki.archlinux.org/index.php/Be … ase_system), but if I execute "pacstrap /mnt base base-devel", the shell tells me that this command cannot be found.

I have already tried to setup the system with the aif (/arch/setup), but due to the many changes in the last few weeks, this tool also seems not to work anymore. After configuring the system (editing all the system files), I get an error that /sbin/mkinitcpio cannot be found.

EDIT:
I don't think that this is interesting for the problem, but for the case that I am wrong: I am using a Lenovo T420s.

And maybe it could be useful if someone can tell me where the file should be located, so that I can check its existence today evening...

Last edited by Nagian (2012-08-16 06:59:27)

Offline

#6 2012-08-16 07:16:36

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Pacstrap not found

[root@archiso ~] # which pacstrap
/usr/bin/pacstrap

Is this the latest Arch install media?

http://www.archlinux.org/download/


Try burning it to a different disc or writing it to a different USB stick, maybe even using a different method.

https://wiki.archlinux.org/index.php/US … tion_Media


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-08-16 07:22:01

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

Re: [SOLVED]Pacstrap not found

Yeah, i just downloaded it yesterday (Release 2012.08.04). I gonna check in the evening if this file is existing, and if not (what I am assuming...) I will try to load it from a different mirror, and burn it a second time, or use a usb-stick, if i can find one at home.

And I think that it's not advisable to just copy the file from github, make it executable, and run this one, as the disc/iso seems to be corrupted, isn't it?

Last edited by Nagian (2012-08-16 07:23:43)

Offline

#8 2012-08-16 07:31:02

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Pacstrap not found

Instead of using a mirror to download it, why no use a bittorrent client? Its hash tree will be checked and there will be no need to check the MD5 after the download is finished. I can't say the same for a direct download link.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-08-16 07:33:20

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

Re: [SOLVED]Pacstrap not found

To be honest: I was too lazy, because I didn't have a bittorent client installed. But you're right, I will try this.

Last edited by Nagian (2012-08-16 07:34:38)

Offline

#10 2012-08-16 07:54:51

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED]Pacstrap not found

First you should check the MD5 for the ISO that you already burned. It could save you the trouble of installing a bittorrent client (or maybe the disc was just bad, write speed needed to be slower, I don't know... I haven't burned a disc since 2007 or so).

$ cd "/media/Backup/Software/Operating Systems/Linux/"
$ wget https://www.archlinux.org/iso/2012.08.04/md5sums.txt
$ md5sum -c md5sums.txt 
archlinux-2012.08.04-dual.iso: OK

My advice is to use a USB stick. They're dirt cheap.

And don't forget to mark the topic as solved (by editing the first post), so that other people (including yourself sometimes) may find useful.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#11 2012-08-16 12:19:46

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [SOLVED]Pacstrap not found

Nagian wrote:

I have already tried to setup the system with the aif (/arch/setup), but due to the many changes in the last few weeks, this tool also seems not to work anymore.

If /arch/setup in on your media, it's an old one, and not the new one you just downloaded.

Offline

#12 2012-08-16 14:05:16

Nagian
Member
From: Altach, Austria
Registered: 2009-08-03
Posts: 70

Re: [SOLVED]Pacstrap not found

Hm, is it possible that the mirror I used has an old, wrong versioned label? I am quite sure that it was labeled 2012.08.04, but I gonna check it when I am at home again.

EDIT:

Ok, I've downloaded the iso from the hosteurope mirror, and it is really labeled as archlinux-2012.08.04-dual.iso, but it doesn't seem to be this release. Now I have downloaded the image using torrent, and already the boot menu has some other entries, and the pacstrap command is also existing. So it seems to be the guilt of the mirror, and my problem is solved. Thank you!

Last edited by Nagian (2012-08-16 15:37:45)

Offline

#13 2012-08-16 16:31:56

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [SOLVED]Pacstrap not found

Could you tell us which mirror has the broken iso image if that is even true? This seems to be a serious problem then.

Offline

#14 2015-02-26 21:25:49

MrFrety
Member
Registered: 2015-02-26
Posts: 1

Re: [SOLVED]Pacstrap not found

I now this thread is quite old. But I am having the same problem on my raspberry pi 2. 
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/...) ?
"which pacstrap" returns
"which: no pacstrap in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)"

Similar to what has already been asked (but not answered) by the author of this thread: Can I copy this (https://projects.archlinux.org/arch-ins … acstrap.in) and paste it into say "usr/local/bin" ?

Here is where the problem occured:
"pacstrap -i /mnt base base-devel"
"-bash: pacstrap: command not found"

After that I tried changing the mirror in "/etc/pacman.d/mirrorlist" and then running "pacman -Syyu" but the outcome is still the same.

Please help or tell me if I have to open a new thread.

Offline

#15 2015-02-26 21:38:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]Pacstrap not found

Arch ARM is a separate distribution -- please ask on their boards: https://bbs.archlinux.org/viewtopic.php?id=153431



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB