[mythtv-users] ALSA Install Problem - Jarod's Guide

Thomas Fjellstrom tfjellstrom at strangesoft.net
Sat Nov 15 21:34:11 EST 2003


On November 15, 2003 06:56 pm, Aleaxander wrote:
> Jarod C. Wilson wrote:
> >> 3) [root at mythtv mythtv] # apt-get install alsa-kmdl-$KERNEL
> >> Reading Package Lists... Done
> >> Building Dependency Tree... Done
> >> Package alsa-kmdl is not installed, so not removed
> >> 0 upgraded, 0 newly installed, 0 removed and 14 not upgraded.
> >> (again seems okay?)
> >
> > It looks like you didn't have $KERNEL properly set, because the package
> > isn't alsa-kmdl, it is alsa-kmdl-2.4.20-20_29.rh9.at.
>
> Okay, I admit that I'm lost at this point.  How do I set $KERNEL
> properly.  Is this part of "# export KERNEL='uname -r'", or am I totally
> off track?  If I'm on track, in this case what is the line that I would
> enter to set the $KERNEL properly?:
>
> # export KERNEL='kmdl-2.4.20-20_29.rh9.at -r'
>
> I tried the above, but when I ran: #apt-get install alsa-kmdl-$KERNEL, I
> received the following error:
>
> E: Command line option 'r' [from -r] is not known

you might notice that the doc used `s. not 's. try:

export KERNEL=`uname -r`

the ` (backticks) tells bash to run the program inside, and replace the 
`string` with whatever the program printed to the console.

-- 
Thomas Fjellstrom
tfjellstrom at strangesoft.net
http://strangesoft.net



More information about the mythtv-users mailing list