You are not logged in.

#1 2015-03-21 09:35:51

chtfn
Member
Registered: 2015-03-21
Posts: 4

[SOLVED] can't build an AUR package while installing Arch

So I am nearly there installing Arch for the first time. And I will start with saying that I am really sorry if I missed the answer to my problem but I have had a look around the documentation and the general webz for something regarding this problem and haven't found anything.

I am trying to set my wireless connection up but I apparently need the AUR b43-firmware package installed for my Broadcom BCM4322 [14e4:432b] to be functional.

So I follow the documentation to install an AUR package, but I am stuck at the building stage as makepkg does not allow me to build if I am root, and I am root by default while installing/configuring Arch...

What should I do to build and install that package so I have a wireless connection later on?

Cheers

Last edited by chtfn (2015-03-21 14:11:12)

Offline

#2 2015-03-21 10:15:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] can't build an AUR package while installing Arch

Do you have a wired connection to complete the install with, or do you need wireless to get online?

Offline

#3 2015-03-21 10:25:31

chtfn
Member
Registered: 2015-03-21
Posts: 4

Re: [SOLVED] can't build an AUR package while installing Arch

I am connected to the wired network, and I followed the steps to make it persistent for later, but I just wanted to go through the wireless stuff too to be extra sure I will be able to connect to the Internet later on. As it is the first time I install Arch, I am trying to be extra cautious, and having that security would make me feel more comfortable! Plus, I am keen to learn how to do those things from the command line.

Isn't there a way to switch to a normal user just for a command, and automatically reverting back to root when that action is finished? Just like sudo but the other way round smile

Offline

#4 2015-03-21 10:31:10

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] can't build an AUR package while installing Arch

chtfn wrote:

Isn't there a way to switch to a normal user just for a command, and automatically reverting back to root when that action is finished? Just like sudo but the other way round smile

sudo (or su) is not one-way. So you can check the man pages, but I'm pretty sure there are many web pages covering this (running command as another user).

Offline

#5 2015-03-21 10:32:56

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] can't build an AUR package while installing Arch

You're making the process unnecessarily complicated. Complete the install using the wired connection, and when you have the installed system up and running, complete with a normal user, do the necessary building, installing, and configuring for your wireless connection.

Offline

#6 2015-03-21 12:03:15

chtfn
Member
Registered: 2015-03-21
Posts: 4

Re: [SOLVED] can't build an AUR package while installing Arch

OK, thank you for your comments, I am currently building the package after rebooting and using a user with less privileges.

Offline

#7 2015-03-21 14:10:05

chtfn
Member
Registered: 2015-03-21
Posts: 4

Re: [SOLVED] can't build an AUR package while installing Arch

All good, I finished the installation, I successfully built and installed the missing firmware. I now have xfce with Network Manager dealing with the wifi.

Cheers

Offline

Board footer

Powered by FluxBB