boatman9 Posted June 2, 2010 Report Share Posted June 2, 2010 After installing the 2010.0 free version and adding some repositories using the following lines urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST' urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/$RELEASE.$ARCH.list' I find that 'Non-free' and 'Non-free Updates' are not active. How can I activate the 'Non-free' and 'Non-free Updates' repositories from command line? [moved from Installing Mandriva by spinynorman] Quote Link to comment Share on other sites More sharing options...
jkerr82508 Posted June 2, 2010 Report Share Posted June 2, 2010 I've never used $MIRRORLIST, but I think that this should work urpmi.update --no-ignore <medium> See man urpmi.update for details. It's probably easier to edit /etc/urpmi/urpmi.cfg and delete the ignore line in the stanzas for those media. Jim Quote Link to comment Share on other sites More sharing options...
boatman9 Posted June 3, 2010 Author Report Share Posted June 3, 2010 Yes, "urpmi.update --no-ignore <medium>" worked but for some reason I had to follow that with another line "urpmi.update -v Non-free 'Non-free Updates'" to complete the job. I will be installing Mandriva on a bunch of machines, so I created a short script to configure the repository media. # To see which media are active # urpmq --list-media active # reinitialize urpmi's setup urpmi.removemedia -a # add some repository media using commands from http://easyurpmi.zarb.org/ urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/$RELEASE.$ARCH.list' urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST' # activate "Non-free" and "Non-free Updates" urpmi.update --no-ignore Non-free 'Non-free Updates' urpmi.update -v Non-free 'Non-free Updates' 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.