How to run preupgrade?

suvayu ali fatkasuvayu+linux at gmail.com
Wed Nov 9 16:29:11 UTC 2011


On Wed, Nov 9, 2011 at 15:31, Colin Paul Adams <colin at colina.demon.co.uk> wrote:
> The bug says a new preupgrade will be released shortly. I think I should
> wait for that, although I don't know how to find out when it is
> available (I added myself to the CC list, so that should do the trick, i
> hope).
>
> Presumably if I yum erase preupgrade, and then install and run it again
> when the new preupgrade is on the mirrors, it should just work.

I think you misunderstood the bug. Your machine has already been
upgraded to F16. It just boots the wrong kernel. To verify this, you
can check with the following:

$ cat /etc/redhat-release
Fedora release 16 (Verne)

$ rpm -qa kernel*

should list the last 2 F14 kernels and the latest F16 kernel (assuming
your installonly limit is set to the default value of 3).

But when you do:

$ uname -r

You should see the F14 kernel.

The fix for you is simply fix your grub.conf by hand and possibly
regenerate your initramfs like this:

# dracut -f /boot/initramfs-<F16-kernel-ver>.img <F16-kernel-ver>

I am not sure about this last part, it might be unnecessary. I can't
recall what I had to do and why (I was fooling around with the boot
splash, and this was when F16 was in beta a month back).

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list