You are not logged in.

#1 2012-02-12 15:03:42

mrjabba
Member
Registered: 2012-02-12
Posts: 8

[SOLVED] b43 upgrade - does not have a valid architecture

Hi,

This is probably a newbie question, but I'll give it my best.

I have had Arch on this laptop (Dell Studio 14z) since last November. At the time, I read all the docs and got wireless working successfullly through b43.

Yesterday, I finally upgraded to the latest (pacman -Syu). That went well once I resolved some dependency issues. But,  I had found this thread to remove b43 prior to the system upgrade. I did that:
https://bbs.archlinux.org/viewtopic.php?id=133983

Now I'm on the latest and when I try to install the latest b43 package (makepkg worked):
pacman -U b43-firmware-5.100.138-1-i686.pkg.tar.xz

I get:

loading packages...
error: failed to prepare transaction (package architecture is not valid)
:: package b43-firmware-5.100.138-1-i686 does not have a valid architecture

Now, I'm on 64-bit. And the PKGBUILD file shows it supports both architectures.
Why didn't it produce a any file instead of i686?
Or is the situation that the b43 driver is 32-bit only?

I had b43 installed and working before. So I must be doing some wrong (or dumb). I may also be misunderstanding the multilib stuff.

Any advice would be much appreciated.

uname -a shows
Linux ionia 3.2.5-1-ARCH #1 SMP PREEMPT Tue Feb 7 08:34:36 CET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz GenuineIntel GNU/Linux

Also, pacman.conf:

#[multilib]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

and:

Architecture = auto #current setting
#Architecture = x86_64 -> I've tried both settings to no avail

Last edited by mrjabba (2012-02-26 22:17:05)

Offline

#2 2012-02-14 02:37:23

mrjabba
Member
Registered: 2012-02-12
Posts: 8

Re: [SOLVED] b43 upgrade - does not have a valid architecture

Well, I realized by re-reading this today that I had one obvious issue.

[multilib] line was commented out. I uncommented.

