Guest Chadd Posted July 12, 2003 Report Share Posted July 12, 2003 I get the following when I try and add a 'contrib' site to the urpmi sources. I have all the others....plf, main, tex...etc [root@localhost shootrrr]# urpmi.addmedia contrib ftp://ftp.stealth.net/pub/mirr ors/ftp.mandrake.com/Mandrake/9.1/contrib/RPMS with ../../i586/Mandrake/base/hdl ist2.cz unable to take medium "contrib" into account as no list file [/var/lib/urpmi/lis t.contrib] exists added medium contrib retrieving description file of "contrib"... retrieving source hdlist (or synthesis) of "contrib"... ...retrieving done examining synthesis file [/var/lib/urpmi/synthesis.hdlist.contrib.cz] [root@localhost shootrrr]# vi /var/lib/urpmi/ Should I just do "urpmi.removemedia -a"? chad Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted July 12, 2003 Report Share Posted July 12, 2003 Well....just did the urpmi.removemedia -a wiped out all the sources...."live and learn" as the saying goes. chad Quote Link to comment Share on other sites More sharing options...
Guest anon Posted July 12, 2003 Report Share Posted July 12, 2003 http://plf.zarb.org/~nanardon/urpmiweb.php Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted July 12, 2003 Report Share Posted July 12, 2003 hello anon, that is what I was using. I got all the sources from there except for the 'contrib'. I tried several locations. I am redoing all of them at the moment but I first tried with a contrib site and it did not work. I'm doing texstar at the moment. chad Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted July 12, 2003 Report Share Posted July 12, 2003 I am using http://plf.zarb.org/~nanardon/urpmiweb.php#third to get my sources. I can get all setup except the one that relates to 'contrib'. This was the result of my last attempt: [root@localhost shootrrr]# urpmi.addmedia contrib ftp://ftp.chl.chalmers.se/pub/Linux/distributions/Mandrake/9.1/contrib/RPMS with ../../i586/Mandrake/base/hdlist2.cz added medium contrib examining synthesis file [/var/lib/urpmi/synthesis.hdlist.main.cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.plf.cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.texstar.cz] retrieving description file of "contrib"... retrieving source hdlist (or synthesis) of "contrib"... ftp://ftp.chl.chalmers.se/pub/Linux/distributions/Mandrake/9.1/i586/Mandrake/base/hdlist2.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium "contrib" examining synthesis file [/var/lib/urpmi/synthesis.hdlist.contrib.cz] problem reading synthesis file of medium "contrib" unable to update medium "contrib" vi /var/lib/urpmi/ gets me: " Press ? for keyboard shortcuts " Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list) "= /var/lib/urpmi/ ../ compssUsers.flat hdlist.main.cz hdlist.plf.cz hdlist.texstar.cz list.plf list.texstar synthesis.hdlist.main.cz synthesis.hdlist.plf.cz synthesis.hdlist.texstar.cz Can I just add a related line for 'contrib' or do I need to look elsewhere? Quote Link to comment Share on other sites More sharing options...
Guest anon Posted July 12, 2003 Report Share Posted July 12, 2003 Don't know why your getting that problem with just contrib. :? See if this site works for you: urpmi.addmedia contrib rsync://ftp.belnet.be::linux/Mandrake/9.1/contrib/RPMS with ../../i586/Mandrake/base/hdlist2.cz Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted July 12, 2003 Report Share Posted July 12, 2003 No, did not work: [root@localhost shootrrr]# urpmi.addmedia contrib rsync://ftp.belnet.be::linux/Mandrake/9.1/contrib/RPMS with ../../i586/Mandrake/base/hdlist2.cz unable to retrieve pathname for removable medium "CD3" unable to access hdlist file of "CD2", medium ignored added medium contrib examining synthesis file [/var/lib/urpmi/synthesis.hdlist.main.cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.plf.cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.texstar.cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.CD1.cz] retrieving description file of "contrib"... @ERROR: Unknown module 'linux' rsync: connection unexpectedly closed (717 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) retrieving source hdlist (or synthesis) of "contrib"... ftp.belnet.be::linux/Mandrake/9.1/i586/Mandrake/base/hdlist2.cz @ERROR: Unknown module 'linux' rsync: connection unexpectedly closed (717 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) ...retrieving failed: rsync failed: exited with 12 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium "contrib" examining synthesis file [/var/lib/urpmi/synthesis.hdlist.contrib.cz] problem reading synthesis file of medium "contrib" unable to update medium "contrib" I can not get cd2 and 3 as sources either. I did the 1st fine and did the same pattern for 2 and 3 (changing the numbers as needed). Still at it here. Thanks for the input. Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted July 12, 2003 Report Share Posted July 12, 2003 Got it. Logged out and back in, then tried the location below: urpmi.addmedia contrib ftp://ftp.darenet.dk/pub/linux/mandrake/9.1/contrib/RPMS with ../../i586/Mandrake/base/hdlist2.cz Dont know why it worked. If it was due to relogging in or what. I tried several us locations one in the UK and a few otherrs. Oh well. Now to figure out the cds. Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted July 12, 2003 Report Share Posted July 12, 2003 Ok, got CD2 and CD3 added to the source list. I did a reboot with cd1 and picked upgrade. When it was done went to rpmdrake and all three cds were there. The funny thing is that the path etc were the same as I was trying to do before. The plf and texstar sources were still there also but the contrib source had been deleted. I used http://plf.zarb.org/~nanardon/urpmiweb.php#third again to get a source for contrib. Did not work. I was trying the ones located in the US. Picked one at random in Poland and it worked??? Anyway.... Quote Link to comment Share on other sites More sharing options...
kmack Posted July 13, 2003 Report Share Posted July 13, 2003 Chadd: I'm guessing you might have had the same problem I have experienced in the past. I have learned to watch the word wrap very carefully when using the Easy URPMI site as it can add or delete needed spaces if the URL is very long. Frustrated me to pieces when I first started using urpmi. Figured it out after lots of aborted addmedia events and reading and re-reading the man pages. Generally I copy and paste one line at a time and pay special attention to put the spaces in correctly to avoid errors. The other problem is if the mirror is overloaded you'll get all sorts of errors but no indication of the real problem. I keep a couple update sites in Software Sources Manager and disable them so I can make a fast switch if I want to try another download site. Then I don't have to retype them and create more opportunity for syntax errors. :wink: HTH! Quote Link to comment Share on other sites More sharing options...
Guest Chadd Posted July 13, 2003 Report Share Posted July 13, 2003 kmack, Thanks for the heads up. I will keep it all in mind. I do them one at a time as is(cut n' paste). I just never had a problem with getting the sources setup before. I STILL dont have them all. I just noticed I needed 'main'. Getting same errors. Still at it though. Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted October 26, 2003 Report Share Posted October 26, 2003 Got it. Logged out and back in, then tried the location below: urpmi.addmedia contrib ftp://ftp.darenet.dk/pub/linux/mandrake/9.1/contrib/RPMS with ../../i586/Mandrake/base/hdlist2.cz Thanks Chadd this is the only one that will work for me also. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.