Help - Search - Members - Calendar
Full Version: Auto update
MandrivaUsers.org > General Help > Tips and Tricks
devries
If you have a PC that's on 24/7 you can run updates automatically. Open your favorite cron editor as root (I prefer kcron or webmin) and open a new job. In the command field put: /usr/sbin/urpmi.update update and have it run every day at a specified time and save it. Open another new job and put in: /usr/sbin/urpmi --media update --auto --auto-select and run it every day at a time after the first job. Save that job too.

That's it smile.gif

PS. Fill it the complete path, ie. /usr/sbin/, else it won't work.
neil-a1000
With that in mind how do you remove the RPM files that are downloaded once they have been installed?

I have installed Mandriva from DVD. Now it is up and running I have used easyurpmi to setup the installation and update sources from the internet. However I can see my hard disk shrinking in size. I download Firefox for example and it says 30mb yet once installed I have actually lost 60mb.

Where is the rpm and do I need it on the computer once installed?

Also, under Ubuntu/Kubuntu it was possible to setup the system to clear out the tmp folders on logout. Is this possible under Mandriva.

Thanks in advance.
Neil
ianw1974
Try:

CODE
urpmi --clean


will remove any downloaded and stored rpms. Should free a bit of space perhaps. Although by default, the system is set to remove the rpms that were downloaded after install anyhow.
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.