File "/usr/lib/update-notifier/package-data-downloader", line 24, in <module>
import debian.deb822
ModuleNotFoundError: No module named 'debian'
The update-notifier-common package depends on python3-debian. The fact that this is not found on your system means that you have broken your system's python installation and /usr/bin/python3 is no longer able to find the debian python module that's installed.
You will need to fix your python install to continue your upgrade. 'sudo apt install --reinstall python3.9-minimal python3' may help you with this.
The error in your log is:
File "/usr/lib/ update- notifier/ package- data-downloader ", line 24, in <module> rror: No module named 'debian'
import debian.deb822
ModuleNotFoundE
The update- notifier- common package depends on python3-debian. The fact that this is not found on your system means that you have broken your system's python installation and /usr/bin/python3 is no longer able to find the debian python module that's installed.
You will need to fix your python install to continue your upgrade. 'sudo apt install --reinstall python3.9-minimal python3' may help you with this.