Per the FAQ (https://wiki.archlinux.org/index.php/Ar … ib_Project)
I tried running upgrade again:

pacman -Syu

:: Synchronizing package databases...
 core                                                            106.0 KiB   235K/s 00:00 [####################################################] 100%
 extra                                                          1282.4 KiB   285K/s 00:04 [####################################################] 100%
 community                                                      1100.5 KiB   335K/s 00:03 [####################################################] 100%
 multilib                                                         88.3 KiB   240K/s 00:00 [####################################################] 100%
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N]

I think I'm getting somewhere but not sure how to handle this.
I want multilib, the ability to install both 64 and 32 bit packages.
My goal is to get b43 installed again so I can use my wireless again.
And, I think its clear I need to make it through this step.
Not sure if my upgrade did something to my multilib or what?

Thanks for any info you can provide.

Offline

#3 2012-02-14 03:21:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] b43 upgrade - does not have a valid architecture

try aur/b43-firmware-latest.  Works on my 64 bit only system.  I use testing though, I'm trying to remember if I loaded this because of testing, and whether the kernel that required it has gone mainstream.  Anyway, give it a shot.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2012-02-14 03:32:25

mrjabba
Member
Registered: 2012-02-12
Posts: 8

Re: [SOLVED] b43 upgrade - does not have a valid architecture

Thanks. I had seen it. But it was marked flagged out of date.
Also, dependencies says linux<3.2
I just upgraded and now uname -a says "3.2.5-1".

OK. So I tried anyway :-)

I got this when trying to makepkg -s

==> Making package: b43-firmware-latest 5.100.138-1 (Mon Feb 13 21:31:50 CST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] 

Should I go ahead and remove multilib for now?
Thanks!

Offline

#5 2012-02-14 03:55:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED] b43 upgrade - does not have a valid architecture

I would say yes.  I think the correct 32 library is lib32-gcc-libs now.  Note, don't install that file unless you need it, just allow it to remove gcc-libs-multilib


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2012-02-14 04:01:55

mrjabba
Member
Registered: 2012-02-12
Posts: 8

Re: [SOLVED] b43 upgrade - does not have a valid architecture

Hmm. Almost.

==> Making package: b43-firmware-latest 5.100.138-1 (Mon Feb 13 21:59:41 CST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-multilib: requires gcc-libs-multilib=4.6.2-1
==> ERROR: 'pacman' failed to install missing dependencies.

Based on that output, it might be that I suffer from this issue.
It looks from the comments that some folks have had luck upgrading pacman alone first.
https://bugs.archlinux.org/task/27214

Offline

#7 2012-02-18 02:47:57

mrjabba
Member
Registered: 2012-02-12
Posts: 8

Re: [SOLVED] b43 upgrade - does not have a valid architecture

I was hoping to make some more progress by now.

Today, I tried again. This time I was successful in upgrading pacman first, then the whole system to the latest.
pacman -Sy pacman
pacman -Suy
I was hoping my problem might go away.

Again, I seem to have 2 options? I need to install the firmware for b43.
When I select my wireless option in Gnome Shell, it does say firmware missing. This is expected as decribed in the original post.

If I try to use the latest package I still get the architecture complaint:

pacman -U b43-firmware-5.100.138-1-i686.pkg.tar.xz 
loading packages...
error: failed to prepare transaction (package architecture is not valid)
:: package b43-firmware-5.100.138-1-i686 does not have a valid architecture

If I try to use the b43-firmware-latest, I get an error message stating it only works on kernel before 3.2

makepkg -s
==> Making package: b43-firmware-latest 5.100.138-1 (Fri Feb 17 20:41:47 CST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: linux<3.2
==> ERROR: 'pacman' failed to install missing dependencies.

Would it make any difference to change the dependency?
Is there anything else I can do?

pacman -Qs multilib reveals I have multi-lib installed:

local/binutils-multilib 2.22-4.1 (multilib-devel)
    A set of programs to assemble and manipulate binary and object files for multilib
local/gcc-libs-multilib 4.6.2-7
    Runtime libraries shipped by GCC for multilib
local/gcc-multilib 4.6.2-7 (multilib-devel)
    The GNU Compiler Collection - C and C++ frontends for multilib
local/lib32-glibc 2.15-5
    GNU C Library for multilib
local/libtool-multilib 2.4.2-3 (multilib-devel)
    A generic library support script for multilib

I've also read the following threads. I don't see these people getting the architecture error.
https://bbs.archlinux.org/viewtopic.php?id=135585

Not having wireless bites.
I'm keeping hope alive.

Offline

#8 2012-02-18 07:07:10

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] b43 upgrade - does not have a valid architecture

so you are on x86_64 and makepkg creates an i686 package?


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2012-02-18 17:06:12

mrjabba
Member
Registered: 2012-02-12
Posts: 8

Re: [SOLVED] b43 upgrade - does not have a valid architecture

wonder wrote:

so you are on x86_64 and makepkg creates an i686 package?

"uname -a" says
Linux ionia 3.2.6-2-ARCH #1 SMP PREEMPT Thu Feb 16 10:10:02 CET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz GenuineIntel GNU/Linux

So, yeah as far as I know.

And this build file seems to indicate that it should generate a 64bit or an any package, right?
http://aur.archlinux.org/packages/b4/b4 … e/PKGBUILD

Offline

#10 2012-02-20 23:05:03

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,367

Re: [SOLVED] b43 upgrade - does not have a valid architecture

How did you download the i686 package?  You need to download the x86_64 package.  I think the firmware files are exactly the same however.  That's where your line about pacman -U failing. 
Where it is failing on upgrading pacman FIRST (with pacman -Syu), tell it no, and it will get upgraded along with everything else.

Last edited by nomorewindows (2012-02-20 23:05:32)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#11 2012-02-23 02:12:57

mrjabba
Member
Registered: 2012-02-12
Posts: 8

Re: [SOLVED] b43 upgrade - does not have a valid architecture

I'm curious. Is there a way for me to manually download the x86_64?
I'm using makepkg when I build it.

What I have:

pacman -Qs gcc
local/gcc-libs-multilib 4.6.2-7
    Runtime libraries shipped by GCC for multilib
local/gcc-multilib 4.6.2-7 (multilib-devel)
    The GNU Compiler Collection - C and C++ frontends for multilib
local/lib32-gcc-libs 4.6.2-7
    Runtime libraries shipped by GCC (32-bit)

I'm clicking the link for the tarball on this page.
http://aur.archlinux.org/packages.php?I … mments=all

I extract it. It has a PKGBUILD and PKGBUILD-old file.
I run "makepkg -s". It downloads the package and builds it.
But, every time, I am left with:
b43-firmware-5.100.138-1-i686.pkg.tar.xz
broadcom-wl-5.100.138.tar.bz2
and a src and pkg directory.
I was expecting, given the PKGBUILD file saying arch=("i686" "x86_64"), that I would see
b43-firmware-5.100.138-1-any.pkg.tar.xz
or
b43-firmware-5.100.138-1-x84_64.pkg.tar.xz
Unfortunately not.

I would love to think that I am doing something ignorant. But, I have to admit, this has me puzzled.

Offline

#12 2012-02-26 22:16:40

mrjabba
Member
Registered: 2012-02-12
Posts: 8

Re: [SOLVED] b43 upgrade - does not have a valid architecture

I got help over at https://aur.archlinux.org/packages.php? … mments=all
I updated my PKGBUILD file to arch=("any") and it built an any package and installed it.
Wireless is working now. I didn't know I could change the architecture like that and it have any effect.

I will mark post this solved.

Offline

Board footer

Powered by FluxBB