Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-12-2008, 11:53 AM   #1
Senior Member
Registered: Sep 2006
Posts: 1,083
Blog Entries: 41

Rep: Reputation: 30
What's So Reliable About the wget Mirror Command vs Downloading Other Ways?

I've been doing things with urpmi, trying to use it as a way to install stuff, and was trying to make stuff so flexible that it could be gotten from the Internet and cached. If the text becomes nessassary to post here too, I'll post a link to it.

Well, I've decided to give up, except for getting an answer from here if there's any on why it may be, because it now seems as if all mirrors are more reliable than they appear, just not perfect. I think it's actually a wget issue, or the way wget is called.

So, does anybody know why I can use the mirror option to download quite a bit of material (packages), and run it off of just about any mirror site that has Mandriva Linux, lots of times a day, and have it succeed or appear to succeed in getting basically everything I ask for, but when I use urpmi in any way to download packages, indirectly, but a part at a time, it tends to fail miserably and complain that wget failed?

Basically, so it's spelled out, whatever I do, has to behave like this: I run the program 5 times, and 5/5 times it works correctly, given the same task and arguments in the exact same way, 4/5 times I try this experiment or so. Meaning, yes, it's OK for a site to be down for trouble. Yes, it doesn't have to be 100% perfect. But it has to appear so as far as how many times I try it.

I should have it so that most of the time, if I run it, it should work. Then, I immediately try it again, and guess what? It has a very high chance of working again. So high, that it appears perfect, even though it may not be, and in reasonable time, but not perfect. Then, what happens if I try it again? The behavior should be the same as the first and second time. It works enough if I do the exact same thing.

Now, what I'm getting indirectly, via urpmi is I do the exact same thing. It doesn't always work the first time, but sometimes this might be expected. It should be very few times, but it can occur. Now, I run it again, and let's say it works. Oops! I made a change in my spacing that doesn't really effect the code, let's say. So, without thinking about it, I might try it again, when the spacing is fixed. Right now, it probably doesn't work twice in a row, and it's very few times that it works at all.

So, I think it's turned out to be a bug, or some thing that I should do that I'm not doing. When doing wget with the mirror option, it works the first time, then it works the second time, enough of the time that it appears to always work. But it's the exact same site, and paths as it would've been, I'm just mirroring it instead of taking individual parts! So the question is, does anybody know if it's something about the mirror command? What options might this be due to that the mirror command implicitly implies?


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
wget: Multi-Threaded downloading wwnexc Linux - Networking 8 05-15-2010 08:40 PM
Reliable OpenSUSE download mirror? General SUSE / openSUSE 2 05-20-2007 01:27 PM
What is the difference between downloading from Mirror and Bit Torrents? anindyanuri Linux - Networking 14 04-12-2005 08:45 PM
downloading from mirror tomamodi Linux - Software 2 04-26-2004 11:32 PM
wget and mirror scottrell Linux - General 1 05-30-2003 04:54 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:43 PM.

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