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

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


Hi,

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:

OLD=2.4.22-1.2166.nptl_35
NEW=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://mythtv.org/pipermail/mythtv-users/attachments/20040223/daecf410/attachment.pgp


More information about the mythtv-users mailing list