[qubes-users] Error upgrading Debian 11 to 12 (usrmerge)

When upgrading my Debian 11 template to 12 i get stuck at

– cut –

Setting up usrmerge (35) …


/lib/modules/ is a mount point.
Probably this system is using User Mode Linux.

To continue the conversion please:

  • replace ‘/lib/modules/’ with ‘/usr/lib/modules/’ in /etc/fstab
  • reboot
  • try again

E: usrmerge failed.
dpkg: error processing package usrmerge (–configure):
installed usrmerge package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

– end cut –

Any idea?

did not help either…
Maybe we have to merge things manually?

Tried different solutions… no way.

/lib/modules is a qubes-specific mount (provided by dom0)

→ qubes team has to decide how to comply with debian’s “merge /usr” dogma, otherwise we can not upgrade.