当我尝试使用此命令将 ubuntu 17 升级到 18 时,
update-manager -c
它弹出一个软件更新程序窗口,提示将下载 406.7MB。当我运行此命令时
/usr/lib/ubuntu-release-upgrader/check-new-release-gtk
它首先显示有新版本可用,但当我单击升级时,它会在要求我进行身份验证之前显示此错误
/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
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable 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)
任何帮助都将不胜感激,因为我一直希望扩展我的 Linux 工作知识