[mythtv-users] Re: Newbie Help with vmlinux and dependencies

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Mon Sep 15 12:05:03 EDT 2003


Hi,

On Sun, Sep 14, 2003 at 05:20:15PM -0500, Shay wrote:
> At 04:45 PM 9/14/2003, you wrote:
> >On Sun, Sep 14, 2003 at 03:43:32PM -0500, Shay wrote:
> >> When I do:
> >> apt-get install lirc lirc-kmdl-`uname -r`

uname -r is the current running kernel. Did you reboot into the kernel
you wanted the modules installed for?

You actually do not need to reboot, simply set
export KERNEL=2.4.20-20_29.rh9.at
and do
apt-get install lirc lirc-kmdl-$KERNEL etc.
It will work from any kernel.

> >> I get:
> >> 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:
> >>   ivtv-kmdl-2.4.20-20.9: Depends: /boot/vmlinux-2.4.20-20.9
> >> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> >> specify a solution).
> >> What do I do to fix this?  I'm unfamiliar with dependencies.

This means that you have a kmdl requiring a different kernel. Simply
remove the offending kmdl. Either when you installed the kmdl or when
you removed the parent kernel you should have gotten an error message
which you must have overridden with --nodeps (which is a bad idea in
general).

> >Have you installed the kernel-2.4.20-20.9.<your arch>.rpm package,
> >it's required according to the package information of ivtv.

That should not be necessary, and if it were you should kick my ass to
fix it. ;)

On Mon, Sep 15, 2003 at 12:57:55AM +0200, Mikael Magnusson wrote:
> Shouldn't you install ivtv-kmdl-2.4.20-20_29 package instead, which 
> should be compatible with 2.4.20-20_29.rh9.at? Maybe you have both 
> ivtv-kmdl-2.4.20-20.9 and ivtv-kmdl-2.4.20-20_29 installed? In such 
> case you should remove ivtv-kmdl-2.4.20-20.9.

Yes, that's how it should work.
(Replace ivtv-kmdl-2.4.20-20_29 with ivtv-kmdl-2.4.20-20_29.rh9.at above)

On Sun, Sep 14, 2003 at 04:45:46PM -0700, Jarod C. Wilson wrote:
> If you're following the doc I wrote, it states in it that you should 
> install the 2.4.20-20.9 Red Hat kernel also, to circumvent some current 
> apt dependency resolution bugs. For some reason, despite the fact 
> you're specifying exactly which kernel modules (the ones for 
> 2.4.20-20_29.rh9.at) you want to install, apt insists on installing the 
> kernel modules for the latest Red Hat kernel also. However, for it to 
> successfully install those, you have to actually have the 2.4.20-20.9 
> Red Hat kernel installed.

I cannot reproduce that. The above examples seem to be due to existing
old cruft.

Try
rpm -qa *-kmdl-* | grep -v 2.4.20-20_29.rh9.at
to identify the offending kmdls and remove them.

Does the problem still exist? If yes, I need to fix it ASAP. Please
send me the output of apt-get like

apt-get -o Debug::pkgProblemResolver=true install ...

I should probably drop support for vanilla RH kernels anyway ...
-- 
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20030915/1fed1c00/attachment.bin


More information about the mythtv-users mailing list