Skip to content

Explorer

Reza Moallemi's Personal Weblog

Archive

July, 2009Archive for

Fedora
It’s obviously useful to set up a local repository in Fedora Core 6 to take files from local repository instead of having to go to the Internet to get them.
In Fedora Core 5 and above, the installer is based on yum and so there is actually yum repository metadata present on the DVD.

Configure yum to use your new repository


$ su -
# gedit /etc/yum.repos.d/dvd.repo

add the following lines to this file and then save it.


[DVD]
name=Fedora DVD $releasever - $basearch
failovermethod=priority
baseurl=path/to/yuor/dvd/media
enabled=1
gpgcheck=0

DeltaRPM is a tool that generates RPMs that contains the difference between an old and a new version of an RPM. This makes it possible to recreate the new RPM from the deltarpm and the old one. You don’t have to have a copy of the old RPM, as it can also work with installed RPMs.The delta rpm packages are even smaller in size than the patch RPMs, which is an advantage when transferring update packages over the Internet. The drawback is that update operations with delta RPMs involved consume considerably more CPU cycles than plain or patch RPMs