You are not logged in.

#1 2013-03-17 11:38:25

Syndacate
Member
From: Rochester, NY
Registered: 2008-06-28
Posts: 26
Website

Pacman Missing From Install

Hey,

Not new to Linux, used Arch a long time ago, but nowhere near recent, tried installing it again.

I installed base and devel, which I get doesn't leave me with much, but there's some things missing.

Like pacman, useradd, etc. aren't there.  I only have the basic toolchain, and not entirely sure what happened to devel, but I don't have gcc, g++, make, etc.  All I have is like the bare minimal programs...the most complicated program I have is wget, lol.

Did I do something wrong, or is the base install simply this bare?

I thought it shouldn't be too terrible to download/install pacman but it can be tiresome depending on what dependencies it may have that I'd have to sort out manually....

I have the file structure, have basic tools, but it ends there.

I was going to use this instructional but I figure this isn't normal and I probably did something wrong.  I feel like pacman should come with the default install and I can't find any other cases of this...so help?

Thx smile.


Wish I knew the *nix world better sad.

Offline

#2 2013-03-17 11:45:03

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

Re: Pacman Missing From Install

pacman is installed by default. What parameters did you pass to pacstrap exactly? It should be either none, or at least one of base or base-devel.

Offline

#3 2013-03-17 11:47:35

Syndacate
Member
From: Rochester, NY
Registered: 2008-06-28
Posts: 26
Website

Re: Pacman Missing From Install

Pierre wrote:

pacman is installed by default. What parameters did you pass to pacstrap exactly? It should be either none, or at least one of base or base-devel.

Syndacate wrote:

....

I installed base and devel, which I get doesn't leave me with much, but there's some things missing.

...

Exactly, it looked like this:

pacstrap /mnt base base-devel

Wish I knew the *nix world better sad.

Offline

#4 2013-03-17 11:54:51

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

Re: Pacman Missing From Install

Did you mount the partition where you wanted to install Arch?
What's the partition in question?
Please post

# fdisk -l

Offline

#5 2013-03-17 12:02:05

Syndacate
Member
From: Rochester, NY
Registered: 2008-06-28
Posts: 26
Website

Re: Pacman Missing From Install

Grant wrote:

Did you mount the partition where you wanted to install Arch?
What's the partition in question?
Please post

# fdisk -l

I'm not currently in Arch, so I can't give you the fdisk -l right now, and it'd be a headache to grab it unless there's something ground breaking in there, but knowing fdisk, and having this issue, I doubt there is...but in short:
Yes, I mounted the partition, that is why I have the base tools, the kernel, the UNIX dir structure, it's bootable, etc..
The partition in question is sda2, it was mounted to /mnt via:

mount /dev/sda2 /mnt

I'm *not* using any special partition mount points such as a separate boot partition or anything, there is one partition, it is where everything is going, it is on sda2.


Wish I knew the *nix world better sad.

Offline

#6 2013-03-17 20:51:26

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Pacman Missing From Install

Are they *really* missing, or is it just a $PATH issue?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2013-03-17 21:54:42

Syndacate
Member
From: Rochester, NY
Registered: 2008-06-28
Posts: 26
Website

Re: Pacman Missing From Install

Mr.Elendig wrote:

Are they *really* missing, or is it just a $PATH issue?

I didn't check the path var, I'll verify when I get home.  I don't think that would be an issue unless pacman is in some obscure place...but then again, a lot of shit is missing, so maybe it didn't get set right...there was only like 30 binaries when I blank tabbed it, like all the BASE tools you'd find even in the most simple distros and nothing more... sad.


Wish I knew the *nix world better sad.

Offline

#8 2013-03-17 22:18:22

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Pacman Missing From Install

Perhaps it might be worth mentioning, but did you run the command exactly the way you posted above? Because it should be:

pacstrap -i /mnt base base-devel

Your post makes it seem like you failed to pass the -i, which might explain why it appears a lot wasn't installed (anything).

Thoughts?

All the best,

-HG

Offline

#9 2013-03-17 22:27:04

s1ln7m4s7r
Member
Registered: 2013-02-22
Posts: 262

Re: Pacman Missing From Install

HalosGhost wrote:

Perhaps it might be worth mentioning, but did you run the command exactly the way you posted above? Because it should be:

pacstrap -i /mnt base base-devel

Your post makes it seem like you failed to pass the -i, which might explain why it appears a lot wasn't installed (anything).

Thoughts?

All the best,

-HG

That's not the reason, the only difference between:

pacstrap -i /mnt base base-devel

and:

pacstrap /mnt base base-devel

is that the first will allow you to choose witch packages you want to install from those groups and the second will install everything from those groups without confirmation!

Offline

#10 2013-03-17 22:35:38

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: Pacman Missing From Install

s1ln7m4s7r wrote:

That's not the reason, the only difference is that the first will allow you to choose witch packages you want to install from those groups and the second will install everything from those groups without confirmation!

Fair enough, It's been so long since I've used pacstrap, I genuinely didn't know that was acceptable syntax.

All the best,

-HG

Offline

#11 2013-03-17 23:09:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Pacman Missing From Install

Syndacate wrote:

there was only like 30 binaries when I blank tabbed it, like all the BASE tools you'd find even in the most simple distros and nothing more... sad.

Ah, so you're booted into a recovery shell with just the initramfs it would seem.

Did you get errors during boot?  What bootloader are you using, and what's in the boot loader config?

EDIT: wget should not be in an initramfs - so if that's really there this could be wrong, but I'd still want to verify that.

Last edited by Trilby (2013-03-17 23:11:09)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2013-03-17 23:21:00

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Pacman Missing From Install

Trilby wrote:

EDIT: wget should not be in an initramfs - so if that's really there this could be wrong, but I'd still want to verify that.

busybox provides a binary called wget.

Offline

#13 2013-03-18 01:41:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Pacman Missing From Install

I stand corrected, on my correction.  So it does sound like an initramfs environment.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#14 2013-03-18 06:53:11

Syndacate
Member
From: Rochester, NY
Registered: 2008-06-28
Posts: 26
Website

Re: Pacman Missing From Install

HalosGhost wrote:

Fair enough, It's been so long since I've used pacstrap, I genuinely didn't know that was acceptable syntax.
All the best,
-HG

Taken right from the installer guide! smile

Trilby wrote:

Ah, so you're booted into a recovery shell with just the initramfs it would seem.
Did you get errors during boot?  What bootloader are you using, and what's in the boot loader config?
EDIT: wget should not be in an initramfs - so if that's really there this could be wrong, but I'd still want to verify that.

I'm not sure if it's a recovery shell or not, how do I tell?

I do get an error during boot, but it's just an fstab error (UUID labels wrong on one of the other drives).  Shouldn't have an effect on the OS..

falconindy wrote:

busybox provides a binary called wget.

And Busybox, as you've concluded, is one of the things that's installed, there is a busybox binary as well...it's about the only thing that feels not 'standard' so to speak.


Wish I knew the *nix world better sad.

Offline

#15 2013-03-18 08:32:01

Syndacate
Member
From: Rochester, NY
Registered: 2008-06-28
Posts: 26
Website

Re: Pacman Missing From Install

Turns out it WAS in recovery shell.

What happened was I updated grub2 to boot Arch and it snagged some UUID that was wrong for the root partition.  I thought this was a different drive but it turns out it was not...

Anybody know where the heck the grub2 update scripts find the UUID's to put shit into boot?  Grub2 is a pain :-\.

At least I was able to get Arch to boot, though smile.


Wish I knew the *nix world better sad.

Offline

Board footer

Powered by FluxBB