Hardware: Rackserver - VM YunoHost version: 4.0.8.3 (stable). I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
All of the above Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no If yes, please explain:
no
Description of my issue
Today I wanted to upgrade the installation but then this happened.
Rough translation by bing.
Linux easycomp.cloud 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
afforded by applicable law.
Last login: Thu Feb 11 11:32:23 2021
root@easycomp:~# sudo apt install --fix-broken
Package lists are read in… Ready
Tree of requirements is built up
The status information is read… Ready
The following package is installed automatically and is no longer required:
linux-image-4.19.0-12-amd64
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B extra disk space will be used.
Setting up grub PC (2.02+dfsg1-20+deb10h3) …
/dev/disk/by-id/ata-VBOX_HARDDISK_VB8274e419-47df3d29 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:
dpkg reconfigure grub PC
dpkg: Grub PC (–configure) package processing error:
subprocess of package grub-PC script installed post-installation returned the error value 1
Errors found while processing:
grub PC
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@easycomp:~# sudo dpkg --configure -a
Setting up grub PC (2.02+dfsg1-20+deb10h3) …
/dev/disk/by-id/ata-VBOX_HARDDISK_VB8274e419-47df3d29 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:
dpkg reconfigure grub PC
dpkg: Grub PC (–configure) package processing error:
subprocess of package grub-PC script installed post-installation returned the error value 1
Errors found while processing:
grub PC
root@easycomp:~#
iiiiiii would avoid rebooting as grub is precisely kinda important during the boot process, so if it’s misconfigured the oopsie can become quite bigger …
Maybe let’s first look at lsblk to have a better idea of what are your disk devices…
dpkg-reconfigure grub-pc
dpkg: fout bij verwerken van pakket grub-pc (–configure):
subproces van pakket grub-pc werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
grub-pc
root@easycomp:~# sudo apt install --fix-broken
Pakketlijsten worden ingelezen… Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen… Klaar
Het volgende pakket is automatisch geïnstalleerd en is niet langer nodig:
linux-image-4.19.0-12-amd64
Gebruik ‘sudo apt autoremove’ om het te verwijderen.
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 2 niet opgewaardeerd.
1 niet volledig geïnstalleerd of verwijderd.
Na deze bewerking zal er 0 B extra schijfruimte gebruikt worden.
Instellen van grub-pc (2.02+dfsg1-20+deb10u3) …
/dev/disk/by-id/ata-VBOX_HARDDISK_VB8274e419-47df3d29 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:
dpkg-reconfigure grub-pc
dpkg: fout bij verwerken van pakket grub-pc (–configure):
subproces van pakket grub-pc werd script post-installation geïnstalleerd gaf de foutwaarde 1 terug
Fouten gevonden tijdens verwerken van:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@easycomp:~#
dpkg reconfigure grub PC
dpkg: Grub PC (–configure) package processing error:
subprocess of package grub-PC script installed post-installation returned the error value 1
Errors found while processing:
grub PC
root@easycomp:~# sudo apt install --fix-broken
Package lists are read in… Ready
Tree of requirements is built up
The status information is read… Ready
The following package is installed automatically and is no longer required:
linux-image-4.19.0-12-amd64
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B extra disk space will be used.
Setting up grub PC (2.02+dfsg1-20+deb10h3) …
/dev/disk/by-id/ata-VBOX_HARDDISK_VB8274e419-47df3d29 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:
dpkg reconfigure grub PC
dpkg: Grub PC (–configure) package processing error:
subprocess of package grub-PC script installed post-installation returned the error value 1
Errors found while processing:
grub PC
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@easycomp:~ #