LinuxQuestions.org
Help answer threads with 0 replies.
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 01-18-2012, 04:58 AM   #1
manqox
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
Fedora 16 Yum [Errno 14] curl#5 - "Couldn't resolve proxy"


Any help around the Fedora 16 i686 yum error behind a proxy please. I have set up the proxy details correctly on the yum.conf file but it fails to resolve the proxy host-name. I put in the IP, and it still brings the same error. I also did a host <host-name> on the command and the results are good with the actual IP. If i take out the proxy setting from the conf file it complains with authentication meaning its definitely using those setting I have added. Is there a bug with the new distro? Did a fresh install of fedora 11 on another box and it worked like a charm.
 
Old 01-19-2012, 06:06 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by manqox View Post
I have set up the proxy details correctly on the yum.conf
If you do not provide /etc/yum/conf contents and only say it's correct then we can not check it and only take your word for it...


Quote:
Originally Posted by manqox View Post
If i take out the proxy setting from the conf file it complains with authentication meaning its definitely using those setting I have added.
If you comment out the proxy settings and are still confronted with auth warnings then you might be behind a type of proxy Yum doesn't know how to deal with?


Quote:
Originally Posted by manqox View Post
Is there a bug with the new distro?
If so then it should be listed at bugzilla.redhat.com.


Quote:
Originally Posted by manqox View Post
Did a fresh install of fedora 11 on another box and it worked like a charm.
If nothing else works then you could copy one machines complete /etc/ tree to the other machines /tmp directory and then recursively diff both etc/ dirs for clues.
 
Old 01-25-2012, 03:37 AM   #3
manqox
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Original Poster
Rep: Reputation: 0
cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
# The proxy server - proxy serverort number
proxy=http://proxyserverhostname:8080
# The account details for yum connections
proxy_username=myusername
proxy_password=andmypassword
#when you uncomment this line below, you exclude these packages from updates
#exclude=php* kernel*

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d



My guess is yum cannot figure out the type of proxy im behind is false because yum indicates been authorised or not by the proxy. The big question is yum cannot resolve the proxy host even if you supply the actual IP and curl complains instead as below

http://linuxdownload.adobe.com/linux...ta/repomd.xml: [Errno 14] curl#5 - "Couldn't resolve proxy"
Trying other mirror.
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-16&arch=i386 error was
14: curl#5 - "Couldn't resolve proxy"
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...d-16&arch=i386 error was
14: curl#5 - "Couldn't resolve proxy"
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-16&arch=i386 error was
14: curl#5 - "Couldn't resolve proxy"
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...d-16&arch=i386 error was
14: curl#5 - "Couldn't resolve proxy"
http://linuxdownload.adobe.com/linux...ta/repomd.xml: [Errno 14] curl#5 - "Couldn't resolve proxy"
Trying other mirror.
 
Old 04-24-2012, 03:06 AM   #4
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Has anyone been able to resolve this one.I am facing the same issue?
 
Old 04-26-2012, 10:37 AM   #5
ikinose
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: 0
I experienced same trouble, cause the presence of special character @ in my proxy password.

I changed @ in %40 in /etc/yum.conf and so i solved it.

NOTE: After the upgrade this fix in NOT more necessary so you have to change your /etc/yum.conf and can use @ in proxy_password field

Last edited by ikinose; 04-27-2012 at 03:38 AM. Reason: grammar
 
  


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
Does proxy server makes difference in working of "yum" naren123.k Linux - Software 7 03-09-2011 04:22 AM
"HELP!!" yum error [Errno 14] HTTP Error 401: Unauthorized chennavarri Fedora 2 05-14-2008 10:29 AM
Update...."Couldn't resolve host." oMr_To Mandriva 8 07-31-2005 10:56 AM
Couldn't display "SMB:///" , No host "(Null)" could been Found?????? help munkey Fedora 6 04-30-2004 06:04 PM

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

All times are GMT -5. The time now is 10:07 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