Jump to content

Cant seem to add a'contrib' site to urpmi?


Guest Chadd
 Share

Recommended Posts

Guest Chadd

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

Link to comment
Share on other sites

Guest Chadd

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

Link to comment
Share on other sites

Guest Chadd

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest Chadd

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.

Link to comment
Share on other sites

Guest Chadd

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.

Link to comment
Share on other sites

Guest Chadd

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....

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Guest Chadd

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.

Link to comment
Share on other sites

  • 3 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...