root@kali:~# sudo apt-get update
Hit:1
http://old.kali.org/kali moto InRelease
Traceback (most recent call last):
File "/usr/bin/debtags", line 700, in <module>
main()
File "/usr/bin/debtags", line 694, in main
sys.exit(action.main(args))
File "/usr/bin/debtags", line 632, in main
for pkg, tags in self.tags_from_apt():
File "/usr/bin/debtags", line 256, in tags_from_apt
cache = self.apt_cache
File "/usr/bin/debtags", line 241, in apt_cache
res = self._apt_cache = apt.Cache()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 166, in __init__
self.open(progress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 227, in open
self._depcache = apt_pkg.DepCache(self._cache)
apt_pkg.Error: E:The package libqt4-xmlpatterns needs to be reinstalled, but I can't find an archive for it.
Reading package lists... Done