[ATrpms-users] One-liner for updating all kernel modules from ATrpms.net

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Mon Feb 23 21:55:13 CET 2004


While yum has kernel upgrade install and there are experimental helper
scripts for apt to upgrade kernel and kmdls, the kmdl updates from
kernel to kernel currently need to be done manually.

But that is not really a very bordersome task, if one plugs a few unix
commands together. Say you want to upgrade kernel and kmdls from
2.4.22-1.2166.nptl_35 to 2.4.22-1.2174.nptl_37:


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

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://lists.atrpms.net/pipermail/atrpms-users/attachments/20040223/daecf410/attachment.bin

More information about the atrpms-users mailing list