I’ve got a juju manual cloud unit that runs some LXD containers, it also runs some manually provisioned LXD containers.
It runs them via the snap and has done just fine for a few months.
At some point recently LXD has started reporting
Error: Both native and snap packages are installed on this system Run "lxd.migrate" to complete your migration to the snap package
The problem is juju or something seems to keep reinstalling the deb version. So I run lxd.migrate and tell it not to remove the old stack, this message keeps popping up, even though I have no contaners running in it. If I remove the old LXC, the migrate process seems to brick my lxdbr0 and nothing works there.
A reboot fixes the lxdbr0 but I can’t login to any of my containers so some services don’t start yet I don’t have access to them… so for example my websites are currently mostly offline… sad times.
Can I trick it out somehow to make it think LXC/LXD debs aren’t installed?