You are not logged in.

#1 2010-12-07 18:23:12

e1fjl
Member
Registered: 2009-07-30
Posts: 13

Pacman on PPC [SOLVED]

Hi again,

I've got ArchPPC working on Powermac G5 but when I pacman anything I get: error ... (package architecture is not valid)

My mirror list is set to use: ftp://ftp.archlinuxppc.org/mirrorlist/os/ppc

I've tried uncommenting others but all have the same result when running : pacman -Sy sudo

The box is 64bit if that makes any difference?

Cheers

Last edited by e1fjl (2010-12-08 09:38:56)

Offline

#2 2010-12-07 23:24:27

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,428
Website

Re: Pacman on PPC [SOLVED]

What do you have set in /etc/pacman.conf for the Architecture option?

Offline

#3 2010-12-08 08:51:21

e1fjl
Member
Registered: 2009-07-30
Posts: 13

Re: Pacman on PPC [SOLVED]

Its set to auto which equates to ppc64. I assume that's right since that the system I'm on?

Or maybe the 64 is messing it up?

Offline

#4 2010-12-08 08:58:32

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,428
Website

Re: Pacman on PPC [SOLVED]

Is that repo for ppc64?   I thought they only had ppc packages?

Offline

#5 2010-12-08 09:11:56

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,428
Website

Re: Pacman on PPC [SOLVED]

archlinuxppc wrote:

We only support a 32bit userland but kernels are available for various 64bit machines.

So remove Architecture=auto if you are using a different kernel architecture than userland architecture.

Offline

#6 2010-12-08 09:38:43

e1fjl
Member
Registered: 2009-07-30
Posts: 13

Re: Pacman on PPC [SOLVED]

Cheers Allan. Changed Architecture to ppc rather than ppc64 and all's well now

Many Thanks

Offline

#7 2010-12-08 10:06:42

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,428
Website

Re: Pacman on PPC [SOLVED]

Just as an FYI, you will possibly need to use "--arch ppc64" when you install your 64 bit kernel

Offline

#8 2010-12-24 09:23:59

DaNiMoTh
Member
Registered: 2006-06-10
Posts: 253

Re: Pacman on PPC [SOLVED]

Hi, the kernel is 64 bit but userspace is 32 bit.

Offline

Board footer

Powered by FluxBB