Red Hat Bugzilla – Bug 991382
fedup 18->19 after reboot fails: failed to open file /sysroot/var/lib/fedora-upgrade/media/Packages/...
Last modified: 2014-02-05 17:13:27 EST
Created attachment 781907 [details]
Description of problem:
I try to upgrade Fedora 18 to 19 with command:
fedup --iso /home/jj/Download/Fedora-19-i386-DVD.iso
After the reboot I see a lot of messages like the following:
Warning: failed to open file /sysroot/var/lib/fedora-upgrade/media/Packages/a/avahi-gobject-0.6.31-11.fc19.i686.rpm
Warning: couldn't add media/Packages/a/avahi-gobject-0.6.31-11.fc19.i686.rpm to the transaction
After that the system reboots again to Fedora 18, so the upgrade fails.
In /var/log/upgrade.log I can see the following errors (among others):
Aug 02 06:28:01 kamu.jsoft.fi systemd: var.mount: Directory /var to mount over is not empty, mounting anyway.
Aug 02 06:28:01 kamu.jsoft.fi systemd: system\x2dupgrade-media.mount: Directory /system-upgrade/media to mount over is not empty, mounting anyway.
Aug 02 06:28:01 kamu.jsoft.fi mount: mount: mount point /system-upgrade/media does not exist
Aug 02 06:28:01 kamu.jsoft.fi systemd: system\x2dupgrade-media.mount mount process exited, code=exited status=32
Aug 02 06:28:01 kamu.jsoft.fi systemd: Failed to mount Upgrade Media.
Aug 02 06:28:01 kamu.jsoft.fi systemd: Unit system\x2dupgrade-media.mount entered failed state.
I updated my Fedora 18 system to the latest packages before fedup.
Version-Release number of selected component (if applicable):
I tried two times, both attempts failed in the same way.
Steps to Reproduce:
1. fedup --iso /home/jj/Download/Fedora-19-i386-DVD.iso
After the reboot, lots of errors (failed to open file...), reboot back to Fedora 18
Fedora 19 up and running!
Fedora 18 was upgraded using fedup from Fedora 17
What's var.mount? Can you attach your /etc/fstab and/or the output of 'mount'?
When I tried fedup several times, eventually it managed to perform the upgrade. I encountered this problem on several PCs. Usually it was the third or fourth time it succeeded. So I don't have any Fedora 18 systems any more!
After one failed fedup I booted that PC with a Live CD and mounted the root partition on the hard disk. I noticed that mount point /var was non-empty! So somehow Fedora 18 could mount /var anyway and fedup can succeed as well if repeated many times!
I don't remember any more what files /var contained, but the date was old. Perhaps they were left there when I upgraded from Fedora 17 to Fedora 18, the dates of the files were about that age.
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '18'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 18's end of life.
Thank you for reporting this issue and we are sorry that we may not be
able to fix it before Fedora 18 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior to Fedora 18's end of life.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.