Ticket #270 (closed task: fixed)
FESCO topic proposal - preupgrade and F-12
|Reported by:||jlaska||Owned by:|
|Cc:||wwoods, jrb, alexlan||Blocked By:|
Debugging and content below provided by Will Woods.
Preupgrade to F12 is basically not going to work for anyone without significant manual workarounds, due to insufficient disk space on /boot.
I think we may need to talk to hughsie and/or the desktop team about removing the preupgrade integration in PackageKit? for F10/F11 and how to do preupgrade right for F13 and higher.
Users of F-11 upgrading to F-12 using preupgrade
Reaching consensus on a solution before F-12 and identifying task owners.
Here's the details. The default /boot partition is 200MB, but there's some overhead: Ext3/Ext4 overhead: 7MB Reserved space: 10MB F11 kernel: 8MB (at least - usually 3 kernels = 24MB) GRUB/EFI files: 1MB Total overhead: 26MB So there's 174MB of usable space maximum, and usually 158MB available. preupgrade now requires at least 167MB free space on /boot: F12 installer images: 143MB (8mb larger than F11!) F12 kernel: 18MB (10mb larger than F11!) RPM/anaconda tmpfiles: >=8MB (measured in stupid tests) Total: 167MB (Was 149MB in F11 - no problem!)
So, preupgrade isn't going to work for anyone upgrading to F12 unless:
- they created a custom partition layout with /boot > 200MB, or
- they do some ugly manual workarounds (tune2fs, remove kernels), or
- we add some code to allow them to fetch install.img via http if /boot is low on space, or
- we add some preupgrade code to allow the user to store install.img on a USB key or similar.
c. - requires a wired network connection and seems to correlate with the GRUB Explode bug (bug 533545 or its suspected ancestor, bug 450143). We have a possible workaround for that (re-run grub-install) but that's not a very safe command *and* it's not necessary in a lot of cases - but we can't seem to predict when it *is* necessary.
d. - requires time+expertise that QA doesn't have,? and that wouldn't help anyone trying to run preupgrade remotely (via the cli version) or who doesn't have a USB key handy.
In need of an owner. If packagekit change, I believe this would be the Desktop SIG?