No se puede actualizar de 17.10 a 18.04

No se puede actualizar de 17.10 a 18.04

Cuando ejecuto el comando para actualizar a Ubuntu 18.04

/usr/lib/ubuntu-release-upgrader/check-new-release-gtk

Obtuve el siguiente error :

/usr/lib/ubuntu-release-upgrader/check-new-release-gtk:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
Checking for a new Ubuntu release
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk
Segmentation fault (core dumped)

No puedo entender cómo resolver el error anterior.

Respuesta1

Puede actualizar 18.04siguiendoesteartículo o simplemente sigue mi respuesta. Copié solo las partes necesarias del artículo vinculado anteriormente, para que sea un poco más fácil.
Aquí vamos;

Primero ejecute estos comandos, para que Ubuntu esté completamente actualizado. Esto facilita la actualización 18.04.

$ sudo apt update 
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo apt autoremove

Entonces podemos comenzar la actualización. Usando los siguientes comandos;

$ sudo apt install update-manager-core
$ sudo do-release-upgrade -d

Deberías ver que la actualización ya comienza. Para más información echa un vistazo al artículo.

fuente:https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver

información relacionada