it looks like a corrupt install. I found a backup folder:
-rw-r--r-- 1 root root 71680 Jul 13 00:00 alternatives.tar.0
-rw-r--r-- 1 root root 4225 Jan 27 00:00 alternatives.tar.1.gz
-rw-r--r-- 1 root root 4220 Dec 8 2023 alternatives.tar.2.gz
-rw-r--r-- 1 root root 91193 May 26 10:47 apt.extended_states.0
-rw-r--r-- 1 root root 10110 Jan 26 10:33 apt.extended_states.1.gz
-rw-r--r-- 1 root root 10092 Dec 7 2023 apt.extended_states.2.gz
-rw-r--r-- 1 root root 0 Jul 13 00:00 dpkg.arch.0
-rw-r--r-- 1 root root 32 Jan 27 00:00 dpkg.arch.1.gz
-rw-r--r-- 1 root root 32 Dec 8 2023 dpkg.arch.2.gz
-rw-r--r-- 1 root root 237 Dec 7 2023 dpkg.diversions.0
-rw-r--r-- 1 root root 147 Dec 7 2023 dpkg.diversions.1.gz
-rw-r--r-- 1 root root 147 Dec 7 2023 dpkg.diversions.2.gz
-rw-r--r-- 1 root root 209 Dec 7 2023 dpkg.statoverride.0
-rw-r--r-- 1 root root 171 Dec 7 2023 dpkg.statoverride.1.gz
-rw-r--r-- 1 root root 171 Dec 7 2023 dpkg.statoverride.2.gz
-rw-r--r-- 1 root root 1629830 May 26 10:57 dpkg.status.0
-rw-r--r-- 1 root root 393172 Jan 26 10:35 dpkg.status.1.gz
-rw-r--r-- 1 root root 393111 Dec 7 2023 dpkg.status.2.gz
but I honestly have no idea what to do with it.