[PlanetCCRMA] apt-get and alsaconf

Joseph Zitt jzitt@josephzitt.com
Tue Aug 12 17:15:01 2003

Hi, all. I'm back again, trying out Planet CCRMA under Red Hat 9 on a
desktop system. 

I'm getting the following when trying to install lilypond:

[root@aleph jzitt]# apt-get install lilypond
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  db4: Obsoletes: db1 but 1.85-0.ximian.6.1 is to be installed
  lilypond: Depends: guile (>= 1.6.4-7) but 5:1.6.0-4 is to be installed
            Depends: libguile-ltdl.so.1
            Depends: tetex but it is not going to be installed
            Depends: tetex-dvips but it is not going to be installed
            Depends: tetex-latex but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
[root@aleph jzitt]#

FWIW, this happened after I had installed the Ximian Desktop 2.

I tried  'apt-get -f install' but didn't follow through since it wanted
to remove a huge number of packages from my system.

Any suggestions?

Also: In running alsaconf to try to configure ALSA for my system's sound
card (reported as an "ens1371  Ensoniq 5880 AudioPCI (rev 03)"), I get
the following errors:

/usr/sbin/alsaconf: line 340: let: a=(>>2) & 0x3f: syntax error: operand
expected (error token is ">>2) & 0x3f")
/usr/sbin/alsaconf: line 341: let: b=(( & 0x03) << 3) | (( >> 13) &
0x07): syntax error: operand expected (error token is "& 0x03) << 3)  ((
>> 13) & 0x07)")
/usr/sbin/alsaconf: line 342: let: c=(>> 8) & 0x1f: syntax error:
operand expected (error token is ">> 8) & 0x1f")
/usr/sbin/alsaconf: line 349: let: v=((>>8)&0xff)|((&0xff)<<8): syntax
error: operand expected (error token is ">>8)&0xff)|((&0xff)<<8)")
These come from the following function:

# convert ISA PnP id number to string 'ABC'
convert_isapnp_id () {
     let a='('$1'>>2) & 0x3f'
     let b='(('$1' & 0x03) << 3) | (('$1' >> 13) & 0x07)'
     let c='('$1'>> 8) & 0x1f'
     echo ${strs:$a:1}${strs:$b:1}${strs:$c:1}
which is only called here:

    # list isapnp cards
    while read driver cardvendor carddevice data vendor func; do
         if expr $driver : 'snd-.*' >/dev/null ; then
             if [ "$last_driver" != "$driver" ]; then
                 echo $driver.o
             id1=`convert_isapnp_id $cardvendor`
             dev1=`swap_number $carddevice`
             id2=`convert_isapnp_id $vendor`
             dev2=`swap_number $func`
             echo "ISAPNP: $id1$dev1=$id2$dev2"
     done < $MODDIR/modules.isapnpmap >> $1

This suggests that there's some problem with the "cardvendor" value...
but here I fall off the edge of my knowledge.

Does this look familiar, and is there a way to fix it?

(Pardon possible odd formatting -- I'm still getting used to Evolution
as a mailer.)