[repo-coord] Upgrading kernels (and kmdls) with apt/smart/yum

Axel Thimm Axel.Thimm at ATrpms.net
Sat May 28 09:16:40 CEST 2005


Hi,

while none of the depsolvers can currently upgrade kernels *along with
the dependent kmdls* automagically, this is very easy to do with a
little workaround, which I'm reposting here, as the topic has become
an FAQ.

OLD=2.6.11-1.14_FC3
NEW=2.6.11-1.27_FC3
rpm -qa --qf '%{name} ' \*kmdl\*${OLD}\* | sed -e"s,$OLD,$NEW,g" | xargs apt-get -y install

You can also use

OLD=`uname -r`

if you are running the old kernel you want to replicate the kmlds for
(which is the usual setup).

This will download and install both all the kmdls you have for $OLD
rebuilt for $NEW, as well as the $NEW kernel itself.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/repo-coord/attachments/20050528/9b71e10b/attachment.bin


More information about the repo-coord mailing list