FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2015
    Location
    Germany
    Posts
    2

    Upgrade from 21 to 22 fails

    Hi,

    I've just tried to upgrade my existing F21 installation to F22, by doing:

    Code:
    sudo fedup --network 22
    ...and it fails like this:

    Code:
    testing upgrade transaction
    rpm transaction 100% [============================================================================================================================================================]
    rpm install 100% [================================================================================================================================================================]
    setting up system for upgrade
    Traceback (most recent call last):
      File "/bin/fedup", line 291, in <module>
        main(args)
      File "/bin/fedup", line 225, in main
        prep_boot(kernel, initrd)
      File "/usr/lib/python2.7/site-packages/fedup/sysprep.py", line 168, in prep_boot
        customize_initrd(initrd)
      File "/usr/lib/python2.7/site-packages/fedup/sysprep.py", line 135, in customize_initrd
        curimg = boot.Initramfs(boot.current_initramfs())
      File "/usr/lib/python2.7/site-packages/fedup/boot.py", line 57, in __init__
        self._compression = detect_compression(self.open())
      File "/usr/lib/python2.7/site-packages/fedup/boot.py", line 70, in open
        fobj = open(self.img, 'rb')
    IOError: [Errno 2] No such file or directory: '/boot/initramfs-3.19.5-200.fc21.x86_64.img'
    Why is the script looking for an old initramfs? How do I get it not to do that? The current initramfs in /boot is initramfs-3.19.7-200.fc21.x86_64.img.
    Last edited by hlinden; 28th May 2015 at 03:43 PM.

  2. #2
    Join Date
    May 2015
    Location
    Germany
    Posts
    2

    Re: Upgrade from 21 to 22 fails

    ....aaaaand it turn out, I didn't have /boot mounted and was running an old kernel. Oh well. Solved.

Similar Threads

  1. FC19 fedup upgrade to FC20 fails (won't boot System Upgrade)
    By wernermaes in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 15th January 2014, 02:21 PM
  2. Upgrade F8 to F9 fails
    By garc in forum Installation, Upgrades and Live Media
    Replies: 3
    Last Post: 2nd October 2008, 07:57 AM
  3. yum upgrade fails
    By stry_cat in forum Using Fedora
    Replies: 9
    Last Post: 19th October 2007, 03:06 AM
  4. Xen fails after upgrade on FC5
    By sietse in forum EOL (End Of Life) Versions
    Replies: 4
    Last Post: 3rd November 2006, 07:29 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •