I had finished downloading the new Fedora Core 5 a few days back and was very excited to try it out. The installation went off very smoothly and was very pleasing to my eyes. The operating system loading was very fast and I presume it took half the time it used to be in Fedora Core 4.
The problem with the system was the Add/Remove program (Pirut) in Fedora Core 5. It connects to the internet for adding any package or updating it. In my country the internet connectivity is a costly affair. So to make Pirut use the local packages in my CDs, I created a directory /var/yum/Fedora/RPMS and copied all the rpms in the CD nos. 1,2,3,4 and 5 to the folder /var/yum/Fedora/RPMS and the repodata folder in 1st disk to /var/yum/ folder.
Then I edited the file named fedora-core.repo in /etc/yum.repo.d/ and inserted few lines like
[Fedora-Core-5-local-install]
name=Fedora Core $releasever - $basearch
baseurl=file:///var/yum
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
and changed all the other enabled=1 to enabled=0 in this file and all the files with *.repo in /etc/yum.repos.d/ and then I have been able to install packages using Add/Remove Software (Pirut) ever since.
Please note :- Don't forget to copy repodata folder in FC 5 disk 1 or you would be seeing repomd.xml error.
Monday, May 15, 2006
Subscribe to:
Posts (Atom)