On Tue, 2007-05-08 at 09:55 +1000, david walcroft wrote: > Kam Leo wrote: > > On 5/6/07, david walcroft <david_walcroft@xxxxxxxxxxxx> wrote: > >> Martin Marques wrote: > >> > I just finished upgrading the kernels in my FC6 with yum and I see this > >> > at the end: > >> > > >> > Removed: kernel.i686 0:2.6.20-1.2933.fc6 kernel.i686 > >> 0:2.6.18-1.2798.fc6 > >> > Installed: kernel.i686 0:2.6.20-1.2948.fc6 > >> > > >> > Now, why did it remove does kernel? Shouldn't it just install the new > >> > ones and leave old ones there? > >> > > >> For what it's worth my system at /etc/yum/pluginconf.d/installonlyn.conf > >> is "tokeep=4" but the last kernel update only left 2 kernels in boot.I > >> have no idea how to fix this. > > > > If you still have the packages for the removed kernels "rpm -ivh > > kernel-2.6.xxx." as either the superuser or root will reinstall them. > > If you don't have the packages locating them will be a hassle since FC > > mirrors keep only the latest two. (A request to the list might work.) > > If you do not want this problem to reoccur edit installonlyn.conf and > > disable the plugin. > > > > In any event you should file a bug report. > > > >> david > > > I tried that,this is the result. > > [david@reddwarf ~]$ sudo rpm -qa | grep kernel > kernel-2.6.19-1.2911.fc6.i686 > kernel-2.6.20-1.2933.fc6.i686 > kernel-2.6.20-1.2948.fc6.i686 > kernel-2.6.20-1.2944.fc6.i686 > [david@reddwarf ~]$ sudo rpm -ivh > rpm: no packages given for install > [david@reddwarf ~]$ sudo rpm -ivh kernel-2.6.19-1.2911.fc6.i686 > kernel-2.6.20-1.2933.fc6.i686 > error: open of kernel-2.6.19-1.2911.fc6.i686 failed: No such file or > directory > error: open of kernel-2.6.20-1.2933.fc6.i686 failed: No such file or > directory Uh, you have to provide the path to the RPM file for "rpm -ivh" to work: rpm -ivh /path/to/kernel-2.6.19-1.2911.fc6.i686.rpm And even then it may not install because you have later kernels installed. You may have to use a "--force" (and that can be dangerous). ---------------------------------------------------------------------- - Rick Stevens, Principal Engineer rstevens@xxxxxxxxxxxx - - VitalStream, Inc. http://www.vitalstream.com - - - - If at first you don't succeed, quit. No sense being a damned fool! - ----------------------------------------------------------------------