Upgrading kernels (and kmdls) with apt/smart/yum
Axel Thimm <[email protected]> Sat, 28 May 2005 09:16:40 +0200
| Newsgroups | gmane.linux.redhat.rpm.atrpms.general,gmane.linux.redhat.rpm.atrpms.repo-coordination |
|---|---|
| Message-ID | <[email protected]> |
--===============5655356854475505796==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5"
Content-Disposition: inline
--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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=3D2.6.11-1.14_FC3
NEW=3D2.6.11-1.27_FC3
rpm -qa --qf '%{name} ' \*kmdl\*${OLD}\* | sed -e"s,$OLD,$NEW,g" | xargs ap=
t-get -y install
You can also use
OLD=3D`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.
--=20
Axel.Thimm at ATrpms.net
--bg08WKrSYDhXBjb5
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCmBrYQBVS1GOamfERArwWAKCDKimUSwV8QqW7+fnp6g/DQmvsrgCcCa7O
cRAkJWMa3b9T/spMDoa1yJg=
=k/bm
-----END PGP SIGNATURE-----
--bg08WKrSYDhXBjb5--
--===============5655356854475505796==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
atrpms-users mailing list
[email protected]
http://lists.atrpms.net/mailman/listinfo/atrpms-users
--===============5655356854475505796==--