LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-15-2004, 04:45 PM   #1
Latem
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Mandriva 2005 LE
Posts: 44

Rep: Reputation: 15
Urpmi problems curl failing


Two weeks ago I tried to update my main mirror cuz I haven't updated in some time. It said it couldn't find the hdlist. but I went to the ftp and everything was there like before.

So I removed the mirror, and added it again.
It dled the list but then gave error:

Quote:
Unable to add medium, errors reported:

...retreiving failed: curl failed: exited with 28 or signal 0

retreival of source hdlist (or synthesis) failed
no hdlist file found for medium "main"
problem reading synthesis file of medium "main"
I tried the same mirror twice, and got the same error.

I've tried 2 other different mirrors, and always got the errors.

I've also tried adding the main mirror from command line with --wget (instead of curl) twice with different mirrors, and both times it just hanged there after downlaoding the list from the mirror. I had to Ctrl+C it. After that if I do the same command line it completes the addition by finding the list in cache/partial. So I now have a main mirror, and I can see packages from it. But I havent had to install anything yet, so I am not sure if it would work.

I also have the 4.4.5-10mdk version of urpmi so I don't think I need to upgrade that. I have Mandrake 10.0OE.

I never changed anything so I dont know why/how it's not working right.
Anyone got any ideas at all what might be the problem, and what I could try?

From reading other posts with similar errors people have said that servers could be too busy or something. I've tried 3 different mirrors, all in the US though. Is there anywhere documentation on what different error codes mean?

[EDIT] I think I found the error codes here: http://curl.haxx.se/libcurl/c/libcurl-errors.html

Quote:
CURLE_OPERATION_TIMEOUTED (28)

Operation timeout. The specified time-out period was reached according to the conditions.
[/EDIT]

Also is there any way to add a mirror with a list that you downloaded elsewhere. Like if I download the list at school where I have a much faster connection, can I add that mirror with that file that I already have. I hope what I am asking makes sense. I've looked through some opsions of urpmi.addmedia and it seemed like this would be possible but wasn't sure.

If you need some config files or more info just let me know.

Thanks,

Latem

Last edited by Latem; 11-15-2004 at 04:51 PM.
 
Old 11-15-2004, 07:47 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
urpmi uses FTP to communicate with the mirrors.

You are getting the error because FTP communications are failing.

Either you have a local firewall (is shorewall installed?) causing the problem or your modem/sharing device is to blame.

Try connecting to the repositories DIRECTLY and download some files from them using a Linux FTP client.

I'll bet you'll have the same problem(s).

Resolve this first.

If you CAN download from the repositories, you can at worst download the entire remote set of directories.

e.g. from PLF you want i586 AND noarch

The add the downloaded directories as a "local" source using the Software Media Manager.

However try direct connectivity.

Usually seeing the message is not unusual with a single busy host or two, but it sounds like you have something far more severe at play if you are not having luck with any repository.

You are getting an initial connection then a timeout.

This is normally symptomatic of one of the FTP "ports" being blocked but not the other.
 
Old 11-15-2004, 08:21 PM   #3
Latem
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Mandriva 2005 LE
Posts: 44

Original Poster
Rep: Reputation: 15
hi opjose,

thanks for the input.

I dont have firewall on in MCC.

I dont think I have shorewall installed. It is not listed in "Remove Software". And "locate shorewall" returns only
/usr/lib/libDrakX/network/shorewall.pm

I tried connecting to 3 mirrors using gFtp. The first one I tried was my current main mirror, and it failed due to too many connections to the servers. I tried 2 other mirrors (same other ones I tried before w/ urpmi), and was able to connect to them and download a few small (<500k) files just fine. The hdlist file for the main mirror is like 23Mb, could the size matter at all?

I really don't know what's up. cuz my urpmi worked fine before.

On a sidenote it's kind of weird that easyurpmi list keeps changing. before they had like 7 USA mirrors under 10.0 official. now when I tried it, they had only 1. A few days ago they had 3. But all the 10.0 OE stuff on the mirrors is still there, and the mirrors are listed for 10.1 OE too.

If anyone has any more input plz let me know.

Thanks,

Latem

Last edited by Latem; 11-15-2004 at 08:23 PM.
 
Old 11-15-2004, 10:51 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
The mirror list changes based upon availability.

No the size of the .cz file is perfectly normal.

You may want to start by updating urpmi itself.

Remember that at worst you can download the entire repository.

I do this and burn it to DVD to set up any additional systems.
 
Old 11-16-2004, 10:13 AM   #5
Latem
Member
 
Registered: Sep 2004
Location: Canada
Distribution: Mandriva 2005 LE
Posts: 44

Original Poster
Rep: Reputation: 15
isn't 4.4.5-10mdk the latest version of urpmi? I looked through one of the mirrors and that's what I found. at rpm.pbone they have this: http://rpm.pbone.net/index.php3/stat...oarch.rpm.html
Its for 10.1 Official, but it's newer. hmm should I try this even though it's for 10.1?

Also is there any way to add a ftp mirror but give it the hdlist, that is on your computer. I dont have a very fast connection. like for example

urpmi.addmedia -<some_option> ftp://somemirror with [hdlist for that ftp mirror on local system]

I would really like to resolve this. I would like to keep downloading a mirror and burning it as a last resort.
 
Old 11-16-2004, 03:50 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Re: HDList

yes!

I've seen the HDLIST often fail to include newer rpm files that are on the repository.

The one problem is that urpmi.update (or the gui version of it) tends to locate the hdlist.cz files when they are stored in their default locations.

This has proven problematic for me.

In this case I do it in a brute force manner...

I download the entire repository and delete all of the .cz files.

Then I add the source locally.

This causes URPMI to scan each and every file and build a new clean list.

I haven't tried doing this remotely though I know it can be done.

The problem is that urpmi will have to then re-read every remote file which can be a bit tedious, though faster than downloading the whole repository.

Still I just grab everything so I can redeploy it on several machines w/o having to go thru the entire process again.
 
  


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
syntax problem with noclean option for rpmdrake urpmi /var/cache/urpmi/rpms Emmanuel_uk Mandriva 12 05-06-2007 07:29 PM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
urpmi.update fails on curl dukeinlondon Mandriva 2 01-03-2004 06:23 PM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 02:37 PM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM

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

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