[PlanetCCRMA] problems installing asla

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Wed Jan 8 13:37:01 2003


> Thanks for the quick reply. I ran the two rpm queries-> the kernel query
> returned i386 but the alsa-driver query returned i686! I have no idea how
> the i686 driver got installed, since I removed the alsa packages and
> reinstalled. 

Maybe apt is not so smart after all...

> It was probably already there. Oh well. I just went to system
> logs and looked at installed rpm packages - it lists both
> alsa-driver-0.9.0-43.1.i386.rpm AND
> asla-driver-2.4.19-1.ll-0.9.0-43.1.i686.rpm!! 

BOTH installed at the same time?? That is weird. Do an:
  rpm -q -a | grep ^alsa-driver
to see what is actually installed (they have conflicting files so I
don't see how they could have gotten installed without errors). 

> Synaptic just lists the
> "alsa-driver-2.4.19-1.ll", no i386 or i686. How do I remove just the i686
> driver? If I remove the alsa-driver-2.4.19-1.ll with Synaptic, will that
> remove the i686 driver also? 

I suspect you have only one installed. 

> Then just reinstall the i386 driver? Or remove
> all alsa packages and reinstall (altho that's what I did just before
> emailing the list and the i686 driver is still there.)

This is what I would do (from the command line):
- remove the driver package you have installed:
  rpm -e --nodeps alsa-driver-2.4.19-1.ll
  or, if for some reason you have two packages:
  rpm -e --allmatches --nodeps alsa-driver-2.4.19-1.ll
- install the alsa driver modules again (letting apt select which one):
  apt-get install alsa-driver-2.4.19-1.ll
- check the architecture that was installed:
  rpm -q --queryformat "%{ARCH}\n" alsa-driver-2.4.19-1.ll

if it is i386 then everything is fine (or should be). If it is _i686_
then something is wrong in the install logic inside apt (it should not
install i686 if the processor is not i686). If that is the case I would
recommend downloading and installing the rpm manually... this is the url
for the i386 version:

http://www-ccrma.stanford.edu/planetccrma/mirror/redhat/linux/planetccrma/7.x.up/en/os/i386/alsa-driver-2.4.19-1.ll-0.9.0-43.1.i386.rpm

Download it and do a:
  rpm -Uvh alsa-driver-2.4.19-1.ll-0.9.0-43.1.i386.rpm

That should fix it... let me know what happens. 
-- Fernando