Jump to content

Auto update


devries
 Share

Recommended Posts

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 :)

 

PS. Fill it the complete path, ie. /usr/sbin/, else it won't work.

Link to comment
Share on other sites

  • 1 year later...

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

Link to comment
Share on other sites

Try:

 

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...