[Yum] local file update

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

 



On Tue, 2004-08-10 at 11:21 -0500, Troy Dawson wrote:
> 
> Marshall Clark wrote:
> > Could anyone tell me either howto set up yum to run through a proxy
> or
> > update from a local directory?
> > 
> > Have set up proxy server and can ftp and http the net from all
> machines
> > but mail and yum will not work?  What should I have done?
> > 
> > Have copied all file from fedora servers and have update tree
> > in /home/myname/x86_64 updates/.
> > 
> > Have tried setting yum.conf cachedir=/home/myname/x86_64 updates/
> no
> > luck.
> > 
> > Have tried baseurl=file:///home/myname/x86_64 updates/  again no
> luck.
> > 
> > I know it is something simple but can't find it, could somebody save
> me
> > some time?
> > 
> > Thanks in advance.
> > 
> 
> I recently did this and this was the format that I had to use.
> 
>    baseurl=file://<hostname>/path/to/yum/repository/
> 
> It looks like you actually have a space in your path.  If this is so,
> you'll 
> have to make sure you have all the special characters in there.  It
> would 
> probrubly be easier just to rename /x86_64 updates/ to /x86_64-
> updates/ or 
> something like that.
> 
> Hope that helps
> Troy
-- 
I tried baseurl=file//marshall.localnet.cxm/home/mclark/x86_64updates/
and baseurl=file//localhost/home/mclark/x86_64updates/
again no luck, same error as last time.
And I am root when I try to update.


Marshall Clark <mclark323@xxxxxxx>


[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