Я пытаюсь обновить сервер Ubuntu с 16.04 до 18.04, используя do-release-upgrade
но он сразу выдает ошибку:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-074vyz42/bionic", line 8, in
<module>
sys.exit(main())
File
"/tmp/ubuntu-release-upgrader-074vyz42/DistUpgrade/DistUpgradeMain.py",
line 238, in main
if app.run():
File
"/tmp/ubuntu-release-upgrader-074vyz42/DistUpgrade/DistUpgradeController.py",
line 2053, in run
return self.fullUpgrade()
File
"/tmp/ubuntu-release-upgrader-074vyz42/DistUpgrade/DistUpgradeController.py",
line 1936, in fullUpgrade
if not self.cache.anyVersionDownloadable(self.cache[pkg]):
File "/usr/lib/python3/dist-packages/apt/cache.py", line 233, in
__getitem__
raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'ubuntu-minimal'"
Похоже, эта ошибка, но отчет об ошибке за несколько месяцев назад и не было никакого внимания. https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1795207
ubuntu-minimal не является ни удаленной, ни доступной:
root@tooticky:~# apt install ubuntu-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ubuntu-minimal