It is really annoying to click the update icon and enter password every time to confirm updates.
How can I setup fully automatic updates without any prompts? (Not only security updates)
Some small notification about finished updates would also be nice.
I'm using Kubuntu 11.04 and KPackageKit.
sudo dolphin
Be careful with such instance of file manager because you may delete something important and break your system
autoupdate
in/etc/cron.*
(where*
ishourly
,daily
,weekly
,monthly
depending on your preference). I used/etc/cron.hourly/
.Put the following contents into the file:
... and save it.
sudo chmod 755 autoupdate
And that's it! You will have your software automatically updated without any notifications
(of course, if you've turned off the notifications in update settings).
Thanks to boehj for the source of information: Automatic Weekly Package Updates Using Cron And Apt-Get
Kpackagekit