Elliott C. Back: In Aere Aedificare

How to Upgrade FC4 to FC5 with Yum and Plesk 8

Posted in Computers & Technology, Linux by Elliott Back on March 10th, 2007.

The addition of Plesk 8 causes numerous problems, but they are surmountable. Here’s a list of steps to go from 0 to a new distro without any hitches at all:

1) Get Yum. If you don’t have it, you can run these commands:

cd /tmp
wget yum-2.3.2-7.src.rpm
rpm -Uvh yum-2.3.2-7.src.rpm

2) Install the FC4 repository location:

wget fedora-release-4-2.noarch.rpm
rpm -Uvh fedora-release-4-2.noarch.rpm

3) Update everything in your standard Fedora Core 4 distro:

yum upgrade

4) Remove all kernels older than than 2.6.14:

rpm -qa “*kernel*”
yum remove kernel-2.6.14*

5) Install the FC5 repository location:

wget fedora-release-5-5.noarch.rpm
rpm -Uvh fedora-release-5-5.noarch.rpm

6) Update yum to the faster newer yum:

yum update yum

7) Install the atomic release locations for PSA 8.1:

wget atomic-release-1.0-3.rhfc5.art.noarch.rpm
rpm -Uvh atomic-release-1.0-3.rhfc5.art.noarch.rpm

8) Install the repository for PSA 8.1:

Add the following to the end of /etc/yum.conf:

[psa-8.1]
name=Atomic Rocket Turtle - FC5 - SW-Soft PSA 8.1 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-8.1/fedore/5/i386
gpgcheck=0

9) Upgrade everything:

yum clean all
yum upgrade

10) Fix any rpmdb / selinux issues:

/sbin/fixfiles relabel
rpm –rebuilddb
reboot

Now you should have an FC5 system with all the nice PHP bugfixes. If you use eaccelator or other PHP extensions you’ll have to install them again, and you will also want to fix up the config files before you reboot (httpd.conf, mysqld.conf, php.ini).

This entry was posted on Saturday, March 10th, 2007 at 2:54 pm and is tagged with fedora core 4, yum yum, rpm uvh, atomic rocket, kernel 2, php extensions, wget, mysqld, plesk, hitches, distro, config files, psa, kernels, release 1, repository, ini, tmp, turtle, sw. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback.

