Jump to content

...retrieving failed: curl: (7) Connect failed


yr2alex
 Share

Recommended Posts

I installed MDK 10.0 on a test box here at my job and while attempting to set up URPMI using the easy urpmi online setup tool ran into a small brick wall. At any rate I did the following in this order after going to easy urpmi.

 

# urpmi.removemedia -a

no problems there

 

then copied the first of a string of entries into the cli

 

urpmi.addmedia --update updates ftp://rpm.pbone.net/pub/mandrake/mandrakelinux/official/updates/10.0/RPMS with ../base/hdlist.cz

 

waited, waited then waited some more before the following was rendered:

 

retrieving source hdlist (or synthesis) of "main"...
   ftp://fr2.rpmfind.net/linux/Mandrakelinux/official/10.0/i586/Mandrake/base/hdlist.cz
...retrieving failed: curl: (7) Connect failed

 

my guess is the proxy/firewall here so I edited the /root/.bash_profile by adding the following:

 

http_proxy=myproxy.com:port#

 

then edited /etc/profile by adding the following:

 

export http_myproxy.com - and I still get :

 

retrieving source hdlist (or synthesis) of "main"...
   ftp://fr2.rpmfind.net/linux/Mandrakelinux/official/10.0/i586/Mandrake/base/hdlist.cz
...retrieving failed: curl: (7) Connect failed

 

 

any suggestions?

 

yr2alex :help:

Edited by yr2alex
Link to comment
Share on other sites

My first thought would be to add the "--wget" option to the urpmi.addmedia command. This can sometimes get past curl problems.

 

If that doesn't work, I would just try a different mirror.

Link to comment
Share on other sites

I was able to get URPMI configured at least in part by adding:

 --wget --proxy myproxy.com:80 --proxy-user myuid:mypasswd

to urpmi.addmedia command which seem to do the trick, however, when I run for example:

urpmi --wget --proxy myproxy.com:80 --proxy-user myuid:mypasswd xmms

I get the following output:

 

http://gd.tuwien.ac.at/pub/linux/Mandrakelinux/official/10.0/i586/Mandrake/RPMS/xmms-1.2.9-4mdk.i586.rpm
...retrieving failed: wget failed: exited with 1 or signal 0

Installation failed, some files are missing:
   http://gd.tuwien.ac.at/pub/linux/Mandrakelinux/official/10.0/i586/Mandrake/RPMS/xmms-1.2.9-4mdk.i586.rpm
You may want to update your urpmi database

 

My question to you is simply, does it matter if I use entries for 10.1 or not? I ask because I am obviously limited to mirror sources beginnig with http- for example:

 

main http://gd.tuwien.ac.at/pub/linux/Mandrakel...6/Mandrake/RPMS with ../base/hdlist.cz

 

the firewall here blocks the ftp mirrors, any suggestions?

Link to comment
Share on other sites

open a terminal and type as root:

ping rpm.pbone.net

then start urpmi again. does it work? if yes, you might suffer from a minor dns-problem, which can be solved easily. if it doesn't work, try again with different mirrors and report back.

 

if it is a firewall problem, try with disabling the firewall during the mirror setup. will it work then?

Edited by arctic
Link to comment
Share on other sites

if it is a firewall problem, try with disabling the firewall during the mirror setup. will it work then?

 

Unfortunately I cannot disable the Firewall because I do not administer it, therefore in order to get Mandy to work -I work around it. DNS was never an issue. This facility is a very secure facility so naturally firewalled for most incoming/outgoing traffic additionally to be able to access external sites I must go through a proxy as illustrated in my last post. The problem that I am experiencing with URPMI is that the Firewall here is more than likely blocking traffic from ftp mirrors- in fact I have had no success with them at all using URPMI and limited success via browser. However, with http mirrors I have experienced no problems. Having said that I'll try some other http mirrors.

 

:thanks: for the assist GUYs

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...