linux-noob.com/forums: update fedora core 4 to 5 - linux-noob.com/forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

update fedora core 4 to 5 heres how. Rate Topic: -----

#1 User is offline   anyweb

  • Administrator
  • PipPipPipPipPipPipPipPip
  • View blog
Group:
Admin
Posts:
2,965
Joined:
11-December 03

Posted 02 October 2006 - 09:21 PM

thanks to znx for the link,

http://www.brandonhu...x_with_yum.html

cheers

anyweb
My linkedin profile at > linkedin.com
My personal website is > niallbrady.com
0

#2 User is offline   znx

  • Linux-Noob GURU
  • PipPipPipPipPipPipPipPip
  • View blog
Group:
Members
Posts:
1,220
Joined:
21-March 05

Posted 03 October 2006 - 12:46 AM

The basic idea is to have your system fully up-to-date. Then you should make sure that you are using the NEWEST kernel.

Therefore reboot your system to it if needed. Remove all the old kernels by checking:
CODE
yum -y list installed | grep kernel


Remove any old kernels for instance:
CODE
yum remove kernel-2.4.11*


Once thats done, install the release file:
CODE
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm


The do the upgrade.
CODE
yum update
yum upgrade


If you get a failure. As long as the package isn't system critical, remove it.

If all goes well, then a reboot and you should have FC5.
Bye
0

#3 User is offline   anyweb

  • Administrator
  • PipPipPipPipPipPipPipPip
  • View blog
Group:
Admin
Posts:
2,965
Joined:
11-December 03

Posted 03 October 2006 - 06:39 AM

if like me you have a mixture of one cpu (kernel) and two or more cpu's (kernel-smp) kernel's installed you'll have to do the following to remove the smp kernels


CODE
#[root@www ~]# yum -y list installed | grep kernel
kernel.i686                              2.6.16-1.2111_FC4      installed
kernel.i686                              2.6.16-1.2096_FC4      installed
kernel.i686                              2.6.17-1.2141_FC4      installed
kernel.i686                              2.6.17-1.2142_FC4      installed
kernel-smp.i686                          2.6.17-1.2142_FC4      installed
kernel-smp.i686                          2.6.15-1.1833_FC4      installed
kernel-smp.i686                          2.6.17-1.2141_FC4      installed
kernel-smp.i686                          2.6.16-1.2111_FC4      installed
kernel-smp.i686                          2.6.11-1.1369_FC4      installed
kernel-smp.i686                          2.6.16-1.2096_FC4      installed

[root@www ~]# yum remove kernel-smp-2.6.15*
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kernel-smp.i686 0:2.6.15-1.1833_FC4 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
kernel-smp              i686       2.6.15-1.1833_FC4  installed          42 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove       1 Package(s)
Total download size: 0
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Removing  : kernel-smp                   ######################### [1/1]

Removed: kernel-smp.i686 0:2.6.15-1.1833_FC4
Complete!


keep going until you only have the latest kernel installed in your list of kernels

cheers
anyweb
My linkedin profile at > linkedin.com
My personal website is > niallbrady.com
0

#4 User is offline   hybrid

  • Linux-Noob Frequent Member
  • PipPipPip
  • View blog
Group:
Admin
Posts:
444
Joined:
30-July 05

Posted 03 October 2006 - 07:22 AM

Cool! biggrin.gif

Should this work for FC5 to FC6 when it is finished?
My personal website

FOSSwire - offers news, tutorials, and articles for the open-sourced individual and/or enterprise.
0

#5 User is offline   anyweb

  • Administrator
  • PipPipPipPipPipPipPipPip
  • View blog
Group:
Admin
Posts:
2,965
Joined:
11-December 03

Posted 03 October 2006 - 09:14 AM

it should, and f.y.i i have used the above method to upgrade the http://www.linux-noob.com server (was FC4) to FC5 remotly via shh.

QUOTE
[anyweb@www ~]$ uname -a
Linux www.linux-noob.com 2.6.17-1.2187_FC5smp #1 SMP Mon Sep 11 01:32:34 EDT 2006 i686 i686 i386 GNU/Linux
[anyweb@www ~]$ cat /etc/redhat-release
Fedora Core release 5 (Bordeaux)
[anyweb@www ~]$ uptime
10:14:00 up 3 min, 2 users, load average: 0.35, 0.54, 0.24



cheers

anyweb
My linkedin profile at > linkedin.com
My personal website is > niallbrady.com
0

#6 User is offline   znx

  • Linux-Noob GURU
  • PipPipPipPipPipPipPipPip
  • View blog
Group:
Members
Posts:
1,220
Joined:
21-March 05

Posted 03 October 2006 - 09:39 AM

QUOTE (hybrid @ Oct 3 2006, 07:22 AM) <{POST_SNAPBACK}>
Should this work for FC5 to FC6 when it is finished?


