On Thu, 2007-03-01 at 00:24 +0100, Axel Thimm wrote: > On Wed, Feb 28, 2007 at 05:57:25PM -0500, Phil Schaffner wrote: > > Today I decided to clean up some older suspend2 2.6.18 kernels on an FC6 > > laptop and encountered a problem in that the 2.6.19 suspend2 kernels, > > unlike older ones, do not provide "kernel", just "kernel-i686". This > > causes yum to want to remove needed packages, or rpm to complain about > > dependencies. Don't know if this is a problem with standard kernels, > > smp kernels, ..., or not. Details follow. (The file RPMS_Installed has > > a list of all current RPMs to avoid repeated "rpm -q" queries.) > > That looks more like a yum bug,
Don't think so - seems to be a real dependency problem. > > [EMAIL PROTECTED] ~]# yum remove `grep -E "kernel|kmdl|suspend2" > > RPMS_Installed | grep 18` > > what happens if you replace "yum remove" with "rpm --test -e"? Not at work right now to supply the exact error, but I did try "rpm -e ...". That's what I meant by "This causes yum to want to remove needed packages, or rpm to complain about dependencies." above. The rpm erase failed due to the unsatisfied dependencies if the kernel-suspend2-2.6.18 packages were to be removed. > You > will get some dependencies that need to be removed and you can add > them to the mix, but will you really get to having to remove > gnome-session? If yes, then there is a severe bug somewhere, and we > need to fix it. And doing the manual rpm --test -e probing will also > get us the broken dependency. But my bet is still on a yum hickup ATM. I'm relatively certain the problem is the failure of the 2.6.19 kernels to provide "kernel" as I said, and demonstrated, earlier. Not a yum problem. (e.g. "a severe bug") See below... > > [EMAIL PROTECTED] ~]# rpm -q --provides kernel-suspend2 | grep "\.18" > > kernel = 2.6.18 > > kernel-i686 = 2.6.18-1.2868_1.fc6.cubbi_suspend2 > > kernel-suspend2 = 2.6.18-1.2868_1.fc6.cubbi_suspend2 "kernel" is provided for 2.6.18-1.2868_1.fc6.cubbi_suspend2 > > kernel = 2.6.18 > > kernel-i686 = 2.6.18-1.2869_1.fc6.cubbi_suspend2 > > kernel-suspend2 = 2.6.18-1.2869_1.fc6.cubbi_suspend2 Ditto for 2.6.18-1.2869_1.fc6.cubbi_suspend2 Now for the 2.6.19 stuff: > > [EMAIL PROTECTED] ~]# rpm -q --provides kernel-suspend2 | grep "\.19" > > kernel-i686 = 2.6.19-1.2895_1.fc6.cubbi_suspend2 > > kernel-suspend2 = 2.6.19-1.2895_1.fc6.cubbi_suspend2 > > kernel-i686 = 2.6.19-1.2911_1.fc6.cubbi_suspend2 > > kernel-suspend2 = 2.6.19-1.2911_1.fc6.cubbi_suspend2 No "kernel" provided by 2-2.6.19 suspend2 kernels. Example from a system with standard, rather than suspend2 kernels: [EMAIL PROTECTED] ~]# rpm -q kernel kernel-2.6.19-1.2895.fc6 kernel-2.6.19-1.2911.fc6 [EMAIL PROTECTED] ~]# rpm -q --provides kernel | grep "\.19" kernel-i686 = 2.6.19-1.2895.fc6 kernel = 2.6.19-1.2895.fc6 kernel-i686 = 2.6.19-1.2911.fc6 kernel = 2.6.19-1.2911.fc6 These, unlike the suspend2 kernels, provide "kernel". > > [EMAIL PROTECTED] ~]# rpm -q --whatrequires kernel > > pcmciautils-014-5.i386 > > gnome-volume-manager-2.15.0-4.fc6.i386 > > systemtap-runtime-0.5.12-1.fc6.i386 > > systemtap-0.5.12-1.fc6.i386 And at the next level [EMAIL PROTECTED] ~]# rpm -q --whatrequires gnome-volume-manager gnome-session-2.16.3-1.fc6 These are the packages that are problematic for both yum and rpm on attempts to remove the 2.6.18 suspend2 kernels. QED :-) I can try smart tomorrow, but can't believe that it will make any difference. Best regards, Phil _______________________________________________ atrpms-users mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-users
