AussieJohn Posted June 18, 2006 Report Share Posted June 18, 2006 (edited) Thank you Gowater. I am certainly doing some learning today. Cheers. John. Just to follow up. I just had a look in urpmi.conf and all it shows is the details of the sites chosen for Main, Contrib etc., I guess I need to type in a line but am not sure of its correct form. Any suggestion there ???. Thanks in advance. John. Edited June 18, 2006 by AussieJohn Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted June 19, 2006 Report Share Posted June 19, 2006 This is just a bump. The extra in the previous post may have been missed because I added it later . Cheers. John Quote Link to comment Share on other sites More sharing options...
jagwah Posted June 20, 2006 Report Share Posted June 20, 2006 I'm interested to know also what you actually have to put in the /etc/urpmi.conf to make --noclean work while using MCC to get stuff. I done a little test and just put --noclean in, but it didn't save the rpm. :( Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted June 21, 2006 Report Share Posted June 21, 2006 Hello to a fellow Aussie. jagwah. That is also pretty much what I tried and got the same result as well. We might get someone to show us the way soon. Cheers. John. PS What part of Aust. are you at ??. JB Quote Link to comment Share on other sites More sharing options...
arctic Posted June 21, 2006 Report Share Posted June 21, 2006 I guess we will have to wait until Gowator decides to enlighten us. I took a look at the files but found no pointer on how it should be added. Quote Link to comment Share on other sites More sharing options...
jagwah Posted June 22, 2006 Report Share Posted June 22, 2006 PS What part of Aust. are you at ??. JB I'm just down the road from you AussieJohn, Ayr. I guess we will have to wait until Gowator decides to enlighten us Oh to be enlightened soon :D I'm just about to reinstall, and it would be handy, but I guess I can do it the hard way .... I mean the console way ;) It's all good learning anyway Quote Link to comment Share on other sites More sharing options...
AussieJohn Posted June 22, 2006 Report Share Posted June 22, 2006 Thanks jagwah. John. Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 22, 2006 Report Share Posted June 22, 2006 I guess we will have to wait until Gowator decides to enlighten us. I took a look at the files but found no pointer on how it should be added. OK, sorry I have a life ... of sorts :D Im looking now ... According to man urmpi there is a man urmpi.files Unfortunately its not installed and I can't find it through gurpmi ??? It used to exist and I had the line a long time ago .... but Im damned if I can find the documentation on the web.... I'm still looking Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 22, 2006 Report Share Posted June 22, 2006 According to man urmpi.cfg Global options Some global options can be activated by default. The following sample shows how to disable signature checking and avoid transaction splits : { no-verify-rpm split-length: 0 } However ...... pre-clean, post-clean, clean Control cache management for urpmi, default is only post-clean activated. So either the option is removed OR just undocumented .... If gurpmi just passed the options as options then Global options { no-clean } should work .... Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 22, 2006 Report Share Posted June 22, 2006 I've found this thread at www.linuxquestions.org, which claims to have solved the noclean conundrum. I edited /usr/sbin/rpmdrakeThere was only one occurence of post_clean_cache so it was easy to change the parameter from "1" to "0" The first link in the thread has the following: Older versions of urpmi supported this construct in /etc/urpmi/urpmi.cfg; { post-clean: 0 pre-clean: 0 } Meaning "don't flush the cache before or after", but I don't think it works. 8-( Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 22, 2006 Report Share Posted June 22, 2006 I've found this thread at www.linuxquestions.org, which claims to have solved the noclean conundrum. So we are back to whatI used to do before I discovered urpmi.cfg .... Which is download and then open a terminal and copy the files before the install part ... (from /var/cache/urpmi/rpms ) Quote Link to comment Share on other sites More sharing options...
jagwah Posted June 22, 2006 Report Share Posted June 22, 2006 Thankyou spinynorman for finding the answer. Thankyou Gowator for bringing the subject of the possibility of doing this up. and a big thankyou to Emmanuel uk from LinuxQuestions.org for working it out..... Just done a couple of test runs and it works, both files were save to the /var/cache/urpmi/rpms folder. Here is the relevant info to make it happen Open the file /usr/sbin/rpmdrake search for "post_clean_cache" there will only be 1 instance change the 1 to a 0 save the file and thats it. Thank you all Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 22, 2006 Report Share Posted June 22, 2006 Thankyou spinynorman for finding the answer. Glad it worked. B) Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 22, 2006 Report Share Posted June 22, 2006 Thankyou spinynorman for finding the answer. Glad it worked. B) And its also nice when people say thank you..... Sorry my info was out of date.... I just installed a Mandriva VM which is my first dabble since 10.1 which I was dissapointed with. Its really annoying to have the stuff deleted, specially if you have several machines...so its good we found a workaround... Especially when you like dabbling (I have about 10 distro's installed right now and doing a FC install as i type) so I like trashing em and reinstalling ... and its all the little things you did after install that get tiring/annoying Quote Link to comment Share on other sites More sharing options...
keropi Posted June 22, 2006 Author Report Share Posted June 22, 2006 amazing! this is very nice! thank you all! :D 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.