Traceback (most recent call last): File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeView.py", line 217, in run res = pm.do_install(self.writefd) SystemError: E:Internal error, packages left unconfigured. ubuntu-desktop:amd64 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 92, in controller.doPartialUpgrade() File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1845, in doPartialUpgrade if not self.doDistUpgrade(): File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1136, in doDistUpgrade res = self.cache.commit(fprogress,iprogress) File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeCache.py", line 264, in commit apt.Cache.commit(self, fprogress, iprogress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 501, in commit res = self.install_archives(pm, install_progress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 465, in install_archives res = install_progress.run(pm) File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeView.py", line 222, in run os._exit(pm.ResultFailed) AttributeError: 'apt_pkg.PackageManager' object has no attribute 'ResultFailed'