Today the updater asked to install updates, I said yes but the update never finished.
When I tried to install something else I found I couldn't and tried running the command: "sudo dpkg --configure -a" as instructed but the terminal does nothing. Here is the terminal output after running the above command:
sudo dpkg --configure -a
linux-image-4.13.0-21-generic (4.13.0-21.24) wird eingerichtet ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.13.0-21-generic
vmlinuz(/boot/vmlinuz-4.13.0-21-generic
) points to /boot/vmlinuz-4.13.0-21-generic
(/boot/vmlinuz-4.13.0-21-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.13.0-21-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-21-generic /boot/vmlinuz-4.13.0-21-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-21-generic /boot/vmlinuz-4.13.0-21-generic
It's beens stuck on "run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-21-generic /boot/vmlinuz-4.13.0-21-generic" for several hours now.
What can I do to fix this? Do I have to install ubuntu again?