Tuesday, June 28, 2005

Updating from Fedora Core 3 to Fedora Core 4

As usual I follow this steps:

  1. Backup of sensible data
  2. Four Fedora Core CDs at hand
  3. Inser first CD and reboot my laptop
  4. Choose upgrade an exixting installation (install CD recognise there were a previous Fedora)
  5. try apt update .... uoops! first you need a new apt version... continue with reading, please

There're an apt version in official Fedora repositories, but it doesn't run, don't worry , there're no problems with apt under Fedora: there're no apt repositories for Fedora Core 4 and seems this is not going to be a supported method to keep your system updated.

So, I install yum from first Fedora Core CD and as root I type:
yum update
and appears at screen a lot of stuff such this (just a few lines):


[root@zozeck yum.repos.d]$ yum update
Setting up Update Process
Setting up repositories
updates-released 100% |===============| 951 B 00:00
extras 100% |===============| 1.1 kB 00:00
base 100% |===============| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |===============| 81 kB 00:13
updates-re: ##################################### 214/214
Added 214 new packages, deleted 0 old in 5.57 seconds
primary.xml.gz 100% |===============| 409 kB 00:10
extras : ################################### 1167/1167
Added 1167 new packages, deleted 0 old in 14.64 seconds
primary.xml.gz 100% |===============| 824 kB 00:56
base : ################################### 2772/2772
Added 2772 new packages, deleted 0 old in 30.91 seconds
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for hwdata to pack into transaction set.
hwdata-0.158.1-1.noarch.r 100% |===========| 17 kB 00:05
---> Package hwdata.noarch 0:0.158.1-1 set to be updated
---> Downloading header for xorg-x11 to pack into transaction set.

Lines later appear this one interesting:

--> Running transaction check
--> Processing Dependency: librecode.so.0 for package: fortune-mod
--> Processing Dependency: wxGTK-common = 2.4.2-12 for package: wxGTK
--> Processing Dependency: gnupg2 >= 1.9.6 for package: gpgme
--> Processing Dependency: libpth.so.20 for package: gpgme
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for pth to pack into transaction set.
pth-2.0.4-3.i386.rpm 100% |=================| 4.6 kB 00:00
---> Package pth.i386 0:2.0.4-3 set to be updated
---> Downloading header for gnupg2 to pack into transaction set.
gnupg2-1.9.16-4.fc4.i386. 100% |=================| 8.4 kB 00:00
---> Package gnupg2.i386 0:1.9.16-4.fc4 set to be updated

...and so on... finally appears:

Dependencies Resolved

==================================================================
Package Arch Version Repository Size
==================================================================
Updating:
Glide3 i386 20010520-36 extras 504 k
ImageMagick i386 6.2.2.0-3.fc4.0 updates-released 2.7 M
alsa-lib i386 1.0.9rf-2.FC4 updates-released 361 k
alsa-utils i386 1.0.9rf-2.FC4 updates-released 1.0 M
...
...
Transaction Summary
===================================================================
Install 9 Package(s)
Update 50 Package(s)
Remove 0 Package(s)
Total download size: 72 M
Is this ok [y/N]:

so I answer y and download and update system starts:

Downloading Packages:
(1/59): hwdata-0.158.1-1. 100% |=====================| 257 kB 00:07
(2/59): xorg-x11-6.8.2-37 100% |=====================| 14 MB 11:34
...

... and with it finish I've got a brand new Fedora Core totally update.

Now, I just have to run as root from time to time:
yum update
yum upgrade
and everything must be keep updated.