Indeed this method will be similar for all the upgrades of FC.
Bye
0

#7 User is offline   anyweb

  • Administrator
  • PipPipPipPipPipPipPipPip
  • View blog
Group:
Admin
Posts:
2,965
Joined:
11-December 03

Posted 13 June 2007 - 10:40 PM

well it didn't go all that easy, had to ask for help on our irc channel (thanks jy/znx/flukex) and the following commands show what I did during the process to go from fcr5 to fcr6

CODE
yum -y list installed | grep kernel
uname -a
w
w
yum remove kernel-2.6.20-1*
yum -y list installed | grep kernel
yum remove kernel-2.6.20-1.2316.fc5
yum remove kernel-2.6.18-1.2257.fc5
yum -y list installed | grep kernel
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-7-3.noarch.rpm
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-notes-7.0.0-1.noarch.rpm
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-7-3.noarch.rpm
vi /etc/yum.conf
cd /etc/yum.repos.d/
ls
rm livna*
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-notes-7.0.0-1.noarch.rpm
rpm -e livna-release-5-8.noarch
yum remove apt
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-notes-7.0.0-1.noarch.rpm
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-7-3.noarch.rpm
ls /etc/fedora-release
ls -ls /etc/*release*
vi /etc/fedora-release
yum -y update
ls
vi fedora-core.repo
rm freshrpms.repo
ls
cd ..
ls
vi yum.conf
cd yum.repos.d/
ls
vi fedora-updates.repo
vi /etc/redhat-release
yum update
yum clean all
yum update
rpm -qa|grep fedora-release
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-notes-6-3.noarch.rpm
w
ls
wget http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-notes-6-3.noarch.rpm
wget http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm
ls
rpm -Uvh fedora-release-6-4.noarch.rpm fedora-release-notes-6-3.noarch.rpm
yum clean all
yum update
ps aux |grep yum
yum clean all
yum -y update
cd /etc/yum.repos.d/
ls
vi fedora-extras.repo
uptime
reboot


when i get the chance i'll document the apparent mess above tongue.gif

but for those of you wanting a quick fix to yum update fedora core release 5 to fedora core release 6 try this

CODE
wget http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-notes-6-3.noarch.rpm
wget http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm
ls
rpm -Uvh fedora-release-6-4.noarch.rpm fedora-release-notes-6-3.noarch.rpm
yum clean all
yum update


cheers
anyweb
My linkedin profile at > linkedin.com
My personal website is > niallbrady.com
0

#8 User is offline   anyweb

  • Administrator
  • PipPipPipPipPipPipPipPip
  • View blog
Group:
Admin
Posts:
2,965
Joined:
11-December 03

Posted 20 February 2008 - 02:56 PM

ok i've now attempted to update this server from Fedora Core release 6 to Fedora 8

using the following commands
CODE
wget ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/8/Fedora/i386/os/Packages/fedora-release-notes-8.0.0-3.noarch.rpm
wget ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/8/Fedora/i386/os/Packages/fedora-release-8-3.noarch.rpm
ls -al
rpm -Uvh fedora-release-8-3.noarch.rpm fedora-release-notes-8.0.0-3.noarch.rpm
yum clean all
yum update
yum remove rhnlib up2date
yum clean all
yum update
yum remove gstreamer08-plugins
yum update
reboot


which has worked but not perfectly, see below

QUOTE
[root@www ~]# uname -a
Linux www.linux-noob.com 2.6.20-1.2316.fc5smp #1 SMP Fri Apr 27 20:34:56 EDT 2007 i686 i686 i386 GNU/Linux
[root@www ~]# cat /etc/redhat-release Fedora release 8 (Werewolf)


so how do I fix the wrong kernel being loaded...
My linkedin profile at > linkedin.com
My personal website is > niallbrady.com
0

#9 User is offline   anyweb

  • Administrator
  • PipPipPipPipPipPipPipPip
  • View blog
Group:
Admin
Posts:
2,965
Joined:
11-December 03

Posted 20 February 2008 - 04:04 PM

odd, but I had to run yum -y update again and this time it correclty applied the updates

QUOTE
[anyweb@www ~]$ uname -a
Linux www.linux-noob.com 2.6.23.15-137.fc8 #1 SMP Sun Feb 10 17:48:34 EST 2008 i686 i686 i386 GNU/Linux
[anyweb@www ~]$ cat /etc/redhat-release
Fedora release 8 (Werewolf)

My linkedin profile at > linkedin.com
My personal website is > niallbrady.com
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users





The G2-style Tux and the header images using them are licensed under Creative Commons BY-NC-SA. The G2-style Tux images are all from http://crystalxp.net.
Thanks to users kami23, lilitux, iva, overlord59, whidou, brightknight, emulienfou on the Crystal XP Tux Factory site.