# Migration 0021\_migrate\_to\_bullseye did not complete, aborting. Error: Failed to reinstall mariadb-common?

**URL:** https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303
**Category:** Support
**Tags:** migration, french, english
**Created:** [September 19, 2022, 6:48am UTC](https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303 "2022-09-19T06:48:39Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![josh](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://forum.yunohost.org/u/josh)
#### Post date: [September 19, 2022, 6:48am UTC](https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303/1 "2022-09-19T06:48:40Z")

</div>

(english/french)

### My YunoHost server

**Hardware:** Old laptop or computer  
**YunoHost version:** 4.4.2.14  
**I have access to my server :** Full access  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no

### Description of my issue

Hi there,

Attempted yesterday to migrate to 11, got this error about mariadb

```auto
2022-09-18 21:59:33,364: WARNING - postinst called with unknown argument 'triggered'
2022-09-18 21:59:33,524: WARNING - dpkg: error processing package mariadb-server-10.3 (--configure):
2022-09-18 21:59:33,525: WARNING - installed mariadb-server-10.3 package post-installation script subprocess returned error exit status 1
2022-09-18 21:59:33,620: WARNING - Errors were encountered while processing:
2022-09-18 21:59:33,623: WARNING - mariadb-server-10.3
2022-09-18 21:59:34,043: WARNING - E: Sub-process /usr/bin/dpkg returned an error code (1)

```

Full log here: [https://paste.yunohost.org/raw/apoxaveliy](https://paste.yunohost.org/raw/apoxaveliy)

I’ve seen other similar topics, where another package is involved, but could not identify any other culprit here.

Also tried

> sudo apt --fix-broken install

But there’s nothing to update or fix apparently

```auto
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 914 not upgraded.

```

This seems similar to yours, except I haven’t made any modifications  
@unmy any progress?

---

<div class="post-metadata">

### Author: ![josh](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://forum.yunohost.org/u/josh)
#### Post date: [September 19, 2022, 7:34am UTC](https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303/2 "2022-09-19T07:34:42Z")

</div>

Yep apparently migration is running ok after a fresh reboot.  
Hope it works for you too @unmy

---

<div class="post-metadata">

### Author: ![unmy](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/u/dfb087/32.png) [@unmy](https://forum.yunohost.org/u/unmy)
#### Post date: [September 19, 2022, 4:30pm UTC](https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303/3 "2022-09-19T16:30:51Z")

</div>

nope, [the error](https://paste.yunohost.org/raw/uxibenopem) actually changed now. 😭

---

<div class="post-metadata">

### Author: ![unmy](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/u/dfb087/32.png) [@unmy](https://forum.yunohost.org/u/unmy)
#### Post date: [September 19, 2022, 4:52pm UTC](https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303/4 "2022-09-19T16:52:15Z")

</div>

i skipped the bullseye migration because it looked like i was already on bullseye and i did the other migrations and now it seems that everything looks fine?

---

<div class="post-metadata">

### Author: ![Artanux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/artanux/32/2682_2.png) [@Artanux](https://forum.yunohost.org/u/Artanux)
#### Post date: [September 19, 2022, 5:47pm UTC](https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303/5 "2022-09-19T17:47:43Z")

</div>

You can’t only skip bullseye migration. You have to complete the upgrade yourself.

I had the same error this morning and I solved it in this forum post : [Mise à jour vers Debian 11, deuxième serveur](https://forum.yunohost.org/t/mise-a-jour-vers-debian-11-deuxieme-serveur/21304) .

In quick explain :

```auto
$ sudo apt update

$ sudo apt full-upgrade

$ sudo apt autoremove

$ sudo apt update

$ sudo apt full-upgrade

```

I don’t know why I had to update/full-upgrade two times. After the first round, there was still some upgrade to do (guile-2.2-libs, moulinette/stable 11.0.9, ssowat/stable 11.0.9, yunohost-admin/stable 11.0.10 and yunohost/stable 11.0.9.14).

After that, I could launch the last upgrade parts via the webadmin. (You can do it from CLI too).

---

<div class="post-metadata">

### Author: ![unmy](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/u/dfb087/32.png) [@unmy](https://forum.yunohost.org/u/unmy)
#### Post date: [September 20, 2022, 11:11pm UTC](https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303/6 "2022-09-20T23:11:26Z")

</div>

thank you for sharing, but that didn’t solve the issue sadly.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [October 20, 2022, 11:11pm UTC](https://forum.yunohost.org/t/migration-0021-migrate-to-bullseye-did-not-complete-aborting-error-failed-to-reinstall-mariadb-common/21303/7 "2022-10-20T23:11:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
