The problem was that I had the deadsnakes PPA, which added extra versions of the python3.9 packages, which were incompatible with other packages that required the stock python3.9 packages.
Upgrading libpython3.9 removes 231 packages
The problem was that I had the deadsnakes PPA, which added extra versions of the python3.9 packages, which were incompatible with other packages that required the stock python3.9 packages.