Incus just deleted itself during upgrade!

I just ran upgrade on my debian 12:

marduk pts/2#apt update
Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:2 http://deb.debian.org/debian bookworm-backports InRelease [56.5 kB]
Hit:3 http://mirror.mephi.ru/debian bookworm InRelease
Get:4 http://mirror.mephi.ru/debian bookworm-updates InRelease [55.4 kB]
Hit:5 http://deb.debian.org/debian bullseye InRelease
Get:6 https://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Hit:7 https://dl.google.com/linux/chrome/deb stable InRelease
Get:8 http://download.opensuse.org/repositories/home:/smplayerdev/Debian_12  InRelease [1,514 B]
Get:9 http://security.debian.org/debian-security bookworm-security/main Sources [91.6 kB]
Get:10 http://apt.fruit.je/debian bookworm InRelease [207 kB]
Get:11 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
Hit:12 https://repo.skype.com/deb stable InRelease
Hit:13 https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64  InRelease
Hit:14 https://download.docker.com/linux/debian bookworm InRelease
Hit:15 https://packages.microsoft.com/repos/code stable InRelease
Hit:16 https://deb.opera.com/opera-stable stable InRelease
Get:17 http://deb.debian.org/debian bookworm-backports/main amd64 Packages.diff/Index [63.3 kB]
Get:18 http://deb.debian.org/debian bookworm-backports/main Translation-en.diff/Index [63.3 kB]
Get:19 http://deb.debian.org/debian bookworm-backports/main amd64 Contents (deb).diff/Index [63.4 kB]
Get:20 http://deb.debian.org/debian bookworm-backports/main all Contents (deb).diff/Index [63.6 kB]
Hit:21 https://apt.syncthing.net syncthing InRelease
Get:22 http://deb.debian.org/debian bookworm-backports/main amd64 Packages T-2024-05-02-0205.34-F-2024-05-01-0805.42.pdiff [3,847 B]
Get:23 http://deb.debian.org/debian bookworm-backports/main Translation-en T-2024-05-01-1413.56-F-2024-05-01-1413.56.pdiff [133 B]
Get:24 http://deb.debian.org/debian bookworm-backports/main amd64 Contents (deb) T-2024-05-01-1413.56-F-2024-05-01-1413.56.pdiff [401 B]
Get:22 http://deb.debian.org/debian bookworm-backports/main amd64 Packages T-2024-05-02-0205.34-F-2024-05-01-0805.42.pdiff [3,847 B]
Get:24 http://deb.debian.org/debian bookworm-backports/main amd64 Contents (deb) T-2024-05-01-1413.56-F-2024-05-01-1413.56.pdiff [401 B]
Get:23 http://deb.debian.org/debian bookworm-backports/main Translation-en T-2024-05-01-1413.56-F-2024-05-01-1413.56.pdiff [133 B]
Get:25 http://deb.debian.org/debian bookworm-backports/main all Contents (deb) T-2024-05-01-1413.56-F-2024-05-01-0805.42.pdiff [865 B]
Get:25 http://deb.debian.org/debian bookworm-backports/main all Contents (deb) T-2024-05-01-1413.56-F-2024-05-01-0805.42.pdiff [865 B]
Fetched 929 kB in 2s (579 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
marduk pts/2#apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  attr incus-client libnet1 squashfs-tools xdelta3
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  incus incus-base
The following packages will be upgraded:
  incus-client
1 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 4,608 kB of archives.
After this operation, 300 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm-backports/main amd64 incus-client amd64 6.0.0-1~bpo12+1 [4,608 kB]
Fetched 4,608 kB in 1s (8,806 kB/s)
Reading changelogs... Done
(Reading database ... 337886 files and directories currently installed.)
Removing incus (0.6-202403181631-debian12) ...
Removing incus-base (0.6-202403181631-debian12) ...
Removed "/etc/systemd/system/incus-startup.service".
Removed "/etc/systemd/system/multi-user.target.wants/incus-startup.service".
Removed "/etc/systemd/system/incus-user.socket".
Removed "/etc/systemd/system/sockets.target.wants/incus-user.socket".
Removed "/etc/systemd/system/incus.socket".
Removed "/etc/systemd/system/sockets.target.wants/incus.socket".
Removed "/etc/systemd/system/multi-user.target.wants/incus-lxcfs.service".
Removed "/etc/systemd/system/incus-lxcfs.service".
(Reading database ... 336221 files and directories currently installed.)
Preparing to unpack .../incus-client_6.0.0-1~bpo12+1_amd64.deb ...
Unpacking incus-client (6.0.0-1~bpo12+1) over (0.6-202403181631-debian12) ...
Setting up incus-client (6.0.0-1~bpo12+1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u6) ...
marduk pts/2#rehash
marduk pts/2#incus list
Error: The incus daemon doesn't appear to be started (socket path: /var/lib/incus/unix.socket)

Why???

marduk pts/2#cat zabbly-incus-stable.sources
Enabled: no
Types: deb
URIs: https://pkgs.zabbly.com/incus/stable
Suites: bookworm
Components: main
Architectures: amd64
Signed-By: /etc/apt/keyrings/zabbly.asc
marduk pts/2#apt install incus
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package incus-base is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'incus-base' has no installation candidate
marduk pts/2#apt install incus                                                                                 [/etc/apt/sources.list.d 10:36 Thu 2]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcowsql0 : Depends: libraft0 (>= 0.20) but 0.9.25-1+b1 is to be installed
E: Unable to correct problems, you have held broken packages.

I have no idea where to get required libraft0…

Fixed that by installing libraft0 from backports. but sudden removal of everything is scary.

Just to be clear: you had at some point added the zabbly repo, but later disabled it? Were you in the process of downgrading?

The zabbly package has no dependency on libcowsql0 or libraft0.

Hmm, strange. I did not disable it manually…

Enabled the repo and it upgraded normally to 6.0.0