21 Responses to 'How to Upgrade FC4 to FC5 with Yum and Plesk 8'

  1. Computer Guru said:

    on March 11th, 2007 at 12:12 am

    Dude, FC5 is a ancient! :|

    Seriously, FC7 Test 1 was released last week. FC6 is getting old now, and people are still looking to upgrade to FC5!?

  2. breun said:

    on March 13th, 2007 at 5:56 am

    Fedora Core 5 is the most recent release supported by Plesk, so yeah, people are probably still looking to upgrade to FC5.

  3. Kieran said:

    on March 18th, 2007 at 9:22 pm

    Hi, just thought I’d say thanks for writing such a simple, easy to understand guide on updating to FC5 with Plesk installed. It worked great!

    I had a few issues with php-pear depending on the old version of PHP, but I forced an uninstall oh php-pear with dependencies ignored and when YUM ran the upgrade it installed it again perfectly with the right versions. I also had to remove in the same way after the upgrade mod_fgcid and then install again so as to correct an issue with the config file being empty or something. Oh and a problem with the PHP memory limit that was stopping Horde from working but once I increased that to 32M again it was all fine.

    Other than that though the server is now working perfectly and during the whole upgrade process was off-line for just 4 minutes! So yeah, thank you very much for your guide!

    I hope when the time comes you write an FC5 to FC6 upgrade guide also.

  4. zildgen said:

    on March 20th, 2007 at 9:39 pm

    BTW, your baseurl is no longer active. Should probably look into finding an updated link…

    I tried going directly to ART’s site and use their repositories, but now get errors on decencies when running the yum upgrade? Here are just a couple:

    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-autoinstaller
    Error: Missing Dependency: libssl.so.5 is needed by package psa-autoinstaller

    In fact, all packages that require the openssl package throws these errors. I am a little reluctant to reboot now as everything is working, but not yet upgraded. Any thoughts?

  5. Elliott Back said:

    on March 20th, 2007 at 9:55 pm

    I’m not sure what you mean baseurl. Those links are absolute links offsite, you’ll need to copy the links, not just the texst. If you install the repo for PSA you should be able to yum clean / yum upgrade without those PSA errors.

  6. zildgen said:

    on March 21st, 2007 at 8:59 pm

    Hey Elliott,

    Thanks for the help the baseurl I mentioned was 3es.atomicrocketturtle.com/atomic/psa-8.1/fedore/5/i386. Today it seems to be working, but yesterday afternoon I was getting a server not found error. Anyways, I was very glad to see that t saw the repo today. But, after a yum clean / yum update I still get these dependency errors:

    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-hotfix5
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-autoinstaller
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-hotfix3
    Error: Missing Dependency: libssl.so.5 is needed by package psa-autoinstaller
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-hotfix4

    I removed these packages (since I hate the PSA autoinstaller anyways) and then did a yum update. 12 hours later everything installed perfectly.

    Thanks again for the great tutorial and hope my issue can some day shed some light on any other issues people may have.

  7. Tebas said:

    on March 28th, 2007 at 10:26 am

    I had (still have) theese problems at step nine (9) :

    Error: Missing Dependency: libcrypto.so.5 is needed by package php51-openssl
    Error: Missing Dependency: libcrypto.so.5 is needed by package spamassassin
    Error: Missing Dependency: libssl.so.5 is needed by package php51-mysqli
    Error: Missing Dependency: libcrypto.so.5 is needed by package php51-pdo_mysql
    Error: Missing Dependency: libssl.so.5 is needed by package php51-curl
    Error: Missing Dependency: libcrypto.so.5 is needed by package php51-mysqli
    Error: Missing Dependency: libssl.so.5 is needed by package php51-openssl
    Error: Missing Dependency: libssl.so.5 is needed by package php51-ftp
    Error: Missing Dependency: libssl.so.5 is needed by package clamav
    Error: Missing Dependency: libcrypto.so.5 is needed by package php51-curl
    Error: Missing Dependency: libssl.so.5 is needed by package spamassassin
    Error: Missing Dependency: libssl.so.5 is needed by package php51-pdo_mysql
    Error: Missing Dependency: php

  8. Elliott Back said:

    on March 28th, 2007 at 10:36 am

    Your version of PHP is newer than FC4, that’s why, so there is a circular dependency. Do a ‘yum remove’ on all the php51 packages!

  9. breun said:

    on March 30th, 2007 at 8:45 am

    By the way, Plesk 8.1.1 was released this week and it supports FC6. :o )

    I’m keeping everything on CentOS though…

  10. Kieran said:

    on April 8th, 2007 at 10:51 am

    Hey,

    Based on my earlier success using this guide to upgrade it would be really great if one was available for an upgrade from FC5 to FC6 running Plesk 8.1.1.

    I’m not sure I really need it quite yet, don’t really know what advantage being on FC6 might have, but it would be nice to know how if i wanted too and this guide was really good so i’m sure another one would be too.

  11. Marc said:

    on April 12th, 2007 at 2:32 am

    I get the following errors on step 9:

    Error: Missing Dependency: libssl.so.5()(64bit) is needed by package psa-autoinstaller
    Error: Missing Dependency: libssl.so.5()(64bit) is needed by package psa-courier-imap-add
    Error: Missing Dependency: libboost_filesystem.so.1()(64bit) is needed by package psa
    Error: Missing Dependency: libcrypto.so.5()(64bit) is needed by package psa
    Error: Missing Dependency: libcrypto.so.5()(64bit) is needed by package psa-autoinstaller
    Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) is needed by package psa-courier-imap-add
    Error: Missing Dependency: libcrypto.so.5()(64bit) is needed by package psa-courier-imap-add
    Error: Missing Dependency: libssl.so.5()(64bit) is needed by package psa
    Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) is needed by package psa
    Error: Missing Dependency: php = 5.0.4-10.5 is needed by package php-pear

  12. Marc said:

    on April 12th, 2007 at 4:52 am

    php 5.0.4-10.5 is installed btw

  13. Elliott Back said:

    on April 12th, 2007 at 7:38 am

    Oh, you are on 64bit linux… the psa 8.1 links are for 32bit linux. You’ll need to replace i386 with x86_64 of course in the earlier steps.

  14. Marc said:

    on April 12th, 2007 at 8:34 am

    yeah, thats what i did, but unfortunatly it didn’t work :(

  15. David said:

    on April 15th, 2007 at 1:46 am

    Hi Elliott,

    It did not work I got a ton of dependencies :( however I have removed sitebuilder so there is no PHP 5.1, just the standard 5.04, any idea’s? I may have to leave my host as they still only offer FC4!

    Error: Missing Dependency: libssl.so.5 is needed by package sendmail
    Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package psa-qmail
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-courier-imap-add
    Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package psa-fileserver
    Error: Missing Dependency: libssl.so.5 is needed by package psa-autoinstaller
    Error: Missing Dependency: libssl.so.5 is needed by package PPWSE
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-autoinstaller
    Error: Missing Dependency: libcrypto.so.5 is needed by package nmap
    Error: Missing Dependency: libssl.so.5 is needed by package squid
    Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package psa-courier-imap-add
    Error: Missing Dependency: libcrypto.so.5 is needed by package spamassassin
    Error: Missing Dependency: libdbus-1.so.1 is needed by package dhcdbd
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-qmail
    Error: Missing Dependency: libcrypto.so.5 is needed by package squid
    Error: Missing Dependency: libcrypto.so.5 is needed by package gnupg
    Error: Missing Dependency: libssl.so.5 is needed by package nmap
    Error: Missing Dependency: libssl.so.5 is needed by package samba
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-proftpd
    Error: Missing Dependency: libssl.so.5 is needed by package psa-proftpd
    Error: Missing Dependency: libboost_filesystem.so.1 is needed by package psa
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa
    Error: Missing Dependency: libmysqlclient.so.14(libmysqlclient_14) is needed by package psa
    Error: Missing Dependency: libssl.so.5 is needed by package psa-watchdog
    Error: Missing Dependency: libssl.so.5 is needed by package gnupg
    Error: Missing Dependency: libssl.so.5 is needed by package psa-courier-imap-add
    Error: Missing Dependency: libcrypto.so.5 is needed by package sendmail
    Error: Missing Dependency: libssl.so.5 is needed by package perl-Net-SSLeay
    Error: Missing Dependency: libcrypto.so.5 is needed by package PPWSE
    Error: Missing Dependency: libcrypto.so.5 is needed by package perl-Net-SSLeay
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-watchdog
    Error: Missing Dependency: libcrypto.so.5 is needed by package samba
    Error: Missing Dependency: libssl.so.5 is needed by package psa-fileserver
    Error: Missing Dependency: libcrypto.so.5 is needed by package python
    Error: Missing Dependency: libssl.so.5 is needed by package spamassassin
    Error: Missing Dependency: libssl.so.5 is needed by package courier-imap
    Error: Missing Dependency: libssl.so.5 is needed by package python
    Error: Missing Dependency: libcrypto.so.5 is needed by package courier-imap
    Error: Missing Dependency: libcrypto.so.5 is needed by package psa-fileserver
    Error: Missing Dependency: libssl.so.5 is needed by package psa
    Error: Missing Dependency: libssl.so.5 is needed by package psa-qmail

  16. Elliott Back said:

    on April 15th, 2007 at 1:56 am

    It looks you didn’t add the psa-8.1 repository to your list; that’s why there are all the psa missing dependencies. Try that, then yum clean yum update again?

  17. David said:

    on April 16th, 2007 at 8:27 am

    Hi Elloitt,

    I did it again, ensuring the correct repos…

    cd /etc/yum.repos.d
    ls
    fedora-development.repo
    fedora-extras-development.repo
    atomic-psa-8.1.repo
    fedora-extras.repo
    atomic-psa-app-vault.repo
    fedora-legacy.repo
    atomic-psa-compatible.repo
    fedora-updates.repo
    atomic.repo
    fedora-updates-testing.repo
    fedora-core.repo

    vi atomic.repo
    # Stable channel
    [atomic]
    name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
    baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
    enabled=1

    vi atomic-psa-8.1.repo
    [psa-8.1]
    name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 8.1 RPMS
    #baseurl=http://www.atomicorp.com/channels/plesk/8.1.0/fedora/$releasever/$basearch
    #exclude=sitebuilder*
    baseurl=http://3es.atomicrocketturtle.com/atomic/psa-8.1/fedora/5/i386
    enabled=1
    gpgcheck=0

    Still get the same deps problem :(

    Its also just not PSA. On one reprovision ages ago I removed PSA completely. Problem is the some of the other packages.

    I know godaddy messes with the fc4 images, maybe its something they have done. After I removed PSA and any other packages, it still had dependencies on the libssl and libcrypto.. Only way was to remove them which means virtually and everything :(

    Its really a pain and their still done nothing and don’t offer even FC5, I really am about out of patience and find a new host.

    FC4 was shelved in December, not to mention FC5 was available on Plesk way before then, so I think I have been more than patient :(

    You dont know of a good host or a solution?

  18. JD Austin said:

    on July 26th, 2007 at 5:11 pm

    Is it possible to do a FC4 -> Centos migration this way?

  19. Vivian said:

    on February 9th, 2008 at 12:09 pm

    Can you tell me how to upgrade FC4 to FC6 on GoDaddy instead of reprovisioning like they are asking all clients before March 15, 2008? After that date, they will not be supporting anyone on FC3 or FC4. One would think they know that everyone don’t have the time to be down or migrating. Why on earth don’t they have a way to easily upgrade your system? Thanks!!

  20. Crack Google said:

    on May 21st, 2008 at 12:17 pm

    In the opening of this blog, you have a yum.conf modification with what appears to be a typo. fedore, should be fedora.

    Just an FYI

  21. ikea said:

    on May 26th, 2008 at 9:04 am

    I have a pb when ungrapding, with glibc-common, yum hangs and doesn’t do anything … does someone can help me ?

Your Thoughts Go Here:

Powered by WP Hashcash