do-release-upgrade without X11

Bug #1034409 reported by Xavier Bertou
44
This bug affects 10 people
Affects Status Importance Assigned to Milestone
update-manager-core (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

when one has no X11 and does a do-release-upgrade via ssh without X11 forwarding, something keeps complaining about "X11 connection rejected because of wrong authentication". While this is not such an issue, it fills the screen and makes answering the few questions asked during the upgrade problematic.
I'd suggest adding a 2> /dev/null to the application looking for X11 connection.
This was using do-release-upgrade on 11.10 to upgrade to 12.04.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1034409/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Xavier Bertou (bertou-v)
affects: ubuntu → update-manager-core (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager-core (Ubuntu):
status: New → Confirmed
Revision history for this message
Xavier Bertou (bertou-v) wrote :

We are in 2016, I've updated my ubuntu servers to 16.04, and there is still this issue. Does nobody ever run a do-release-upgrade after an ssh and an su? Just redirecting X-11 errors to /dev/null solves the issue. Come on, I know you can do that before the "Z" release...

Revision history for this message
Giovanni Pelosi (hute37-gmail) wrote :

It is 2023 and ssh (x11 forward on in config) tmux and sudo -i before do-release-upgrade
still fills the log with `X11 connection rejected because of wrong authentication` errors.

`stderr` redirection (`2>/dev/null`) obviously is *not* an option.

Better do not trash message like this: `No space left on device` during an upgrade

User prompt appears in "curses" dialog. OK

Revision history for this message
Mikael Hjelm (j-m-hjelm) wrote :

This is a real issue since the spam of "X11 connection rejected because of wrong authentication". might hide a user input request and since the console buffer is full one might not go back to see what the required input was. For me the install had hung on a firefox and snap question which i did not notice.
It is not always safe to press enter either since that may be a bad choice.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.