Re: System locked up during update of kernel, yum in unclean state and kernel half-installed

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

 



Kevin Fenzi said:
> ok. Then I fear you will need to go to:
>
> package-cleanup --cleandupes


Great news. I think I've finally got my system back to a clean and
updated state!  Thanks everybody who helped.  I only have one curious
error message about a missing grubby template (explained toward the
end).


For everybody's benefit, here's what I did...

The first thing I did was to create an LVM snapshot for both my / and
/var logical volumes; just in case. I actually should have done that
at the beginning of the whole initial "yum update", and it would have
been way easier to back out.

Then I ran "package-cleanup --cleandupes" as suggested. This removed
all the duplicate packages (the older versions of each) for all the
packages, except the kernel packages.  This was expected I guess
because yum by default will keep multiple versions of the kernel
installed; which is a good thing!

At that point I re-verified all the other packages, except the kernel,
using rpm --verify.  And also did a "yum check", which now only
complains about the kernel. I also verified the previous version of
the kernel, just to insure myself that it was still okay.

Now I already know the latest kernel did not get installed properly as
there are lots of zero-length files, etc. So I manually uninstalled it
(knowing my previous kernel version was intact).

  rpm -e kernel-tools-3.1.1-2.fc16.x86_64 \
      kernel-headers-3.1.1-2.fc16.x86_64 \
      kernel-devel-3.1.1-2.fc16.x86_\
      64 kernel-3.1.1-2.fc16.x86_64

At this point yum check is all happy! And there is no trace of the
3.1.1-2 version of kernel packages in the rpm database.

So I at this point tried a plain old "yum update" again.

It correctly identified that I needed to update the kernel packages
(kernel, kernel-devel, kernel-header, kernel-tools). I let it proceed,
and eventually it completed and now I have the system updated. And the
new kernel verifies ok!


Note, there was ONE ERROR/WARNING message I saw during the install
about a missing grubby template which I still need to investigate.
Here's the yum update output...

Running Transaction
Warning: RPMDB altered outside of yum.
  Updating   : kernel-headers-3.1.1-2.fc16.x86_64
                                            1/6
  Installing : kernel-devel-3.1.1-2.fc16.x86_64
                                            2/6
  Updating   : kernel-tools-3.1.1-2.fc16.x86_64
                                            3/6
  Installing : kernel-3.1.1-2.fc16.x86_64
                                            4/6
grubby fatal error: unable to find a suitable template
  Cleanup    : kernel-headers-3.1.1-1.fc16.x86_64
                                            5/6
  Cleanup    : kernel-tools-3.1.1-1.fc16.x86_64
                                            6/6
yum-updatesd not on the bus

Installed:
  kernel.x86_64 0:3.1.1-2.fc16
kernel-devel.x86_64 0:3.1.1-2.fc16

Updated:
  kernel-headers.x86_64 0:3.1.1-2.fc16
kernel-tools.x86_64 0:3.1.1-2.fc16



My next step is to reboot into the new kernel.  And once I'm sure
everything is fine, I can remove those LVM snapshots.



Thanks again everybody.  Oh, any idea about the grubby error?
-- 
Deron Meranda
http://deron.meranda.us/
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux