[Yum] Noob Question: yum behind a proxy - how?

seth vidal skvidal at linux.duke.edu
Wed Mar 29 06:10:04 UTC 2006


On Tue, 2006-03-28 at 12:17 -0700, Patrick C Miller wrote:
> To add...
> 
> I have added the following proxy settings in my /etc/yum.conf file...
> 
> [main]
> cachedir=/var/cache/yum
> keepcache=0
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=redhat-release
> tolerant=1
> exactarch=1
> obsoletes=1
> gpgcheck=1
> plugins=1
> metadata_expire=1800
> 
> # The proxy server - proxy server:port number
> proxy=http://172.17.228.123:3128/
> # The account details for yum connections
> 
> # PUT YOUR REPOS HERE OR IN separate files named file.repo
> # in /etc/yum.repos.d
> 
> Thought this might help...
> PM
> 
> "I'd rather be upside down in my kayak
> than right side up at my desk"
> ~ bumper sticker
> 
> 
> > -------- Original Message --------
> > Subject: [Yum] Noob Question: yum behind a proxy - how?
> > From: Patrick C Miller <patrick at pcmill.com>
> > Date: Tue, March 28, 2006 11:03 am
> > To: yum at lists.dulug.duke.edu
> > 
> > Sorry for the total noob Linux question...
> > 
> > I am trying to update my newly installed FC5, and I can't run yum behind
> > my corporate proxy.  However, I do understand that I may be asking the
> > wrong question (may need some coaching to get to the solution).
> > 
> > My error is as follows...
> > 
> >    Loading "installonlyn" plugin
> >    Setting up Update Process
> >    Setting up repositories
> >    core                                                                
> > [1/3]
> >    Cannot find a valid baseurl for repo: core
> >    Error: Cannot find a valid baseurl for repo: core
> > 
> > Where do I start?
> > 

what kind of proxy is it? Do you know?

-sv





More information about the Yum mailing list