I found out I cannot update multiple packages any more. That was disappointing considering I chose the LTS version to avoid this issue.
The system in question is one that I only seldom use, and when I do I use remote desktop or SSH terminal. The problem is the recommended way to upgrade to Linux Mint 21 is to use a GUI tool called mintupgrade:
sudo apt install mintupgrade
sudo mintupgrade
This will throw an error when connected via remote desktop, presumably because it needs a real hardware screen:
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused
(mintupgrade.py:4622): Gtk-WARNING **: 00:12:10.928: cannot open display: :10.0
Running it in an SSH session produces a similar error:
(mintupgrade.py:5106): Gtk-WARNING **: 00:20:59.670: cannot open display:
So, is there a way to do this via the command line, or do I have to move some monitor or a TV to the computer just to do the upgrade?
sudo mintupgrade checkyield the same errors?gparted- if that fails, then it's not a problem withmintupgrade. You can also try runningxhost +, thenmintupgrade, just to see if allowing all X access works.