Question

cron-apt configuring

Posted July 1, 2013 10.2k views
Hi, I use this tutorial for cron-apt configuring http://www.turnkeylinux.org/docs/automatic-security-updates Looks like something wrong. First of all I didn't get the mail with update log and have some errors in cron-apt log file. CRON-APT RUN [/etc/cron-apt/config]: Mon Jul 1 04:00:01 UTC 2013 CRON-APT SLEEP: 2050, Mon Jul 1 04:34:11 UTC 2013 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2 W: GPG error: http://archive.turnkeylinux.org lucid-security Release: The following signatures couldn't be verified because the public key is not available:$ CRON-APT ACTION: 3-download CRON-APT LINE: /usr/bin/apt-get -o quiet=1 autoclean -y Reading package lists... Building dependency tree... Reading state information... CRON-APT LINE: /usr/bin/apt-get -o quiet=1 dist-upgrade -d -y -o APT::Get::Show-Upgraded=true Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: linux-image-3.2.0-48-virtual The following packages will be upgraded: apt apt-utils ..... ..... xkb-data 119 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 99.2 MB of archives. After this operation, 28.4 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main base-files i386 6.5ubuntu6.5 [65.3 kB] ....... ....... Get:120 http://archive.ubuntu.com/ubuntu/ precise-updates/main ssh all 1:5.9p1-5ubuntu1.1 [1278 B] Fetched 99.2 MB in 14s (7038 kB/s) Download complete and in download only mode CRON-APT ACTION: 5-install CRON-APT LINE: /usr/bin/apt-get -o quiet=1 autoclean -q -y CRON-APT LINE: /usr/bin/apt-get -o quiet=1 dist-upgrade -q -y -o APT::Get::Show-Upgraded=true -o Dir::Etc::sourcelist=/etc/apt/sources.li$ (Reading database ... 23508 files and directories currently installed.) Preparing to replace firefox-locale-en 11.0+build1-0ubuntu4 (using .../firefox-locale-en_20.0+build1-0ubuntu0.10.04.3_i386.deb) ... Unpacking replacement firefox-locale-en ... Setting up firefox-locale-en (20.0+build1-0ubuntu0.10.04.3) ... Is this log ok? And does it mean that upgrade all new packages or secure updates only?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

5 answers
The output looks fine. According to the article you linked, your system should automatically be upgraded.
ok,
I solved GPG error with this code http://pastebin.com/LCXH6FZm
Now log file look better http://pastebin.com/ttLX7jgt

I little confused what does mean this text in log file?
"Download complete and in download only mode"
I believe that's a part of cron-apt's installation script. It's neither an error nor a warning so you should be fine :]
Thank you Kamal.
What about email sending?
Do I need to install some extra app?
Now I have Droplet with Ubuntu 12.04 + LAMP
You should install an MTA to be able to send email. I recommend postfix as it's really easy to get started with.

sudo apt-get install postfix
Submit an Answer