I can't upgrade to Ubuntu 18.04 from 17.10. When I run sudo update-manager -d
it shows an error:
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
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
(update-manager:2584): Gtk-WARNING **: cannot open display: :0
Before that, sudo update-manager -d
found the release and was about to start the upgrading process but I cancelled it. And now it's showing that error.
And also, now when I update packages, the PPA sources are Bionic which is from 18.04, not 17.10:
Get:9 http://archive.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]
As a consequence, after running apt upgrade
, there are tons of packages to be upgraded which will take 1260 MB.
I know I've messed up everything. How can I upgrade to Ubuntu 18.04 in this case? Or can I just upgrade to 18.04 via dist-upgrade
?