LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-16-2006, 08:24 AM   #1
_UnPrEdictAbLe_
Member
 
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Rep: Reputation: 30
Unhappy Yum proxy settings for different repos...


Hi,

I am using Fedora Core, yum 2.6.0-1. I am behind a proxy server to access the internet. I've exported the environment variables http_proxy and ftp_proxy, and yum works fine with them. We've have decided to set up a yum repository in the local LAN network. The proxy server is configured to 'refuse' all requests to the local LAN IPs. Hence, I'd like to not-use proxy for the local repository.

It seems that unsetting the environment variable and writing
Code:
proxy=http://ip:port
in yum.conf doesn't work. It was mentioned that you can have proxy settings for a repo by setting this variable in the repo file. But seems yum just ignores this value. Anyone knows why does this happen? And whats the workaround if I want to use all repositories (local and internet) simultaneously?

Thanks,
unpredictable.
 
Old 09-17-2006, 11:24 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
There are several bugs relating to yum's use of a proxy. In particular, this one indicates:

I don't know if this is issue with uym or the documentation, but with our proxy I had to enter the proxy as

proxy=http://mycache.mydomain.com:3128/

(notice the slash at the end). Without it yum didn't work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum Repos Needed coolguy_iiit Linux - Newbie 1 07-30-2006 01:51 PM
YUM repos in fc5 mbrown Linux - Software 1 04-07-2006 10:45 PM
Yum and Apt-get Repos Dirty_Ink Fedora 2 09-15-2005 10:34 PM
Which yum repos for Redhat 9? yonatan1 Red Hat 1 03-26-2005 08:26 AM
using yum.repos from yumex linmix Fedora 1 02-03-2005 09:27 AM


All times are GMT -5. The time now is 07:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration