# Bookworm migration problems, yunohost package fails to upgrade

**URL:** <https://forum.yunohost.org/t/bookworm-migration-problems-yunohost-package-fails-to-upgrade/34632>\
**Category:** Support\
**Tags:** english\
**Created:** [January 9, 2025, 5:20pm UTC](https://forum.yunohost.org/t/bookworm-migration-problems-yunohost-package-fails-to-upgrade/34632 "2025-01-09T17:20:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jhackett](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jhackett](https://forum.yunohost.org/u/jhackett)\
**Post date:** [January 16, 2025, 3:52pm UTC](https://forum.yunohost.org/t/bookworm-migration-problems-yunohost-package-fails-to-upgrade/34632/3 "2025-01-16T15:52:13Z")

</div>

I think I’ve solved this: I had an entry under `/etc/yunohost/domains` which had no `default_app:` set. That appears to be the NoneType in question: having populated that, regenerating works.

I did check prior to this and `yunohost domain info <mydomain>` shows the app correctly, but it has to be in the file too.

After that, upgrading the package works again. So I’ve re-ran `sudo apt-get dist-upgrade` and let that finish, which it has done successfully. After rebooting things were fine.

---

_[View the full topic](https://forum.yunohost.org/t/bookworm-migration-problems-yunohost-package-fails-to-upgrade/34632)._
