kali或者Ubuntu下,apt update出现No module named 'debian’错误:
Traceback (most recent call last):
File "/usr/bin/debtags", line 32, in <module>
from debian import deb822
ModuleNotFoundError: No module named 'debian'
在网上查找到这几种方法:
sudo apt-get remove update-notifier-common flashplugin-installer
sudo apt-get --reinstall install python3-debian
我只适用了第二种方法便解决了问题
参考文章:
https://askubuntu.com/questions/246970/apt-get-broken-no-module-named-debian-deb822
https://askubuntu.com/questions/812375/importerror-no-module-named-debian-deb822
https://stackoverflow.com/questions/64915912/python-package-six-brakes-apt-commands