I had the issue. After trying different things.... I created two files, vtrgb and vtrgb.vga as per https://www.apt- browse.org/browse/ubuntu/bionic/main/all/console-setup- linux/1.178ubuntu2/file/etc/console-setup (even though I am on Focal Fossa) and placed them at /etc/console-setup/ .
I ran sudo dpkg --configure -a and the error was gone. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068222 Title: package console-setup 1.70ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1068222/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs