On Sat, 20 Sep 2003, Curtis Hildebrand wrote: > On Sat, 2003-09-20 at 17:09, Felix Miata wrote: > > As if package names weren't long enough, kernel package names don't > > match kernel versions because of extra sprinkling of characters. Why > > doesn't the filename version in /boot match the package name? e.g.: > > > > config-2.4.22.10mdk > > kernel-h-2.4.22.10mdk > > System.map-2.4.22.10mdk > > vmlinuz-2.4.22.10mdk > > > > vs. > > > > kernel-2.4.22.10mdk-1-1mdk.i586.rpm. > > > > from whence they came. What purpose is served by adding in the > > '-1-1mdk'? > > The explanation of kernel naming given in the spec file: > > http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/kernel/kernel-2.4.spec?rev=1.306&content-type=text/x-cvsweb-markup >
In short, the name of the kernel RPMS contains the version number, thus no two kernel packages have the same package name (as the other packages do). So, if a user does: # rpm -Uvh kernel*.rpm they won't lose their old kernel. Technically, this isn't necessary (assuming everyone would install kernels with 'rpm -ivh kernel*.rpm'), but practically it is (way too many users broke their machines on kernel security updates before the change). Regards, Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 ***************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. *****************************************************************
