[Yum] How to update a system using a cdrom
seth vidal
skvidal at phy.duke.edu
Fri Oct 10 18:23:44 UTC 2003
On Fri, 2003-10-10 at 17:24, Francois Massonneau wrote:
> Hi,
>
> i've just bought a cd-rom containing updated packages for Redhat9.0
> It's structure is :
> athlon
> i386
> i486
> etc...
> noarch
> SRPMS
> it is mounted on /mnt/cdrom.
>
> I would like to ask yum to check that cdrom to update the packages
> installed on the machine. First, is it possible ?
>
> If so, I've added to the yum.conf file the following lines :
> [local]
> name=LocalStuff
> baseurl=file:///mnt/cdrom/$basearch
>
> But yum doesn't like that, and complains about the header.info file
> missing.
easy way to do this:
mkdir /some/path
cd /some/path
ln -s /mnt/cdrom .
yum-arch -l .
add the file:///some/path to your yum.conf
presto.
-sv
More information about the Yum
mailing list