[Yum] Re: using yum offline

Matt Hyclak hyclak at math.ohiou.edu
Mon Nov 21 23:50:10 UTC 2005


On Mon, Nov 21, 2005 at 03:08:16PM -0700, Earl Eiland enlightened us:
> # $Id: yum-rh.conf,v 1.2 2003/09/18 16:29:06 dude Exp $
> 
> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=redhat-release
> gpgcheck=1
> tolerant=1
> exactarch=1
> 
> [repository]
> name=RH9 repository
> baseurl=file://root/yum_reposRH9
> 

You're missing a slash. file:// is the protocol, the file is
/root/yum_reposRH9. I suspect the only way this would work was if you were
already in the / directory. Try:

baseurl=file:///root/yum_reposRH9

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263



More information about the Yum mailing list