Error with parrot-upgrade

Hey, I have some issues while trying to upgrade parrot os 4.10, as you can see:

─[osboxes@parrot]─[~]
└──╼ $sudo parrot-upgrade
[sudo] password for osboxes:
Hit:1 https://deb.parrot.sh/parrot rolling InRelease
Hit:2 https://deb.parrot.sh/parrot rolling-security InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
Setting up grub-pc (2.04-10parrot1) …
/dev/disk/by-id/ata-VMware_Virtual_SATA_Hard_Drive_00000000000000000001 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:

dpkg-reconfigure grub-pc
dpkg: error processing package grub-pc (–configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
failed to fix interrupted upgrades
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
cryptsetup-nuke-password dcraw dwarfdump flac golang-1.14 golang-1.14-doc
golang-1.14-go golang-1.14-src libarmadillo9 libasync-mergepoint-perl
libcdio18 libcfitsio8 libcollectdclient1 libdbd-sqlite3-perl libdc1394-22
libdistorm3-3 libdwarf1 libfuture-perl libgvm11 libhtml-linkextractor-perl
libilmbase24 libio-async-loop-epoll-perl libio-async-perl libisl22
libjpeg-turbo-progs liblinux-epoll-perl liblwp-protocol-socks-perl libmdb2
libmdbsql2 libmetrics-any-perl libndpi2.6 libnetpbm10 libobjc-9-dev
libopenexr24 liborcus-0.15-0 liborcus-parser-0.15-0 libout123-0 libperl5.30
libpgm-5.2-0 libplacebo29 libpoppler82 libpython2.7 libpython3.8
libpython3.8-dev libraw19 libre2-8 librecode0 libsereal-perl libsnmp35
libstd-rust-1.45 libstd-rust-1.46 libstd-rust-1.47 libstruct-dumb-perl
libsyn123-0 libtest-metrics-any-perl libtest-refcount-perl libtsk13
libturbojpeg0 libusrsctp1 libxcb-util0 libyara3 linux-compiler-gcc-9-x86
linux-headers-5.7.0-2parrot2-amd64 linux-headers-5.7.0-2parrot2-common
linux-image-5.7.0-2parrot2-amd64 linux-kbuild-5.7 mpg123 netpbm php-sqlite3
php7.4-sqlite3 python-attr python-cairo python-certifi python-configparser
python-contextlib2 python-crypto python-gevent python-gobject-2
python-greenlet python-html5lib python-idna python-ipaddress python-libxml2
python-libxslt1 python-lxml python-numpy python-olefile python-packaging
python-pil python-pkg-resources python-py python-pyparsing python-six
python-urllib3 python-wcwidth python-webencodings python-yara
python3-chameleon python3-flask-restless python3-grequests python3-mimeparse
python3-mimerender python3-waitress python3-webtest python3-zope.component
python3-zope.event python3-zope.hookable python3.8-dev recode ruby-arel
ruby-chunky-png ruby-rqrcode volatility-tools
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.04-10parrot1) …
/dev/disk/by-id/ata-VMware_Virtual_SATA_Hard_Drive_00000000000000000001 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:

dpkg-reconfigure grub-pc
dpkg: error processing package grub-pc (–configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to fix conflicts
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages were automatically installed and are no longer required:
cryptsetup-nuke-password dcraw dwarfdump flac golang-1.14 golang-1.14-doc golang-1.14-go golang-1.14-src libarmadillo9 libasync-mergepoint-perl libcdio18 libcfitsio8
libcollectdclient1 libdbd-sqlite3-perl libdc1394-22 libdistorm3-3 libdwarf1 libfuture-perl libgvm11 libhtml-linkextractor-perl libilmbase24
libio-async-loop-epoll-perl libio-async-perl libisl22 libjpeg-turbo-progs liblinux-epoll-perl liblwp-protocol-socks-perl libmdb2 libmdbsql2 libmetrics-any-perl
libndpi2.6 libnetpbm10 libobjc-9-dev libopenexr24 liborcus-0.15-0 liborcus-parser-0.15-0 libout123-0 libperl5.30 libpgm-5.2-0 libplacebo29 libpoppler82 libpython2.7
libpython3.8 libpython3.8-dev libraw19 libre2-8 librecode0 libsereal-perl libsnmp35 libstd-rust-1.45 libstd-rust-1.46 libstd-rust-1.47 libstruct-dumb-perl libsyn123-0
libtest-metrics-any-perl libtest-refcount-perl libtsk13 libturbojpeg0 libusrsctp1 libxcb-util0 libyara3 linux-compiler-gcc-9-x86 linux-headers-5.7.0-2parrot2-amd64
linux-headers-5.7.0-2parrot2-common linux-image-5.7.0-2parrot2-amd64 linux-kbuild-5.7 mpg123 netpbm php-sqlite3 php7.4-sqlite3 python-attr python-cairo python-certifi
python-configparser python-contextlib2 python-crypto python-gevent python-gobject-2 python-greenlet python-html5lib python-idna python-ipaddress python-libxml2
python-libxslt1 python-lxml python-numpy python-olefile python-packaging python-pil python-pkg-resources python-py python-pyparsing python-six python-urllib3
python-wcwidth python-webencodings python-yara python3-chameleon python3-flask-restless python3-grequests python3-mimeparse python3-mimerender python3-waitress
python3-webtest python3-zope.component python3-zope.event python3-zope.hookable python3.8-dev recode ruby-arel ruby-chunky-png ruby-rqrcode volatility-tools
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.04-10parrot1) …
/dev/disk/by-id/ata-VMware_Virtual_SATA_Hard_Drive_00000000000000000001 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:

dpkg-reconfigure grub-pc
dpkg: error processing package grub-pc (–configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)

unsuccessfully tried:
┌─[✗]─[osboxes@parrot]─[~]
└──╼ $sudo dpkg-reconfigure grub-pc
/usr/sbin/dpkg-reconfigure: grub-pc is broken or not fully installed

I tried “sudo dpkg --configure -a” but canceled it right after it popped a message say’s that I might experience system boot issues…

Any idea how to fix it ?
Thanks.

I’m not sure if you got this figured out but I had the same issue pop up as well. The only difference between your output and mine was that mine wasn’t inside of VMware.

The way that I fixed this was by running ‘sudo apt update’ followed by ‘sudo apt upgrade’. This allowed me to correct my grub bootloader and to select which hard drive to use. I did have to run ‘sudo dpkg-reconfigure grub-pc’ a couple times due to an errant Windows 10 installation on a spare drive, but that wasn’t related.