Features/PreUpgrade

From FedoraProject

Jump to: navigation, search

Contents

Summary

Allow users to easily download all the files needed to upgrade their distro, and then reboot into the installer without burning media.

Owner

Current status

Detailed Description

Provide an application a user can run from their existing fedora system which will depsolve all the pkgs they need to update to the next fedora release, download the pkgs, download the initrd and kernel, download a stage2 image, put them in place in the user's grub.conf and allow them to reboot into them to complete their update using anaconda.

Benefit to Fedora

It means that the boring and tedious part of an anaconda-based upgrade is done while the user is doing other things and while their computer is still useful to them. Then the update can go quickly and without pain while also allowing us to do proper upgrades using anaconda.

We get all the advantages of an anaconda update w/o the user having to wait or download and burn a cd or muck about with grub etc.


Test Plan

1. Install Fedora 8 1. Install preupgrade 1. Run preupgrade GUI (preupgrade-gtk.py) 1. Confirm that Fedora 9 appears in list of available versions

1. Choose 'Apply' 1. Confirm that packages are downloaded 1. Process should complete with no traceback 1. Reboot system and choose 'upgrade fedora' from boot menu 1. System should start installer - configure network, keyboard, etc.

1. Choose 'upgrade' 1. Check anaconda log to confirm that packages are being pulled from on-disk cache 1. Reboot into installed system

1. Install Fedora 7 1. Install preupgrade 1. Continue as above

1. Install Fedora 8 1. Install all available updates and reboot 1. Install preupgrade 1. Continue as above

1. Start basic test 1. After downloading half of the packages, quit preupgrade 1. Restart basic test 1. Confirm that packages in cache are not downloaded again

User Experience

Dependencies

Contingency Plan

Documentation

Release Notes

TODO.

Screenshots

mizmo mockups

File:Features PreUpgrade mizmo-mocks.1.svg Download SVG Source]

Image:Features_PreUpgrade_mizmo-mocks.1.png

Actual screenshots

This is a run of the preupgrade gtk GUI (bzr rev. 66) upgrading from Fedora 8 to Rawhide.

Image:Features_PreUpgrade_1-welcome.png Image:Features_PreUpgrade_2-version.png Image:Features_PreUpgrade_3-downloading.png Image:Features_PreUpgrade_4-getting-images.png Image:Features_PreUpgrade_5-complete.png

Comments

See also the interview here:

Current preupgrade version is 0.9.3-3, which is available in the F7 and F8 repos. Please see bug 444497 if you have /boot on RAID1, or bug 446826 if you have /boot on your root partition.