root@srv01:~# apt-get update
Hit:1 http://ppa.launchpad.net/jcfp/ppa/ubuntu xenial InRelease
Hit:2 http://dk.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Get:6 http://dk.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Hit:7 http://dk.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:8 http://linux.dropbox.com/ubuntu wily InRelease
Get:9 http://linux.dropbox.com/ubuntu wily Release [6,596 B]
Fetched 196 kB in 1s (109 kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@srv01:~# ls /var/lib/dpkg/lock
/var/lib/dpkg/lock
root@srv01:~# rm /var/lib/dpkg/lock
root@srv01:~# apt-get update
Hit:1 http://ppa.launchpad.net/jcfp/ppa/ubuntu xenial InRelease
Hit:2 http://dk.archive.ubuntu.com/ubuntu xenial InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:5 http://archive.canonical.com/ubuntu xenial InRelease
Hit:6 http://dk.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:7 http://linux.dropbox.com/ubuntu wily InRelease
Hit:8 http://dk.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:9 http://linux.dropbox.com/ubuntu wily Release [6,596 B]
Fetched 101 kB in 0s (183 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
root@srv01:~# dpkg --configure -a
Setting up zfs-doc (0.6.5.6-0ubuntu10) ...
Setting up libuutil1linux (0.6.5.6-0ubuntu10) ...
Setting up tzdata (2016f-0ubuntu0.16.04) ...
Current default time zone: 'Europe/Copenhagen'
Local time is now: Thu Jul 7 08:46:49 CEST 2016.
Universal Time is now: Thu Jul 7 06:46:49 UTC 2016.
Run 'dpkg-reconfigure tzdata' if you wish to change it.
Setting up initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: deferring update (trigger activated)
Setting up lsb-release (9.20160110ubuntu0.2) ...
Setting up libnvpair1linux (0.6.5.6-0ubuntu10) ...
Setting up sabnzbdplus (1.1.0~rc1-0ubuntu1~jcfp1~xenial) ...
Setting up python3-software-properties (0.96.20.2) ...
Setting up command-not-found-data (0.3ubuntu16.04.2) ...
Setting up linux-firmware (1.157.2) ...
Setting up software-properties-common (0.96.20.2) ...
Setting up libzpool2linux (0.6.5.6-0ubuntu10) ...
Setting up python3-commandnotfound (0.3ubuntu16.04.2) ...
Setting up command-not-found (0.3ubuntu16.04.2) ...
Setting up libzfs2linux (0.6.5.6-0ubuntu10) ...
Setting up zfsutils-linux (0.6.5.6-0ubuntu10) ...
zfs-import-cache.service is a disabled or a static unit, not starting it.
zfs-import-scan.service is a disabled or a static unit, not starting it.
zfs-mount.service is a disabled or a static unit, not starting it.
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-28-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.