In my case, this is what worked: sudo dpkg -r python-numpy python-gtk2 python-collada zenmap (Reading database ... 1421314 files and directories currently installed.) Removing python-collada (0.4-3) ... Removing zenmap (7.70+dfsg1-6+deb10u2) ... Removing python-gtk2 (2.24.0-5.1+b1) ... Removing python-numpy (1:1.16.2-1) ... Processing triggers for doc-base (0.11.1) ... Processing 2 removed doc-base files, 1 added doc-base file... Registering documents with dwww... Processing triggers for man-db (2.9.4-2) ... Processing triggers for gnome-menus (3.36.0-1) ... Processing triggers for desktop-file-utils (0.26-1) ... Processing triggers for mailcap (3.69) ...
Not doing the 4 at the same time would make dpkg complain about dependencies.

