LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-23-2012, 06:50 AM   #1
malcmcmul
LQ Newbie
 
Registered: May 2012
Location: Liverpool, UK.
Distribution: OS X, RHEL, Fedora and Ubuntu.
Posts: 10

Rep: Reputation: Disabled
Yum with proxy


After reading that the HTTP_PROXY variable is used by yum, I edited the variable to the proxy of choice (with port number) and yum still doesn't work. I then edited the yum.conf file with 'proxy=http://example.com:80' and still no luck.

Firefox works fine with it and I've checked the mirrors and files are there, however it keeps coming back with:


[ser@fed-full ~]$ sudo yum install make
Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...a-10&arch=i386 error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
[ser@fed-full ~]$
 
Old 05-23-2012, 06:25 PM   #2
DaveG
Member
 
Registered: Nov 2001
Location: London, UK
Distribution: Fedora
Posts: 161

Rep: Reputation: 43
F10? Might be time for an upgrade...
If I remember correctly, I had problems with yum and proxy with Fedora some time ago. The "proxy=..." configuration option may be more recent.

You could try:
sudo http_proxy='http://whatever.com:8080' yum install make
i.e. explicit variable set, lower-case variable name.

If all else fails, check out the root environment for clues.
sudo env

--DaveG.
 
Old 05-31-2012, 10:48 AM   #3
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
I also have a http_proxy line in my .bashrc
Code:
export http_proxy=http://user:password@IP_OF_PROXY:port
in the yum.conf I also have a proxy_username= and a proxy_password= line

Just a couple more suggestions in case there are usernames or passwords involved.
 
  


Reply



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
Proxy and Yum fedix Linux - Networking 2 10-02-2009 05:50 AM
How to switch between a proxy and no proxy connection for yum jaycee4u Fedora 3 09-04-2009 01:14 AM
YUM through proxy? your_shadow03 Linux - Newbie 18 04-22-2009 03:32 AM
YUM with proxy watcher69b Linux - Software 5 04-22-2008 07:08 AM
yum thru proxy a1ex_007 Fedora 7 06-29-2005 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration