Guest gerald Posted September 13, 2006 Report Share Posted September 13, 2006 Hi people. I was playing around with this file and now i cant do any upgrades or updates on my mandriva. I just edited this line SYSTEM=${SYSTEM=test} PRODUCT=`sed "s/.*release \([0-9.]*\).*/\1/g" /etc/mandrakelinux-release 2> /dev/null` SYSTEM=${SYSTEM=test} Please can someone give me the original line, what it should say. Regards Gerald Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 13, 2006 Report Share Posted September 13, 2006 Welcome to the board The correct lines are: PRODUCT=`sed "s/.*release \([0-9.]*\).*/\1/g" /etc/mandriva-release 2> /dev/null` SYSTEM=${SYSTEM="Mandriva Linux"} I'd guess, if you check you might find an rc.sysinit~ file in /etc/rc.d which would have your previous version before editing. Although if you edited the file two or three times, then it will only have the last copy before the last save. Quote Link to comment Share on other sites More sharing options...
Guest gerald Posted September 13, 2006 Report Share Posted September 13, 2006 Thanks, i did modify the file a couple of times. Thanks for replying. Regards Gerald Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted September 13, 2006 Report Share Posted September 13, 2006 If you want to end up with a test-type environment, you can use urpmi to add easyurpmi sources for Cooker, which is the test branch of Mandriva. See the link to easyurpmi at the top of the page. If you have sources configured already, suggest you do this first: urpmi.removemedia -a to clear existing sources, and then add your new Cooker sources to apply updates to get to bleeding-edge and possibly unstable testing system. 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.