Senior Member
Registered: Sep 2006
Posts: 1,083
Rep:
|
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?
|