Обновление Ubuntu 19.10 до 20.04 (пожалуйста, установите все доступные обновления для вашего выпуска перед обновлением.)

Я пытаюсь обновить свою версию 19.10 до 20.04. «Обновление программного обеспечения» говорит:

Программное обеспечение на этом компьютере обновлено.

Тем не менее, Ubuntu 20.04 LTS теперь доступна (у вас есть 19.10)

Но когда я нажимаю «Обновить ... Кнопка ничего не происходит. Я попытался сделать это в командной строке, и это также не работает Ubuntu:

Вот снимок того, что я сделал в командной строке

0
задан 13 June 2020 в 08:47

1 ответ

You are not fully upgraded. To fix that held-back package, you can try these methods: First, run the command

sudo apt-get --with-new-pkgs upgrade

And it should install the held-back packages. It is safe, and usually does the trick. If that doesn't work, see the list of held packages with:

sudo apt-mark showhold

And then you can unhold that package with:

sudo apt-mark unhold <package-name>

And then install:

sudo apt-get install -y <package>

Another way is to use aptitude. The command to use would be:

sudo aptitude safe-upgrade

safe-upgrade because it won't remove packages unless they're unused.

You can also run the dist-upgrade, which will force-install packages and dependencies, but be careful with that. Sometimes it may remove packages to resolve dependency problems, which could make things even worse. So please, try the methods above before resorting to dist-upgrade.

Best of luck!

0
ответ дан 19 June 2020 в 21:25

Другие вопросы по тегам:

Похожие вопросы: