English
Ask Your Question
2

Yum can't find kernel-3.11.6 for reinstall.

asked 2013-10-25 18:00:05 +0000

rickhg12hs gravatar image

updated 2013-10-25 19:13:10 +0000

Trouble booting into latest kernel, so booted into previous kernel and tried to reinstall. Yum can't find latest kernel?

[root@steelers ~]# uname -a
Linux steelers.net 3.11.4-201.fc19.i686.PAE #1 SMP Thu Oct 10 14:44:46 UTC 2013 i686 i686 i386 GNU/Linux
[root@steelers ~]# yum reinstall kernel-3.11.6-200.fc19.i686 kernel-PAE-3.11.6-200.fc19.i686
Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks, ps, refresh-
              : packagekit, verify
Loading mirror speeds from cached hostfile
 * fedora: ftp.cse.buffalo.edu
 * fedora-debuginfo: ftp.cse.buffalo.edu
 * livna: rpm.livna.org
 * rpmfusion-free: mirror.us.leaseweb.net
 * rpmfusion-free-debuginfo: mirror.us.leaseweb.net
 * rpmfusion-free-updates: mirror.us.leaseweb.net
 * rpmfusion-free-updates-debuginfo: mirror.us.leaseweb.net
 * rpmfusion-nonfree: mirror.us.leaseweb.net
 * rpmfusion-nonfree-debuginfo: mirror.us.leaseweb.net
 * rpmfusion-nonfree-updates: mirror.us.leaseweb.net
 * rpmfusion-nonfree-updates-debuginfo: mirror.us.leaseweb.net
 * updates: mirror.umd.edu
 * updates-debuginfo: mirror.umd.edu
Installed package kernel-3.11.6-200.fc19.i686 not available.
Installed package kernel-PAE-3.11.6-200.fc19.i686 not available.
Error: Nothing to do
[root@steelers ~]#
edit retag flag offensive close delete

Comments

What kind of troubles? Did you change anything from kernel 3.11.6? If you didn't, then I don't think reinstalling is going to fix anything.

skytux ( 2013-10-25 18:39:52 +0000 )edit

@skytux: Not confident that a reinstall will help either but thought it would be easy to try. No changes, just executing periodic yum updates. Boot with 3.11.6 fails quickly with an apparent stack dump and non-responsive keyboard.

rickhg12hs ( 2013-10-25 19:18:29 +0000 )edit

Did you try totally uninstalling the kernel and then doing a yum update to get it restored?

Eddie ( 2013-10-25 19:26:14 +0000 )edit

@Eddie: Did look at a yum erase etc./etc., but the very long list of dependancies that would be removed along with the kernels was just too scary.

rickhg12hs ( 2013-10-25 19:33:50 +0000 )edit

Did you try my suggestion of yum reinstall kernel-3.11.6?

Eddie ( 2013-10-25 19:59:50 +0000 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2013-10-25 18:54:01 +0000

skytux gravatar image

updated 2013-10-25 19:14:29 +0000

You can use Koji to download kernel builds. For example, for kernel 3.11.6:

http://koji.fedoraproject.org/koji/buildinfo?buildID=472398

To install (or reinstall) one of the builds:

# yum reinstall http://kojipkgs.fedoraproject.org//packages/kernel/3.11.6/200.fc19/i686/kernel-3.11.6-200.fc19.i686.rpm

HTH,

Germán.

edit flag offensive delete publish link more
1

answered 2013-10-25 19:30:33 +0000

Eddie gravatar image

updated 2013-10-25 21:04:41 +0000

It looks like yum won't do a reinstall on a kernel, or perhaps on any package that has more than one version installed. I tried yum reinstall on my server and get the same behavior with the kernel, but not with a different package.

Since you don't want to do a yum erase (and I understand why, given the dependencies), the best way to force a reinstall is probably this:

sudo rpm -e --nodeps kernel-3.11.6-200.fc19.i686
sudo yum install kernel-3.11.6-200.fc19.i686

As long as you're not removing a currently-running kernel, the above procedure is perfectly safe. The first command forces removal of the kernel but none of its dependencies. The second command, of course, reinstalls it. You have to do this separately for kernel and kernel-PAE, but you could do the rpm -e --nodeps first and then do a single yum update (instead of the yum install kernel...) to reinstall them.

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2013-10-25 18:00:05 +0000

Seen: 1,174 times

Last updated: Oct 25 '13