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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...