# Update Errors, also on fix commands!

**URL:** https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496
**Category:** Support
**Tags:** english
**Created:** [February 11, 2021, 10:40am UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496 "2021-02-11T10:40:19Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [February 12, 2021, 1:12pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/21 "2021-02-12T13:12:00Z")

</div>

… share the result of the output of the command …

---

<div class="post-metadata">

### Author: ![someonesusername](https://forum.yunohost.org/user_avatar/forum.yunohost.org/someonesusername/32/5789_2.png) [@someonesusername](https://forum.yunohost.org/u/someonesusername)
#### Post date: [February 12, 2021, 1:12pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/22 "2021-02-12T13:12:31Z")

</div>

root@easycomp:~# grep -nr ‘HARDDISK’ /etc/  
root@easycomp:~#

---

<div class="post-metadata">

### Author: ![someonesusername](https://forum.yunohost.org/user_avatar/forum.yunohost.org/someonesusername/32/5789_2.png) [@someonesusername](https://forum.yunohost.org/u/someonesusername)
#### Post date: [February 12, 2021, 7:29pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/23 "2021-02-12T19:29:42Z")

</div>

![Schermafbeelding 2021-02-12 om 20.29.38](https://forum.yunohost.org/uploads/default/original/2X/9/9d58c1cae8b134ff7b127d3e97cada596dc41fff.png)

---

<div class="post-metadata">

### Author: ![someonesusername](https://forum.yunohost.org/user_avatar/forum.yunohost.org/someonesusername/32/5789_2.png) [@someonesusername](https://forum.yunohost.org/u/someonesusername)
#### Post date: [February 13, 2021, 11:19am UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/24 "2021-02-13T11:19:54Z")

</div>

OMG DUCKING WINDBLOWS I HATE YOU MAYOSOFT!!!

THAT (EXCUSE MY LANG) OS I LIKE A DEADMAKING DISEASE AAAARGH  
Last night my rack server crashed due to buggy windblows so that means that the VM running Yuno had a forced shutdown.

and guess what…

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [February 13, 2021, 2:47pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/25 "2021-02-13T14:47:44Z")

</div>

:pokerface:

---

<div class="post-metadata">

### Author: ![someonesusername](https://forum.yunohost.org/user_avatar/forum.yunohost.org/someonesusername/32/5789_2.png) [@someonesusername](https://forum.yunohost.org/u/someonesusername)
#### Post date: [February 14, 2021, 2:18am UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/26 "2021-02-14T02:18:49Z")

</div>

Well it booted just fine but same issue…

---

<div class="post-metadata">

### Author: ![louis59](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@louis59](https://forum.yunohost.org/u/louis59)
#### Post date: [February 14, 2021, 9:26pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/27 "2021-02-14T21:26:53Z")

</div>

Hi guys, I have the same issue. I’m running Yunohost on a VM, and I also had to increase the hard disk size. Has anyone an idea of how to solve that ? `grep -nr 'HARDDISK' /etc/` isn’t either sending back anything. What is it meant to say ?  
I didn’t try to reboot yet …

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [February 14, 2021, 10:48pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/28 "2021-02-14T22:48:45Z")

</div>

Or maybe we should rather check `grep -nr 'HARDDISK' /boot/ `

The point is to identify where that reference to apparently an old (?) disk id is kept …

---

<div class="post-metadata">

### Author: ![louis59](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@louis59](https://forum.yunohost.org/u/louis59)
#### Post date: [February 14, 2021, 10:53pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/29 "2021-02-14T22:53:06Z")

</div>

still an empty answer…  
Otherwise, is there a way to reconfigure grub ? with some kind of boot-repair ?

---

<div class="post-metadata">

### Author: ![louis59](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@louis59](https://forum.yunohost.org/u/louis59)
#### Post date: [February 14, 2021, 10:55pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/30 "2021-02-14T22:55:44Z")

</div>

I just found that on the web while searching “cannot grub-install to it” (with the quotes). I’m gonna try

> **[Debian 10 box in Vagrant fails with grub error](https://www.databasesandlife.com/vagrant-debian10-grub/)**

edit : i’m not gonna try anything, i just don’t understand what has to be done ^^

---

<div class="post-metadata">

### Author: ![tomas](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tomas/32/2946_2.png) [@tomas](https://forum.yunohost.org/u/tomas)
#### Post date: [February 15, 2021, 6:53pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/31 "2021-02-15T18:53:38Z")

</div>

Hi,  
I have got the same error on “pure silicon”.  
I have changed my disk earlier after a crash. I had a image copy of it and put it on a new one. everything has been running and updating Ok for weeks on version 4.1.

After trying to install an app today Iv got;

```auto
You cannot do this right now because dpkg/APT (the system package managers) seems to be in a broken state… You can try to solve this issue by connecting through SSH and running `sudo apt install --fix-broken` and/or `sudo dpkg --configure -a`.

```

```auto
$ sudo apt install --fix-broken
locale: Cannot set LC_ALL to default locale: No such file or directory
/dev/disk/by-id/ata-OCZ_VERTEX_PLUS_19JE1KI41W61AY8PEP3Y 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
E: Sub-process /usr/bin/dpkg returned an error code (1)

```

So this “ata-OCZ\_VERTEX” is my old replaced SSD.

Any help appreciated.

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [February 15, 2021, 9:05pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/32 "2021-02-15T21:05:27Z")

</div>

Hmpf I don’t understand why this issue shows up for so many people suddenly …

My naive guess would be that there’s some reference somewhere to the old disk ID … but apparently it’s neither in /etc/ nor /boot/ …

Idk, naively we can try to look for it on the entire system with

```auto
grep -nr "OCZ_VERTEX_PLUS" /

```

but i don’t have much other ideas on how to proceed 😕

Or maybe `grub-install /dev/sda` (\<- or the appropriate disk, **be careful** ) … but I think we tried that earlier and this wasnt sucesful in fixing the apt/dpkg issue …

---

<div class="post-metadata">

### Author: ![tomas](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tomas/32/2946_2.png) [@tomas](https://forum.yunohost.org/u/tomas)
#### Post date: [February 15, 2021, 9:32pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/33 "2021-02-15T21:32:55Z")

</div>

Thanks Aleks, Iv tested `grub-install` but that didn’t changed anything on my setup either.

Found this, not sure but seems related - [Recent updates and upgrades can fail when updating to grub-pc/2.02+dfsg1-20+deb10u3 in Buster - Updates/Upgrades - openmediavault](https://forum.openmediavault.org/index.php?thread/38006-recent-updates-and-upgrades-can-fail-when-updating-to-grub-pc-2-02-dfsg1-20-deb1/)

---

<div class="post-metadata">

### Author: ![louis59](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@louis59](https://forum.yunohost.org/u/louis59)
#### Post date: [February 15, 2021, 9:58pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/34 "2021-02-15T21:58:47Z")

</div>

> [@tomas](#):
>
> Found this, not sure but seems related - [Recent updates and upgrades can fail when updating to grub-pc/2.02+dfsg1-20+deb10u3 in Buster - Updates/Upgrades - openmediavault](https://forum.openmediavault.org/index.php?thread/38006-recent-updates-and-upgrades-can-fail-when-updating-to-grub-pc-2-02-dfsg1-20-deb1/)

It might be linked, doesn’t it ? a sudden grub update bug on devices where a former disk does not exist anymore… I’m really surprised that there are so few people on the web (apparently 4) who declared this precise error message “cannot grub-install to it”.  
To try the mentionned solution, i have to run `sudo DEBIAN_FRONTEND=newt dpkg --configure -a` right ?

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [February 15, 2021, 9:59pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/35 "2021-02-15T21:59:28Z")

</div>

> [@louis59](#):
>
> i have to run `sudo DEBIAN_FRONTEND=newt dpkg --configure -a` right ?

Yup, then probably select the appropriate disk where to install grub

---

<div class="post-metadata">

### Author: ![louis59](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@louis59](https://forum.yunohost.org/u/louis59)
#### Post date: [February 15, 2021, 10:06pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/36 "2021-02-15T22:06:11Z")

</div>

ok i’m cloning the vm to have a backup and will then try. Which is basically the disk on which I have to insall grub (assumed that I left the default partitioning at the installation) ?

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [February 15, 2021, 10:09pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/37 "2021-02-15T22:09:27Z")

</div>

> [@louis59](#):
>
> Which is basically the disk on which I have to insall grub (assumed that I left the default partitioning at the installation) ?

Uuuuh idk it kinda depends on your setup … In a typical setup there’s only one or two disks so it’s usually obvious which one is the main system disk …

---

<div class="post-metadata">

### Author: ![louis59](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@louis59](https://forum.yunohost.org/u/louis59)
#### Post date: [February 15, 2021, 10:11pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/38 "2021-02-15T22:11:49Z")

</div>

well… yes indeed ^^ (I should have only one disk i think) I think I’ll find that easily then.  
The backup will take half an our, so I’ll tell you tomorrow wether it worked or not…

---

<div class="post-metadata">

### Author: ![louis59](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@louis59](https://forum.yunohost.org/u/louis59)
#### Post date: [February 15, 2021, 10:42pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/39 "2021-02-15T22:42:44Z")

</div>

```
sudo DEBIAN_FRONTEND=newt dpkg --configure -a
Paramétrage de grub-pc (2.02+dfsg1-20+deb10u3) ...
debconf: Impossible d'initialiser l'interface : Newt
debconf: (Can't locate Debconf/FrontEnd/Newt.pm in @INC (you may need to install the Debconf::FrontEnd::Newt module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 18) line 2.)
debconf: Utilisation de l'interface Noninteractive en remplacement
/dev/disk/by-id/ata-VBOX_HARDDISK_VB001e0a7f-7b0eb967 does not exist, so cannot grub-install to it! 

```

Well, it didn’t work…

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [February 15, 2021, 11:08pm UTC](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496/40 "2021-02-15T23:08:56Z")

</div>

Let’s try with interfact `text` then

[Previous page](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496.md?page=1)

[Next page](https://forum.yunohost.org/t/update-errors-also-on-fix-commands/14496.md?page=3)
