Re: kernel upgrade with yum removed old kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/7/07, david walcroft <david_walcroft@xxxxxxxxxxxx> 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

   thanks  david

"rpm -qa | grep" did the following:

1) Instructed rpm to query the rpm database for all installed packages.
2) Piped the query out to grep
3) Instructed grep to search its input stream for the string "kernel"
4) Four matching strings were found

You have four kernels installed in your system.

If you want to see the four kernels appear in the grub boot menu you
can a) press the space bar or b) edit /boot/grub/menu.lst and place
the "#" symbol in front of "hiddenmenu" to disable the feature.

"[david@reddwarf ~]$ sudo rpm -ivh kernel-2.6.19-1.2911.fc6.i686" has
no effect because you do not have a file named
kernel-2.6.19-1.2911.fc6.i686 in the current working directory
(/home/david).


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux