[Yum] local file update

Michael Stenner mstenner at ece.arizona.edu
Tue Aug 10 17:25:24 UTC 2004


On Tue, Aug 10, 2004 at 10:08:39AM -0700, Marshall Clark wrote:
> On Tue, 2004-08-10 at 09:32 -0700, Michael Stenner wrote:
> > On Tue, Aug 10, 2004 at 11:21:22AM -0500, Troy Dawson wrote:
> > > I recently did this and this was the format that I had to use.
> > > 
> > >   baseurl=file://<hostname>/path/to/yum/repository/
> > 
> > Yes.  This is the correct format for file urls.  Leaving <hostname>
> > blank means local host, so if you have something in /var/repos/fc1,
> > then the baseurl would be:
> > 
> >    baseurl=file:///var/repos/fc1
> > 
> baseurl=file:///marshall.localnet.cxm/home/mclark/x86_64updates/
> 
> Well that was it as far as for yum going there first. But it says it
> can't find the file.  Now I get:
> [Errno 5] OSError [Errno 2] No such file or directory
> 
> '/marshall.localnet.cxm/home/mclark/x86_64updates/headers/header.info' 
> 
> I changed dir from /root to /home/mclark/x86_64updates/headers/ 
> and the file is there!

Yes, but the path you SPECIFIED is /marshall.localnet.cxm/...

Read my message again and then try:

  baseurl=file:///home/mclark/x86_64updates/

					-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G



More information about the Yum mailing list