Faced same problem while upgrading from 18.10 to 19.04
Upgrade completed but showed
" Could not install 'linux-image-5.0.0-13-generic'
The upgrade will continue but the 'linux-image-5.0.0-13-generic' package may not be in a working state. Please consider submitting a bug report about it.
triggers looping, abandoned
Workaround:
Run recommended `dpkg --configure -a` before actual reboot.
I reverted to old kernel 4.18.0-17 and 19.04 booted fine although it takes a longer time than usual. Then I deleted this 5.0.0-13 kernel and headers
Faced same problem while upgrading from 18.10 to 19.04 image-5. 0.0-13- generic' image-5. 0.0-13- generic' package may not be in a working state. Please consider submitting a bug report about it.
Upgrade completed but showed
" Could not install 'linux-
The upgrade will continue but the 'linux-
triggers looping, abandoned
Workaround:
Run recommended `dpkg --configure -a` before actual reboot.
I reverted to old kernel 4.18.0-17 and 19.04 booted fine although it takes a longer time than usual. Then I deleted this 5.0.0-13 kernel and headers