Best way to automatically apply security updates??

Archived topics about LMDE 1
Forum rules
Level 3
Level 3
Posts: 154
Joined: Sun Jul 20, 2008 8:46 am

Best way to automatically apply security updates??

Postby madwoollything » 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 5
Level 5
Posts: 554
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: Best way to automatically apply security updates??

Postby craigevil » 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

Return to “Archive”