When I try to upgrade ubuntu 17 to 18 with this command
update-manager -c
It gives me a window of software updater and says 406.7MB will be downloaded.
When I run this command
/usr/lib/ubuntu-release-upgrader/check-new-release-gtk
It first shows that a new version is available but when I click on upgrade it shows this error before asking me to authenticate
/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)
Any help will be highly appreciated as I am always looking forward to expand my working knowledge of linux
check-new-release-gtk
is most likely not intended for direct CLI usage. – Melebius Jun 25 '18 at 07:39