From Fedora Project Wiki
No edit summary |
(Add some sample koji commands) |
||
Line 3: | Line 3: | ||
|actions= | |actions= | ||
# Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (no less than 250MB for <code>/boot</code>). | # Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (no less than 250MB for <code>/boot</code>). | ||
# | # To model a real-world use case, ensure there are a total of '''three''' kernels installed on the system. You can locate and download older kernels from the [http://koji.fedoraproject.org/koji/packageinfo?packageID=8 koji build system] or by using a {{command|koji}}. For example, the following commands will list available kernels and download a specified kernel package from koji. | ||
#:<pre> | |||
#: # yum install koji | |||
#: # koji list-tagged --quiet dist-f11-updates kernel | |||
#: # koji download-build --arch $(uname -p) --arch noarch kernel-2.6.30.5-43.fc11 | |||
#:</pre> | |||
# Install the newest available version of {{package|preupgrade}}. | # Install the newest available version of {{package|preupgrade}}. | ||
# Run <code>preupgrade</code> from a command prompt or the ''Run Application'' dialog. Provide the requested password for root authorization. | # Run <code>preupgrade</code> from a command prompt or the ''Run Application'' dialog. Provide the requested password for root authorization. | ||
# On the "Choose desired release" screen, enable "unstable test releases". | # On the "Choose desired release" screen, enable "unstable test releases". | ||
# Choose ''Rawhide'' from the list of available upgrade targets. | # Choose ''Rawhide'' from the list of available upgrade targets. | ||
# Click ''Apply''. | # Click ''Apply''. | ||
# | # '''NOTE''' - Preupgrade may present a warning dialog noting that additional disk space in {{filename|/boot}} is required to complete the upgrade process. See [http://fedoraproject.org/wiki/How_to_use_PreUpgrade#Troubleshooting methods to free more space in /boot], then click ''Check again'' | ||
# When the process completes, click ''Reboot''. | # When the process completes, click ''Reboot''. | ||
# The system should reboot, perform the upgrade, and reboot into the new system automatically. | # The system should reboot, perform the upgrade, and reboot into the new system automatically. | ||
# Log in to upgraded system, open a terminal, file browser, or other system applications. | # Log in to upgraded system, open a terminal, file browser, or other system applications. | ||
|results= | |results= | ||
# The preupgrade utility will run to completion, without error | |||
# The upgrade should complete and reboot without user assistance. | # The upgrade should complete and reboot without user assistance. | ||
# The system should be upgraded to new version without error. | # The system should be upgraded to new version without error. |
Revision as of 14:43, 17 November 2009
Description
This case tests upgrading a Fedora system from the current stable release (Fedora 41) to the development release (Rawhide/Fedora 42) using PreUpgrade.
How to test
- Perform an installation of the stable release (e.g. Fedora 41) with default partitioning (no less than 250MB for
/boot
). - To model a real-world use case, ensure there are a total of three kernels installed on the system. You can locate and download older kernels from the koji build system or by using a
koji
. For example, the following commands will list available kernels and download a specified kernel package from koji.- # yum install koji
- # koji list-tagged --quiet dist-f11-updates kernel
- # koji download-build --arch $(uname -p) --arch noarch kernel-2.6.30.5-43.fc11
- Install the newest available version of
preupgrade
. - Run
preupgrade
from a command prompt or the Run Application dialog. Provide the requested password for root authorization. - On the "Choose desired release" screen, enable "unstable test releases".
- Choose Rawhide from the list of available upgrade targets.
- Click Apply.
- NOTE - Preupgrade may present a warning dialog noting that additional disk space in
/boot
is required to complete the upgrade process. See methods to free more space in /boot, then click Check again - When the process completes, click Reboot.
- The system should reboot, perform the upgrade, and reboot into the new system automatically.
- Log in to upgraded system, open a terminal, file browser, or other system applications.
Expected Results
- The preupgrade utility will run to completion, without error
- The upgrade should complete and reboot without user assistance.
- The system should be upgraded to new version without error.
- The opened terminal, file browser, or other system applications should display and work correctly.