Seems to be fixed now, ie after i run
$ sudo dpkg --configure -a
everything seems to fall in place again. Found even a newer kernel (38)
and installed it.
So, from my side this case can be closed.
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
package linux-image-4.13.0-37-generic 4.13.0-37.42 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 2
To manage notifications about this bug go to:
ubuntu-bugs mailing list