From your logs, I see this:
apt remove --purge python3.*
I'm sorry, but that will break your system.
** Changed in: python3-defaults (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2106724
Title:
package python3 3.10.6-1~22.04.1 failed to install/upgrade: installed
python3 package pre-removal script subprocess returned error exit
status 127
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2106724/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs