TurnKey Linux Virtual Appliance Library

Confirm Security Updates Install?

How can I confirm when security updates install?

I launched a fresh VM of turnkey-lamp-11.2-lucid-x86, and I did not have a DHCP available, so I had to skip the security installs at launch. I attempted to run the cron from the command line in WebMin (test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt) but it just hangs, and never confirms an install of anything.

Thank you in advance!

~Scott

Jeremy's picture

That would do it

But by design, cron-apt runs silently, so if it seems like it's frozen, then it's probably busy downloading and installing updates! If there are none to install it will exit relatievly quickly.

If you want something a little more interactive, then you could re-run the first boot script again:

/usr/lib/inithooks/firstboot.d/95secupdates

Thanks again Jeremy! I looked

Thanks again Jeremy! I looked at the log, located at "/var/log/cron-apt/log" and was able to see that it did in fact run, when I originally sent the command line, and it did update to the latest security patches.


Jeremy's picture

Good work!

Also I probably should have said that by default security updates occur everyday anyway (although you probably knew that).

Thanks for posting back your findings, no doubt someone else will want to check on their updates and now they know how! :)

thanks for sharing

good to know.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)