2006-10-02, 08:21 PM
thanks to znx for the link,
[/url][url=http://www.brandonhutchinson.com/Upgrading...x_with_yum.html]http://www.brandonhutchinson.com/Upgrading...x_with_yum.html
cheers
anyweb
yum -y list installed | grep kernel
yum remove kernel-2.4.11*
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
yum update
yum upgrade
#[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!
Quote:[anyweb@www ~]$ uname -aLinux 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
Quote:Should this work for FC5 to FC6 when it is finished?
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
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
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
Quote:[root@www ~]# uname -aLinux 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)
Quote:[anyweb@www ~]$ uname -aLinux 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)