Help - Search - Members - Calendar
Full Version: Make rpmdrake save files
MandrivaUsers.org > General Help > Tips and Tricks
Yankee
When you install packages from the web it downloads them to:

/var/cache/urpmi/partial (partial unfinished packages)

or

/var/cache/urpmi/rpms (completed packages).

After it installs them it deletes them. If you want to keep the files as I do sometimes then edit:

/etc/urpmi/urpmi.cfg

and add:

{
post-clean :0
}

to /etc/urpmi/urpmi.cfg at the very top of the file.

NOTE: DO NOT DO IT LIKE THIS:

{post-clean :0
}

OR LIKE THIS:

{post-clean :0}

This caused mine to erase all of the sources in the file. Make sure you make a backup in case you do loose the sources that way tou can easily put them back and try again. MUST BE DONE AS ROOT USER.

The saved packages will be in /var/cache/urpmi/rpms
skinky
Hey, thanks Yankee! 2thumbsup.gif

Will try this one because sometimes I forget to use the --noclean switch on urpmi.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.