J'essaie de mettre à jour mon ubuntu 18.04, mais lorsque j'essaie d'exécuter la commande sudo do-release-upgrade
J'obtiens l'erreur suivante :
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1.554 B]
Get:2 Upgrade tool [1.210 kB]
Fetched 1.212 kB in 0s (0 B/s)
authenticate 'disco.tar.gz' against 'disco.tar.gz.gpg'
extracting 'disco.tar.gz'
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-qvik6xoe/disco", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-qvik6xoe/DistUpgrade/DistUpgradeMain.py", line 224, in main
from .DistUpgradeController import DistUpgradeController
File "/tmp/ubuntu-release-upgrader-qvik6xoe/DistUpgrade/DistUpgradeController.py", line 25, in <module>
import distro_info
ModuleNotFoundError: No module named 'distro_info'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 497, in add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 450, in write
block = f.read(1048576)
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-qvik6xoe/disco", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-qvik6xoe/DistUpgrade/DistUpgradeMain.py", line 224, in main
from .DistUpgradeController import DistUpgradeController
File "/tmp/ubuntu-release-upgrader-qvik6xoe/DistUpgrade/DistUpgradeController.py", line 25, in <module>
import distro_info
ModuleNotFoundError: No module named 'distro_info'
J'ai essayé d'installer python3-distro-info (qui était déjà installé et à jour) et Python-distro-info, que j'ai installé mais qui n'a rien changé.
Que dois-je faire pour réussir la mise à jour ?