I have no idea really.
Everything was working just fine and it went a bit like this.
> ns3299:/home/username# apt-get -y install git
E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.
ns3299:/home/username# ^C
> ns3299:/home/username# sudo dpkg --configure -a
Setting up linux-headers-4.4.0-78 (4.4.0-78.99) …
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-headers-generic (= 4.4.0.78.84); however:
Version of linux-headers-generic on system is 4.4.0.77.83.
dpkg: error processing package linux-generic (–configure):
dependency problems - leaving unconfigured
Setting up linux-image-4.4.0-78-generic (4.4.0-78.99) …
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-78-generic
^CFailed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-4.4.0-78-generic.postinst line 1052.
dpkg: error processing package linux-image-4.4.0-78-generic (–configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-78-generic:
linux-image-extra-4.4.0-78-generic depends on linux-image-4.4.0-78-generic; however:
Package linux-image-4.4.0-78-generic is not configured yet.
dpkg: error processing package linux-image-extra-4.4.0-78-generic (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-4.4.0-78-generic; however:
Package linux-image-4.4.0-78-generic is not configured yet.
linux-image-generic depends on linux-image-extra-4.4.0-78-generic; however:
Package linux-image-extra-4.4.0-78-generic is not configured yet.
dpkg: error processing package linux-image-generic (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-virtual:
linux-image-extra-virtual depends on linux-image-generic (= 4.4.0.78.84); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-image-extra-virtual (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-generic
linux-image-4.4.0-78-generic
linux-image-extra-4.4.0-78-generic
linux-image-generic
linux-image-extra-virtual
> ns3299:/home/username# apt-get -y install git
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
linux-generic : Depends: linux-headers-generic (= 4.4.0.78.84) but 4.4.0.77.83 is to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
> ns3299:/home/username# apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-image-4.4.0-62-generic
linux-image-extra-4.4.0-62-generic
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
linux-headers-4.4.0-78-generic linux-headers-generic
The following packages will be upgraded:
linux-headers-4.4.0-78-generic linux-headers-generic
2 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
6 not fully installed or removed.
Need to get 0 B/786 kB of archives.
After this operation, 7,383 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 152328 files and directories currently installed.)
Preparing to unpack …/linux-headers-4.4.0-78-generic_4.4.0-78.99_amd64.deb …
Unpacking linux-headers-4.4.0-78-generic (4.4.0-78.99) over (4.4.0-78.99) …
Preparing to unpack …/linux-headers-generic_4.4.0.78.84_amd64.deb …
Unpacking linux-headers-generic (4.4.0.78.84) over (4.4.0.77.83) …
Setting up linux-image-4.4.0-78-generic (4.4.0-78.99) …
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-78-generic
vmlinuz(/boot/vmlinuz-4.4.0-78-generic
) points to /boot/vmlinuz-4.4.0-78-generic
(/boot/vmlinuz-4.4.0-78-generic) – doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-78-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-78-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
Generating grub configuration file …
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-78-generic
Found initrd image: /boot/initrd.img-4.4.0-78-generic
Found linux image: /boot/vmlinuz-4.4.0-77-generic
Found initrd image: /boot/initrd.img-4.4.0-77-generic
Found linux image: /boot/vmlinuz-4.4.0-62-generic
Found initrd image: /boot/initrd.img-4.4.0-62-generic
Found linux image: /boot/bzImage-3.14.32-xxxx-grs-ipv6-64
done
Setting up linux-image-extra-4.4.0-78-generic (4.4.0-78.99) …
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-78-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-78-generic /boot/vmlinuz-4.4.0-78-generic
Generating grub configuration file …
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-78-generic
Found initrd image: /boot/initrd.img-4.4.0-78-generic
Found linux image: /boot/vmlinuz-4.4.0-77-generic
Found initrd image: /boot/initrd.img-4.4.0-77-generic
Found linux image: /boot/vmlinuz-4.4.0-62-generic
Found initrd image: /boot/initrd.img-4.4.0-62-generic
Found linux image: /boot/bzImage-3.14.32-xxxx-grs-ipv6-64
done
Setting up linux-image-generic (4.4.0.78.84) …
Setting up linux-headers-4.4.0-78-generic (4.4.0-78.99) …
Setting up linux-headers-generic (4.4.0.78.84) …
Setting up linux-generic (4.4.0.78.84) …
Setting up linux-image-extra-virtual (4.4.0.78.84) …
> ns3299:/home/username# apt-get -y install git
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-62 linux-headers-4.4.0-62-generic linux-image-4.4.0-62-generic
linux-image-extra-4.4.0-62-generic
Use ‘sudo apt autoremove’ to remove them.
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs
git-mediawiki git-svn
The following packages will be upgraded:
git
1 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
Need to get 3,068 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 git amd64 1:2.7.4-0ubuntu1.1 [3,068 kB]
Fetched 3,068 kB in 0s (8,921 kB/s)
(Reading database … 152328 files and directories currently installed.)
Preparing to unpack …/git_1%3a2.7.4-0ubuntu1.1_amd64.deb …
Unpacking git (1:2.7.4-0ubuntu1.1) over (1:2.7.4-0ubuntu1) …
Setting up git (1:2.7.4-0ubuntu1.1) …
After installing git, the upper part is there and I’ve checked the rutorrent saying my disk was full. Moments before, I have around 273GB free.