Best way to automatically apply security updates??

Post your update and upgrade related errors here
Forum rules

Best way to automatically apply security updates??

Postby madwoollything on Sun Jul 10, 2011 12:48 pm

I'd like to keep a desktop automatically up to date with 'security updates' without any user input (as my friend is not comfortable applying updates).

I was thinking of using the debian package 'unattended-upgrade' on this LMDE install for a friend. Looks like it may be designed for this??

I've noticed that you can select the 'unattended-upgrades service' (Control centre - services) but I'm unsure when the unattended-upgrades package will be scheduled to run (I've not been able to figure this out from the documentation). The desktop is booted up most days but does not remain 'on' for extended periods of time.

What is the best way of keeping an LMDE system up to date automatically with just security updates?
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Linux Mint is funded by ads and donations.

Re: Best way to automatically apply security updates??

Postby craigevil on Tue Jul 12, 2011 12:29 am

Setup a script that runs:

apt-get update && apt-get install $(debsecan --suite testing --format packages --only-fixed)

Description: Debian Security Analyzer
debsecan is a tool to generate a list of vulnerabilities which affect
a particular Debian installation. debsecan runs on the host which is
to be checked, and downloads vulnerability information over the
Internet. It can send mail to interested parties when new
vulnerabilities are discovered or when security updates become

Never really a good idea to autoupdate Testing or sid.
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
Level 5
Level 5
Posts: 554
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 2 guests