F12 to F14 update

From Amahi

Contents

Update process

Internet-based method to update from Fedora 12 with Amahi 5 on it to Fedora 14 with Amahi 6.0 on it

  • First, this is not a light operation - please allow at least an hour (or two or even more, depending on your internet connection speed and your hardware)
  • Attempting this process is best done with console access. If you upgrade headless, the upgrade may take a while and you may not know if it worked well, opening you for risk that you interrupt it
  • IMPORTANT: It is strongly recommended to back up your data, etc. Visit the Upgrade your Distro page and follow step 1.
  • All the steps below need to be run as root
  • Optional: It is recommended (though NOT required) to update everything, based on the Fedora PreUpgrade Guide.
  • Note: Fedora can be upgraded from DVD. To do so, boot from the DVD and choose the upgrade path. More info in the Fedora Upgrade docs
This can take some time to download a LOT of packages. Type:
bash code
​yum -y update

reboot​

  • Login (as root) and type (including the double quotes). If you are totally headless and would like it to run the upgrade with VNC, run the preupgrade-cli with --vnc=<password>:
bash code
​yum -y install preupgrade

yum -y update yum preupgrade
yum clean all
preupgrade-cli "Fedora 14 (Laughlin)"

  • Type "y" to accept downloading all the packages
  • The preupgrade-cli will take a long time to download all F14 packages. This depends on your connection speed
  • When downloading all packages has finished, you will need to reboot, however, since this may take a long time, you may want to re-enable your router's DHCP server for the duration of the actual update (and release the HDA lease, then get a new one from the router!)
  • Reboot:
    • This will take a LONG time, installing all the packages. It's best if you have console access
    • It will boot into a special upgrade kernel, and install the latest F14 without networking or anything. This will take a long time and it's the most critical part of the process.
    • Then reboot once into the final kernel and packages
    • Avoid interrupting this process, or you may need to restart the whole thing again
  • Hopefully all runs ok, however you need to do a couple of things after the upgrade:
  • Now type this (should be a minute):
bash code
​hda-upgrade-amahi5-to-amahi6​
  • As root, type this to verify that the right package repositories have been selected:
bash code
​yum repolist​

This should look something like (rpmfusion are optional repositories):

repo id repo name status
amahi Amahi repository for Fedora 14 142
fedora Fedora 14 - i386 17,883
updates Fedora 14 - i386 - Updates 5,223
rpmfusion-free RPM Fusion for Fedora 14 - Free 432
rpmfusion-free-updates RPM Fusion for Fedora 14 - Free - Updates 273
rpmfusion-nonfree RPM Fusion for Fedora 14 - Nonfree 139
rpmfusion-nonfree-updates RPM Fusion for Fedora 14 - Nonfree - Updates 150
  • If all reported repositories point to Fedora 14 repositories, type:
bash code
​yum distro-sync​
  • All should be good!

Troubleshooting

Non-unicode languages

For non-unicode languages using on F12 environment, when running the command

bash code
​preupgrade-cli "Fedora  14 (Laughlin)"

ends you can see couple error messages about some code elements containing errors because you cannot type "y" to accept downloading all F14 components. The solution is easy. Type:

bash code
​LANG="C" preupgrade-cli "Fedora 14 (Laughlin)"

and the process will go on as described

Cups package not downloading

It seems that for some reason on some systems the cups package can't be downloaded through yum. You can test this by running:

bash code
​yum -y update cups​

If the package isn't downloaded (i.e. giving timeout errors), prior to starting the update process, run:

bash code
​yum -y erase cups​