Debian Unattended Security Updates

Follow these instructions and set your email to receive notifications.

apt-get install unattended-upgrades apt-listchanges

nano /etc/apt/apt.conf.d/50unattended-upgrades

Set your email to receive notificaitons:
-Upgrade::Mail "";

To activate unattended-upgrades, you need to ensure that the apt configuration stub /etc/apt/apt.conf.d/20auto-upgrades contains at least the following lines:

  • # editor /etc/apt/apt.conf.d/20auto-upgrades


    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Unattended-Upgrade "1";
    dpkg-reconfigure -plow unattended-upgrades


Alternatively, you can also create the apt configuration file /etc/apt/apt.conf.d/02periodic to activate unattended-upgrades:

  • # nano /etc/apt/apt.conf.d/02periodic


    Below is an example /etc/apt/apt.conf.d/02periodic:

    • // Control parameters for cron jobs by /etc/cron.daily/apt-compat //
      // Enable the update/upgrade script (0=disable)
      APT::Periodic::Enable "1";
      // Do "apt-get update" automatically every n-days (0=disable)
      APT::Periodic::Update-Package-Lists "1";
      // Do "apt-get upgrade --download-only" every n-days (0=disable)
      APT::Periodic::Download-Upgradeable-Packages "1";
      // Run the "unattended-upgrade" security upgrade script
      // every n-days (0=disabled)
      // Requires the package "unattended-upgrades" and will write
      // a log in /var/log/unattended-upgrades
      APT::Periodic::Unattended-Upgrade "1";
      // Do "apt-get autoclean" every n-days (0=disable)
      APT::Periodic::AutocleanInterval "21";
      // Send report mail to root
      //     0:  no report             (or null string)
      //     1:  progress report       (actually any string)
      //     2:  + command outputs     (remove -qq, remove 2>/dev/null, add -d)
      //     3:  + trace on
      APT::Periodic::Verbose "2";
      Unattended-Upgrade::Mail "";

How to install and remove Sophos Free Antivirus for Linux

This is a great thing to have around.

Beware, it will slow your system down a bit if you have lots of files or large files that will be scanned.

Do not use on a development machine where you compile things or it will be very slow to create builds. Your mileage may vary.


1. If you haven’t already downloaded the installer, do as follows:
a) Go to
b) Find Sophos Anti-Virus for Linux Free Edition and click Download. Follow the instructions to download the tarball to a temporary directory, for example /home/myuser/Downloads.

2. Change to the temporary directory and untar the tarball:
tar -xzvf .

If you have a GUI install you can usually Right click and choose Extract Here to avoid having to issue commands in the terminal.

3. Run the install script:

a) You might have to chmod +x the file before you can run it.

b) Then  you can run

sudo ./sophos-av/

4. The installer guides you through the installation:
■ When prompted for the type of auto-update you want, select Sophos.
■ When prompted for the version you want, select Free.
Sophos Anti-Virus is installed in the directory that you selected.


sudo /opt/sophos-av/


Official Sopho Antivirus for Linux PDF Manual


List process run by user


Replace the [username] with the required username

If you want to use ps then

ps -u [username] 


 ps -ef | grep <username> 


ps -efl | grep <username> 

How to fix Libfaac – configure: error: cannot guess build type; you must specify one – Power8

This issue occurs when compiling on Power8. This is as a result of a rather old config.guess file which is included in the src folder of libfaac.


Problem description:

Attempting to ./configure the libfaac packages ends with the following output.

config.guess timestamp = 2006-07-02


uname -m = ppc64le

uname -r = 3.13.0-37-generic

uname -s = Linux

uname -v = #64-Ubuntu SMP Mon Sep 22 21:27:09 UTC 2014


/usr/bin/uname -p = 

/bin/uname -X     = 


hostinfo               = 

/bin/universe          = 

/usr/bin/arch -k       = 

/bin/arch              = 

/usr/bin/oslevel       = 

/usr/convex/getsysinfo = 



UNAME_RELEASE = 3.13.0-37-generic


UNAME_VERSION = #64-Ubuntu SMP Mon Sep 22 21:27:09 UTC 2014

configure: error: cannot guess build type; you must specify one



Download a proper config.guess that is able to determine the power8 architecture.

Download a modernized config.guess file and overwrite the one in src folder that you are attempting to configure.

Re-run the ./configure command and everything should work as expected.


You can download a sample config.guess file below.;a=blob_plain;f=config.guess;hb=HEAD