2009-11-28, 08:48 PM
(This post was last modified: 2010-03-25, 12:09 AM by Dungeon-Dave.)
now that Fedora 12 (Constantine) has been out for a week or so, I decided it's time to upgrade my Fedora 11 laptop to the new release using Yum.
I'm documenting this in case anyone wants to try doing the same thing.
Backup your data
Before attempting to do this, backup your important data over the network or two an external USB drive. This is incase something goes wrong and you need to format/reinstall. During the backup, take a look at these common F12 bugs to see if any might impact you.
Once all your data is backed up, proceed with the upgrade.
Get the Fedora 12 Release RPMs
Code:
[anyweb@localhost]$ wget ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/12/Fedora/i386/os/Packages/fedora-release-12-1.noarch.rpm
[anyweb@localhost]$ wget ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/12/Fedora/i386/os/Packages/fedora-release-notes-12.0.0-4.fc12.noarch.rpm
Using Yum to upgrade
Need to become root to run the next commands...
Code:
su -
change to the directory containing those files above and execute the following command:
Code:
[root@localhost fedora12]# rpm -Uvh fedora-release-12-1.noarch.rpm fedora-release-notes-12.0.0-4.fc12.noarch.rpm
then
Code:
yum clean all
then
Code:
yum update
first time around, I got some warnings about tigervnc-server
Quote:--> Finished Dependency Resolutiontigervnc-server-1.0.0-2.fc11.i586 from installed has depsolving problems
--> Missing Dependency: libcrypto.so.8 is needed by package tigervnc-server-1.0.0-2.fc11.i586 (installed)
tigervnc-server-1.0.0-2.fc11.i586 from installed has depsolving problems
--> Missing Dependency: libssl.so.8 is needed by package tigervnc-server-1.0.0-2.fc11.i586 (installed)
Error: Missing Dependency: libcrypto.so.8 is needed by package tigervnc-server-1.0.0-2.fc11.i586 (installed)
Error: Missing Dependency: libssl.so.8 is needed by package tigervnc-server-1.0.0-2.fc11.i586 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
so I chose to remove the software
Code:
yum remove tigervnc-server
I ran
Code:
yum update
again and this time no warnings
Quote:Transaction Summary
================================================================================
Install 152 Package(s)
Upgrade 1133 Package(s)
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Total download size: 748 M
Is this ok [y/N]:
I pressed Y to continue and then it downloaded 1285 updates
Quote:(1285/1285): zlib-1.2.3-23.fc12.i686.rpm | 69 kB 00:00 --------------------------------------------------------------------------------
Total 1.4 MB/s | 748 MB 09:00
I was now prompted to accept the new GPG keys, so had to press Y 3 times for this process
Quote:Importing GPG key 0x57BBCCBA "Fedora (12) <fedora@fedoraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
Is this ok [y/N]: y
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID 16ca1a56
rpmfusion-free/gpgkey | 1.7 kB 00:00
Importing GPG key 0x16CA1A56 "RPM Fusion free repository for Fedora (12) <rpmfusion-buildsys@lists.rpmfusion.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-12-i386
Is this ok [y/N]: y
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 signature: NOKEY, key ID a3a882c1
rpmfusion-nonfree/gpgkey | 1.7 kB 00:00
Importing GPG key 0xA3A882C1 "RPM Fusion nonfree repository for Fedora (12) <rpmfusion-buildsys@lists.rpmfusion.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-12-i386
Is this ok [y/N]: y
the updates finally get applied (which took some time)
Quote: Updating : policycoreutils-python-2.0.74-17.fc12.i686 930/2467
Updating : python-virtinst-0.500.0-5.fc12.noarch 931/2467
Updating : selinux-policy-targeted-3.6.32-46.fc12.noarch 932/2467
Updating : PackageKit-yum-plugin-0.5.4-0.4.20091029git.fc12 933/2467
Installing : media-player-info-3-1.fc12.noarch 934/2467
Updating : alacarte-0.12.4-1.fc12.noarch 935/2467
Updating : system-config-lvm-1.1.10-1.fc12.noarch 936/2467
Updating : system-config-language-1.3.3-3.fc12.noarch 937/2467
Updating : 1:xchat-2.8.6-13.fc12.i686 938/2467
Updating : baekmuk-ttf-fonts-ghostscript-2.2-22.fc12.noarch 939/2467
Updating : system-config-rootpassword-1.99.6-1.fc12.noarch 940/2467
after some hours all the files are installed or updated
Quote: gnome-audio.noarch 0:2.22.2-4.fc11 hal-cups-utils.i586 0:0.6.19-2.fc11
kacst-fonts.noarch 0:2.0-2.fc11
kerneloops.i586 0:0.12-5.fc11
liberation-fonts-compat.noarch 0:1.04.93-10.fc11
libudev0.i586 0:141-7.fc11
lohit-fonts-common.noarch 0:2.4.0-1.fc11
openal.i586 0:0.0.9-0.17.20060204cvs.fc11
paktype-fonts.noarch 0:2.0-3.fc11
totem-gstreamer.i586 0:2.26.4-2.fc11
udev-extras.i586 0:20090226-0.5.20090302git.fc11
un-core-fonts-batang.noarch 0:1.0.2-0.8.080608.fc11
un-core-fonts-dinaru.noarch 0:1.0.2-0.8.080608.fc11
un-core-fonts-dotum.noarch 0:1.0.2-0.8.080608.fc11
un-core-fonts-graphic.noarch 0:1.0.2-0.8.080608.fc11
un-core-fonts-gungseo.noarch 0:1.0.2-0.8.080608.fc11
un-core-fonts-pilgi.noarch 0:1.0.2-0.8.080608.fc11
xorg-x11-filesystem.noarch 0:7.3-4.fc11
Complete!
Reboot and Verify
and now it's time to reboot to let the new kernel take effect
after the reboot, we can check the kernel version and os version to verify that the upgrade has taken place
Quote:[anyweb@localhost ~]$ cat /etc/redhat-release Fedora release 12 (Constantine)
[anyweb@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.31.5-127.fc12.i686 #1 SMP Sat Nov 7 21:41:45 EST 2009 i686 i686 i386 GNU/Linux
[anyweb@localhost ~]$
Double-check that we don't need any more updates
Quote:[root@localhost ~]# yum -y updateLoaded plugins: dellsysidplugin2, refresh-packagekit
Setting up Update Process
No Packages marked for Update
[root@localhost ~]#
and that's it, Fedora 12 is now installed !!
Some Screenshots
<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_11_2009/post-1-12594810091829.png" data-fileid="1223">[img]<fileStore.core_Attachment>/monthly_11_2009/post-1-12594810091829.png[/img]</a>
<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_11_2009/post-1-12594811042576.png" data-fileid="1224">[img]<fileStore.core_Attachment>/monthly_11_2009/post-1-12594811042576.png[/img]</a>
<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_11_2009/post-1-12594811212306.png" data-fileid="1225">[img]<fileStore.core_Attachment>/monthly_11_2009/post-1-12594811212306.png[/img]</a>
<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_11_2009/post-1-12594835523753.png" data-fileid="1228">[img]<fileStore.core_Attachment>/monthly_11_2009/post-1-12594835523753.png[/img]</a>