The system this concerns is a headless server that I do not have physical access to. I was trying to update the system yesterday over ssh when the bad weather in the UK caused a power cut dropping my connection. Once power was restored I was unable to complete the update, receiving a message:
Code: Select all
** Found 200 pre-existing rpmdb problem(s), 'yum check' output follows:
and then lists 200 packages.
Code: Select all
yum-complete-transaction --cleanup-only
reports no unfinished transactions and
fails after promising to remove a load of packages with
Code: Select all
Error: Trying to remove "yum", which is protected
You could try using --skip-broken to work around the problem
which feels like an awful idea.
I tried rebooting the server and got a kernel panic
Code: Select all
Kernel panic - not syncing: VFS: Unable to mount fs on unknown-block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-431.1.2.0.1.el6.x86_64 #1
Remote hands were able to boot from the previous kernel and I have since done an rpm -e on the 2.6.32-431 kernel. Whilst I have a working system I am still unable to update as described above. Any ideas gratefully received.