FC5: Kernel updates don't work

Ralf Corsepius rc040203 at freenet.de
Tue Jun 13 22:43:31 PDT 2006


On Wed, 2006-06-14 at 06:09 +0200, Ralf Corsepius wrote:
> On Tue, 2006-06-13 at 21:31 +0300, Panu Matilainen wrote:
> > On Tue, 2006-06-13 at 06:20 +0200, Ralf Corsepius wrote:
> > > Hi,
> > > 
> > > What is the trick to get kernel updates functional with apt-get on FC5?
> > > 
> > > On a machine having FC5 installed:
> > > # rpm -qa 'kernel*' 'kmod*'
> > > kernel-2.6.16-1.2122_FC5
> > > kmod-nvidia-1.0.8762-1.2.6.16_1.2122_FC5
> > > 
> > > # apt-get upgrade
> > > Reading Package Lists... Done
> > > Building Dependency Tree... Done
> > > 0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
> > > 
> > > # apt-get dist-upgrade
> > > Reading Package Lists... Done
> > > Building Dependency Tree... Done
> > > Calculating Upgrade... Done
> > > 0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
> > > 
> > > 
> > > # apt-get install kmod-nvidia#1.0.8762-2.2.6.16_1.2133_FC5
> > > Reading Package Lists... Done
> > > Building Dependency Tree... Done
> > > The following extra packages will be installed:
> > >    kernel#2.6.16-1.2133_FC5 (2.6.16-1.2133_FC5)
> > > The following NEW packages will be installed:
> > >    kernel#2.6.16-1.2133_FC5 (2.6.16-1.2133_FC5)
> > >    kmod-nvidia#1.0.8762-2.2.6.16_1.2133_FC5
> > > (1.0.8762-2.2.6.16_1.2133_FC5)
> > > 0 upgraded, 2 newly installed, 0 removed and 0 not upgraded.
> > > Need to get 0B/15.7MB of archives.
> > > After unpacking 40.7MB of additional disk space will be used.
> > > ...
> > > 
> > > WTH?
> > 
> > Are you using the apt package from FE?
> 
> I am using different setups and different version of apt-rpm in
> parallel.

I think, I've found the cause:

In the setup above, I abbreviated too much. I actually had been using an
alternative/testing version of apt (+ my apt*.rpm installed):

So, I actually used:
# /opt/apt-repomd/bin/apt-get -c /etc/apt/apt.conf ...


# /opt/apt-repomd/bin/apt-config  -c /etc/apt/apt.conf dump
reveals this:
Dir::Bin::scripts "/opt/apt-repomd/share/apt/scripts"

This directory and the scripts had not been present. Populating this
directory with the scripts or symlinking 
/opt/apt-repomd to /usr/share/apt
resolves the problem.


Investigating this issue, another issue surfaced:
/etc/apt/apt.conf.d/default.conf
contains this:
..
  Module-Prefix { "kernel-"; };
..

This causes these warning during apt-get update:
WARNING: kernel-i686 not available for kernel 2.6.16-1.2133_FC5!
WARNING: kernel-drm not available for kernel 2.6.16-1.2133_FC5!
WARNING: kernel-headers not available for kernel 2.6.16-1.2133_FC5!
WARNING: kernel-modules not available for kernel 2.6.16-1.2133_FC5!

Removing it, causes the warnings to vanish.

Ralf





More information about the Apt-Rpm mailing list