jagwah Posted April 20, 2007 Report Share Posted April 20, 2007 It seems that the info available throughout this thread, https://mandrivausers.org/index.php?showtopic=32766&st=0 which to summarize is, Open the file /usr/sbin/rpmdrake search for "post_clean_cache" change the 1 to a0 & "clean_all => 1" to 0 save the file. no longer works with 2007.1. Sooooooo, anyone know how to keep the updates/installations that are done through MCC software Manager, and not have them deleted? Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted April 20, 2007 Report Share Posted April 20, 2007 I can't find anything on Google, but I know it can be done. There's an option for /etc/urpmi/urpmi.conf that is the equivalent to the -noclean option. It might be as simple as adding this at the head of your urpmi.conf file: { noclean } Yves. Quote Link to comment Share on other sites More sharing options...
seaeagle Posted April 22, 2007 Report Share Posted April 22, 2007 An alternative might be to use Smart instead of rpmdrake as your package installer. I've been using it for about 6 months now & haven't had any problems at all. It has extra benefits such as being able to add repository mirrors (in case your regular one is down). You can set it to keep installed rpm's: How do I keep the downloaded files after installation? You can do this once by using smart -o remove-packages=false <install|upgrade> , or set this as a permanent option using smart config --set remove-packages=false . The files are kept on /var/lib/smart/packages . Quote Link to comment Share on other sites More sharing options...
jagwah Posted April 23, 2007 Author Report Share Posted April 23, 2007 I almost forgot about this thread Thanks to both of you, looks like I'll give Smart a whirl. Kubuntu (synaptic) was good, it did it by default, and there was a check box where you could just select to either keep or delete them. Wish there was something like that in MCC. Oh well. Thanks again. Quote Link to comment Share on other sites More sharing options...
jagwah Posted May 7, 2007 Author Report Share Posted May 7, 2007 Thanks to Emmanuel_uk , an answer to this problem is, open the file /usr/lib/perl5/vendor_perl/5.8.8/urpm/install.pm comment out the following line, by placing an # in front of it, so the following line, if (@l == 0 && !$options{test} && $options{post_clean_cache}) { becomes #if (@l == 0 && !$options{test} && $options{post_clean_cache}) { then add the following line if ( 0 ) { I just tested it, and it seems to work fine with both MCC and urpmi (CLI) Links to emmanuel_uk's posts on the subject, https://mandrivausers.org/index.php?showtopic=40963&hl= and a direct link to the linuxquestions.org thread, http://www.linuxquestions.org/questions/sh...ad.php?t=349112 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.