[Yum] How to update a system using a cdrom

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux