Guest Jack Shotton Posted September 19, 2007 Report Share Posted September 19, 2007 I've been using Easy urpmi to add repositories. If I choose an arbitrary mirror do urpmi.addmedia using it, then it will sit there for about half an hour before giving me a message that wget failed. However, if I first use wget to download a package from the repository, and then delete that package, then urpmi.addmedia works fine. Now, as it works, I'm not too bothered, but it would be interesting if anyone knew what was going on. Thanks, Jack Link to comment Share on other sites More sharing options...
tyme Posted September 19, 2007 Report Share Posted September 19, 2007 Does wget give you any more specific of an error when you try do the urpmi.addmedia? Something like, could not connect to host, or similar. Also, if you have the update mirrors I would suggest ensuring you have the most recent updates. Last, if this isn't reproducible over several sessions, spread out over a period of time (i.e. happened one day, and again, a few days later), it could simply have been an error in the mirror at the time you tried to access it. Link to comment Share on other sites More sharing options...
Guest Jack Shotton Posted September 20, 2007 Report Share Posted September 20, 2007 The error message I get is "...retrieving failed: wget failed: exited with 1" I'm slowly updating my system; however, to access one of the mirrors, I have to first access it on firefox, and then I can do urpmi --auto-select. It then downloads and installs around 5 updated packages, before disconnecting from the internet (and this occurs at the wireless router, so that I have to unplug it and plug it back in, then log out, then log in, then repeat ad nauseam). The problem is reproducible on at least 2 mirrors, today and yesterday. Should this be moved to the networking section? Jack Link to comment Share on other sites More sharing options...
spinynorman Posted September 20, 2007 Report Share Posted September 20, 2007 Should this be moved to the networking section? Done. :) Link to comment Share on other sites More sharing options...
Greg2 Posted September 20, 2007 Report Share Posted September 20, 2007 Do you have curl installed? By default curl is used if available with urpmi. If you already have curl installed, but urpmi is using wget, try using the --curl option. Link to comment Share on other sites More sharing options...
tyme Posted September 20, 2007 Report Share Posted September 20, 2007 can you post the contents of both your /etc/urpmi/urpmi.conf and /etc/modprobe.conf files? One of the solutions I saw suggested for a similar issue was to add the following two lines to modprobe.conf: alias net-pf-10 off alias ipv6 off if they aren't already there. I'm looking around for other possible solutions but, that is a very generic error message from wget and doesn't help us determine the source of the problem much, and I'm not sure where else to look for more clues at this point. Link to comment Share on other sites More sharing options...
Guest Jack Shotton Posted September 20, 2007 Report Share Posted September 20, 2007 (edited) Hey, I installed curl and edited /etc/urpmi/urpmi.cfg to make it the default and everything works just fine! Now why should that be? Thanks everyone, Jack Edited September 20, 2007 by Jack Shotton Link to comment Share on other sites More sharing options...
tyme Posted September 20, 2007 Report Share Posted September 20, 2007 Hey, I installed curl and edited /etc/urpmi/urpmi.cfg to make it the default and everything works just fine! Now why should that be?I would guess because the problem was with wget, and by removing wget from the process you've bypassed...er...fixed the problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now