Hola Jesús. He actualizado un equipo con Ubuntu 18.04 a Ubuntu 20.04 y se me ha reproducido el error. He podido subsanarlo. Aquí te dejo lo que he hecho
Eliminamos versiones anteriores del kernel En este ejemplo eliminamos la versión 4.15.0-118, pero podemos eliminar la que deseeemos. Podemos ejecutar # ls -la /boot para saber que versiones, o restos de ellas, tenemos. # cd /boot # mkdir kk # mv *4.15.0-118* kk # update-grub # reboot https://itsfoss.com/dpkg-returned-an-error-code-1/ # ls -l /var/lib/dpkg/info | grep i grub-pc # mkdir kk # mv /var/lib/dpkg/info/grub-pc.* kk Para estar seguros, antes de reiniciar, podemos ejecutar una reparación https://slimbook.es/tutoriales/linux/164-3-maneras-de-como-reinstalar-o-reparar-grub-boot-repair-archlinux-o-antergos # add-apt-repository ppa:yannubuntu/boot-repair # apt-get update # apt-get install -y boot-repair # boot-repair Las URL es el lugar de dónde he obtenido la información. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886608 Title: package grub-pc 2.04-1ubuntu26 failed to install/upgrade: el subproceso instalado paquete grub-pc script post-installation devolvió el código de salida de error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1886608/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs