При установке ПО может возникнуть ошибка: dpkg was interrupted, you must manually run ‘dpkg —configure -a’ to correct the problem.

Но при запуска команды:

dpkg --configure -a
возникает следующая ошибка:

dpkg: error processing package node-read (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
Errors were encountered while processing:
node-read

(утилита node-read указана в качестве примера)
Варианты решения проблемы
apt --fix-broken install
или

dpkg --remove --force-remove-reinstreq

https://linux24.ru/troubleshooting/oshi … upted.html