How to automatically apt-get?
Josef Wolf
jw at raven.inka.de
Tue Sep 25 19:27:01 UTC 2007
On Tue, Sep 25, 2007 at 08:21:00AM -0400, Miano, Steven M. wrote:
> https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo
Thanks for the link, Miano.
> Has the way to do what you would like, its actually easier then what
> you have going there:
>
> #!/bin/bash
> apt-get update
> apt-get upgrade -y
> apt-get autoclean
>
> Stick it in a crontab, and your done.
>
> On the link above they have also written scripts to log any output. ; )
This is (except of --force-yes) exactly what I do. But I still get asked
whether I want to keep my modified config file or want to install the
new config file from the package.
More information about the ubuntu-users
mailing list