Results 1 to 5 of 5
-
08-07-2004, 08:30 AM #1Junior Guru Wannabe
- Join Date
- Nov 2003
- Posts
- 59
Easy Fedora Core 1 to Fedora Core 2 update
As we have decided to go down the Fedora Path, instead of the RHEL path, we now have to contend with Fedora's rediculously short release cycle.
To comprehend this, we will be writing how-to's for those interested to continually migrate their Systems to the newest Fedora Core releases.
Fedora Core 1 EOL's very soon, and to that end, we have prepared a painless upgrader to upgrade Fedora Core 1 systems to Fedora Core 2.
If any mods/admins view this thread, could they please sticky it.
The main advantages of this upgrade include
- 2.6.7 Kernel, bringing more security and speed to Systems (Especially P4's/Xeon's with Hyperthreading)
- Python 2.3
- RPM 4.3
- GLibc 2.3.3
and countless package upgrades providing new features and security enhancements.
Since Fedora Core 1 uses an older version of Python & RPM, if you try to use Yum to update your system (i.e. upgrade the fedora-release package, and try to
yum upgrade) things will break.
To that end, we have provided 2 base package upgrades that will update your system's base components (RPM, Python, GLibc etc) to make the remainder of the
upgrade easy.
Note: Before you start bashing away at your keyboard, there is a FULL command listing below to make the upgrade process fully automated, so just read below,
but dont skip anything as it is important.
Firstly, you need to download base package update, which can be found here http://files.oktagone.net/fedora/fc1...e/base.tar.bz2 (~81MB)
If anyone has any queries as to exactly what this package contains, here is the list of files.
base/authconfig-4.6.2-1.i386.rpm
base/authconfig-gtk-4.6.2-1.i386.rpm
base/compat-db-4.1.25-2.1.i386.rpm
base/comps-extras-9.92-1.noarch.rpm
base/db4-4.2.52-3.1.i386.rpm
base/db4-devel-4.2.52-3.1.i386.rpm
base/expect-5.39.0-96.1.i386.rpm
base/expect-devel-5.39.0-96.1.i386.rpm
base/fedora-release-2-4.i386.rpm
base/glibc-2.3.3-27.i686.rpm
base/glibc-common-2.3.3-27.i386.rpm
base/glibc-devel-2.3.3-27.i386.rpm
base/glibc-headers-2.3.3-27.i386.rpm
base/glibc-kernheaders-2.4-8.44.i386.rpm
base/libselinux-1.11.4-1.i386.rpm
base/libselinux-devel-1.11.4-1.i386.rpm
base/libxml2-2.6.8-1.i386.rpm
base/libxml2-devel-2.6.8-1.i386.rpm
base/libxml2-python-2.6.8-1.i386.rpm
base/nscd-2.3.3-27.i386.rpm
base/pam-0.77-40.i386.rpm
base/pam-devel-0.77-40.i386.rpm
base/popt-1.9.1-0.3.i386.rpm
base/python-2.3.3-6.i386.rpm
base/python-devel-2.3.3-6.i386.rpm
base/python-docs-2.3.3-6.i386.rpm
base/python-optik-1.4.1-5.noarch.rpm
base/python-tools-2.3.3-6.i386.rpm
base/rhpl-0.143-1.i386.rpm
base/rpm-4.3.1-0.3.i386.rpm
base/rpm-build-4.3.1-0.3.i386.rpm
base/rpmdb-fedora-2-0.20040513.i386.rpm
base/rpm-devel-4.3.1-0.3.i386.rpm
base/rpm-python-4.3.1-0.3.i386.rpm
base/shadow-utils-4.0.3-21.i386.rpm
base/tcl-8.4.5-7.i386.rpm
base/tcl-devel-8.4.5-7.i386.rpm
base/tclx-8.3.5-2.i386.rpm
base/tix-8.1.4-96.1.i386.rpm
base/tix-devel-8.1.4-96.1.i386.rpm
base/tk-8.4.5-8.i386.rpm
base/tk-devel-8.4.5-8.i386.rpm
base/tkinter-2.3.3-6.i386.rpm
*nix distro's have moved from Xfree to xorg.
The package can be grabbed from http://files.oktagone.net/fedora/fc1.../xfree.tar.bz2 (~30MB)
File contents
xfree/xorg-x11-6.7.0-2.i386.rpm
xfree/xorg-x11-Mesa-libGL-6.7.0-2.i386.rpm
xfree/xorg-x11-font-utils-6.7.0-2.i386.rpm
xfree/xorg-x11-xfs-6.7.0-2.i386.rpm
xfree/xorg-x11-libs-6.7.0-2.i386.rpm
xfree/xorg-x11-libs-data-6.7.0-2.i386.rpm
xfree/xorg-x11-truetype-fonts-6.7.0-2.i386.rpm
xfree/xorg-x11-xauth-6.7.0-2.i386.rpm
xfree/xorg-x11-devel-6.7.0-2.i386.rpm
xfree/xorg-x11-base-fonts-6.7.0-2.i386.rpm
xfree/freetype-2.1.7-4.i386.rpm
xfree/freetype-devel-2.1.7-4.i386.rpm
xfree/chkfontpath-1.10.0-1.i386.rpm
xfree/VFlib2-2.25.6-21.i386.rpm
xfree/Glide3-20010520-30.i386.rpm
xfree/Glide3-devel-20010520-30.i386.rpm
xfree/xinitrc-3.39-1.noarch.rpm
xfree/switchdesk-4.0.3-1.noarch.rpm
The next step is to clean up the dependancies that yum will have problems with. Dont worry about removing these rpm's below because yum will simply reinstall
them.
rpm -e exim --force
Next, you want to get a new yum.conf so you have a "reliable" and stable update source.
Grab our tested yum.conf - http://files.oktagone.net/fedora/fc1...grade/yum.conf
Now, we are ready to use yum. It's sexy and easy. Just type yum update, and Yum will download all the headers, and RPM's as needed. Remember to press Y once
the deps testing is done. If you have any errors and yum cannot complete due to package conflicts, please paste them so i can debug why this happens, and
give you a solution.
When yum is complete, you will need to perform a reboot to boot into the new kernel you have aquired. Before doing this, it's important to check
/boot/grub/grub.conf to see that the new kernel (2.6.7-1.494.2.2) is there.
Your grub.conf should look something like this
default=0
failsafe=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.7-1.494.2.2)
root (hd0,0)
kernel /vmlinuz-2.6.7-1.494.2.2 ro root=LABEL=/1
initrd /initrd-2.6.7-1.494.2.2.img
title Fedora Core (2.4.22-1.2197.nptl)
root (hd0,0)
kernel /vmlinuz-2.4.22-1.2197.nptl ro root=LABEL=/1
initrd /initrd-2.4.22-1.2197.nptl.img
(Note: The failsafe line isnt necessary if you dont have it).
If it looks good, exit your text editor, and reboot.
If all went to plan, your box should be back up in a few minutes.
Once its live again, there's a few things you need to do to fix up services.
First, you want to tell cPanel to use Yum now instead of APT, so we run
touch /var/cpanel/useyum
Then, we want to fix exim, since YUM installs a standard Fedora version of it, which wont work with cPanel.
Simply grab the cPanel Exim RPM from here - and install it.
http://updates.cpanel.net/exim-cpane...iscan.i386.rpm
rpm -Uhv exim* --force is the command you'll need to use, since exim is allready installed, and may conflict with a package called "setup"
Then, rebuild Apache using /scripts/easyapache. Option 4 is reccomended.
Now, your all done!
Go into WHM, and check your services stats. Everything should be running, and your system is now running the latest, fully updated Fedora Core 2.
If anyone needs help with this upgrade feel free to PM me, however any problems should be posted below so that others can benefit from your feedback.
Thanks!
COMMAND OUTPUT!
Step 1: Setup Directory and get required files.
mkdir upgrade
cd upgrade
wget http://files.oktagone.net/fedora/fc1...e/base.tar.bz2
wget http://files.oktagone.net/fedora/fc1.../xfree.tar.bz2
Step 2: verify the MD5's by typing
md5sum base.tar.bz2
md5sum xfree.tar.bz2
Step 3: Extract RPM's and upgrade them
tar -xvjpf base.tar.bz2
tar -xvjpf xfree.tar.bz2
rpm -Uhv base/*.rpm
rpm -Uhv xfree/*.rpm
Step 4: Fix Deps and run yum
rpm -e exim --force
wget http://files.oktagone.net/fedora/fc1...grade/yum.conf -O /etc/yum.conf
yum update
Step 5: Check boot stuff
nano /boot/grub/grub.conf
Step 6: Reboot
reboot -n
Step 7: Fix Exim / Apache
touch /var/cpanel/useyum
rpm -Uhv http://updates.cpanel.net/exim-cpane...iscan.i386.rpm --force
/scripts/easyapache
(end)OktaGone Publishing
http://www.oktagone.com/
100% Owned Australian Network
-
08-29-2004, 11:42 AM #2Temporarily Suspended
- Join Date
- Feb 2003
- Location
- uk
- Posts
- 22
Shouldnt this be in either technical how-tos or dedicated server how-tos?
As its not related to a cp.
-
08-30-2004, 03:02 AM #3Registered User
- Join Date
- Oct 2002
- Posts
- 19
I am getting the following errors while doing "yum update"
root@weed [/src/kernel]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.Package php needs libgd.so.1.8, this is not available.
Package php needs libgd.so.1.8, this is not available.
Package php needs libgd.so.1.8, this is not available.
Package php needs libgd.so.1.8, this is not available.
Package php needs libpspell-modules.so.1, this is not available.
Package php needs libpspell-modules.so.1, this is not available.
Package php needs libpspell.so.4, this is not available.
Package php needs libpspell.so.4, this is not available.
Package php needs libpspell-modules.so.1, this is not available.
Package php needs libpspell-modules.so.1, this is not available.
Package php needs libpspell.so.4, this is not available.
Package php needs libpspell.so.4, this is not available.
Package iftop needs libpcap.so.0.6.2, this is not available.
Package snort needs libpcap.so.0.6.2, this is not available.
Package snort-mysql needs libpcap.so.0.6.2, this is not available.
Package php-imap needs libcom_err.so.3, this is not available.
Package php-imap needs libcom_err.so.3, this is not available.
Package imap needs libcom_err.so.3, this is not available.
Package imap needs libcom_err.so.3, this is not available.
Package pine needs libcom_err.so.3, this is not available.
Package pine needs libcom_err.so.3, this is not available.
Package php needs libcom_err.so.3, this is not available.
Package php needs libcom_err.so.3, this is not available.
Package php-imap needs libcom_err.so.3, this is not available.
Package php-imap needs libcom_err.so.3, this is not available.
Package imap needs libcom_err.so.3, this is not available.
Package imap needs libcom_err.so.3, this is not available.
Package pine needs libcom_err.so.3, this is not available.
Package pine needs libcom_err.so.3, this is not available.
Package php needs libcom_err.so.3, this is not available.
Package php needs libcom_err.so.3, this is not available.
-
09-02-2004, 01:34 AM #4Junior Guru Wannabe
- Join Date
- Nov 2003
- Posts
- 59
If you have RPM's like that, you need to remove them.
OktaGone Publishing
http://www.oktagone.com/
100% Owned Australian Network
-
09-12-2004, 11:40 PM #5WHT Addict
- Join Date
- May 2004
- Posts
- 149
problems:
[root@li5-11 update]# cd base
[root@li5-11 base]# rpm -Uhv *
warning: authconfig-4.6.2-1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
pygtk2-libglade is needed by authconfig-gtk-4.6.2-1
zlib-devel is needed by libxml2-devel-2.6.8-1
patch >= 2.5 is needed by rpm-build-4.3.1-0.3
libX11.so.6 is needed by tclx-8.3.5-2
libX11.so.6 is needed by tix-8.1.4-96.1
libX11.so.6 is needed by tk-8.4.5-8
XFree86-devel is needed by tk-devel-8.4.5-8
libX11.so.6 is needed by tkinter-2.3.3-6
/usr/bin/python2.2 is needed by (installed) redhat-config-network-tui-1.3.10-1
librpm-4.2.so is needed by (installed) apt-0.5.15cnc2-1.fr
librpmdb-4.2.so is needed by (installed) apt-0.5.15cnc2-1.fr
librpmio-4.2.so is needed by (installed) apt-0.5.15cnc2-1.fr
[root@li5-11 base]#
:/