On January 12, 2006 11:40, Keith Powell wrote:
> On Thursday 12 January 2006 5:43 pm, Pavel Rusyaev wrote:
> > On 1/12/06, Keith Powell <[EMAIL PROTECTED]> wrote:
> > > When I have done a large URPMI download of stuff, I would like to
> > > keep the downloaded RPMs on my hard drive until I have burned
> > > them onto a CD-RW. Then I would like to delete them from the
> > > drive.
> > >
> > > Is there a way of doing this? I can't find any way of preventing
> > > them being automatically deleted from /var/cache/urpmi
> > > immediately after they are installed.
> >
> > urpmi --noclean
>
> Thanks for your reply, Pavel, but I don't think that urpmi --noclean
> will help.
>
> What I would want to do is, after a new 2006 installation, to install
> the security updates and bug fixes I need, using the
> "configuration->packaging->update" GUI and then install perhaps
> twenty or more other packages from the various repositories, using
> the "install" GUI. To have to enter some 40 package names into the
> command line would not be very satisfactory. Unless I am missing
> something obvious!
>
> With Synaptic, one can set it not to delete the files in its temporary
> cache. This is what I am looking for in 2006. I know that
> apt/synaptic can be used in Mandriva, but I don't want to change from
> using the graphical front end of urpmi.
>
> Cheers
>
> Keith

To make it work with the GUI, I think you have to make it the urpmi default. 
To do this, edit (as root of course) /etc/urpmi/urpmi.cfg. 

At the very top of the file you should see an empty block for global options 
(or non-empty, if you've already added some global options. Mine looks like 
this:

# generated Fri Jan  6 11:12:12 2006
{
}

Add the following on a line by itself within the block:

no-clean

I believe this will do what you want. Warning: be careful when editing this 
file - if you break it, urpmi probably won't work at all. It's generally a 
good idea to make a backup copy first. I always do a:

cp urpmi.cfg urpmi.cfg.bak

Then if you break it, you can always revert to the unbroken version.

-- 
Ron
ronhd at users dot sourceforge dot net

Opinions expressed here are all mine.
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to