[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Opinion = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
I am unable to find any instances of this crash on the Error Tracker any more so I am marking this as Fix Released. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Incomplete = Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
The errors listed in comment #6 aren't accessible at this point in time due to the migration of errors.ubuntu.com, however looking at e.u.c for new instances of this issue I don't see any so it may be fixed. Then again there probably aren't a lot of distribution upgrades happening at this point in time, so let's wait a bit longer to close this one out. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
AFAICT, check-new-release-gtk does not and never did accept a -q option. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
My mistake I really meant check-new-release -q, and check-new-release is a symlink to do-release-upgrade. It may be worth looking at release- upgrade-motd which calls check-new-release -q. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
After discussion on IRC and some additional investigations, it seems like what's happening is that stderr is being closed at some point during the update-motd process. If stderr is closed, then lsb_release can exit with a non-zero status, and this will cause check-new-release to try to write to stderr, which will cause the IOError if it's closed. It's not entirely clear to us why or how stderr can get closed, and no one here has been able to reproduce the problem. However, we have a possible workaround. If you are having the problem, please try the attached patch and see if that fixes the bug. If so, we'll get this into saucy and SRU it into stable releases. Note this is only a workaround, but after discussion with Colin, and in the absence of a reproducer or more information, it's probably still reasonable to apply this. You may need to apply this diff to /etc /update-motd.d/91-release-upgrade ** Patch added: motd.diff https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+attachment/3696615/+files/motd.diff ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Triaged = Incomplete ** Changed in: ubuntu-release-upgrader (Ubuntu) Assignee: (unassigned) = Barry Warsaw (barry) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
Marking as incomplete so that we can get more information from someone who is affected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
Okay, so the patch in #10 is just papering over the problem. After further discussions, we think there's a possibility that LP: #1094218 could be related, although we have no direct evidence of this. For the sake of argument, let's say it is. If the IOError with error code 10 that is displayed in that bug occurs in this case, then that would explain lsb_release exiting with a non-zero status, potentially providing us with the root cause. We still don't have an explanation for why stderr would be closed in update-motd, but if we can prevent lsb_release from exiting non-zero, then check-new-release won't try to write to stderr. Anyway, a fix for LP: #1094218 has been uploaded to precise-proposed so let's cross our fingers and see what happens. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
This still seems possible with the code in raring. ** Package changed: update-manager (Ubuntu) = ubuntu-release-upgrader (Ubuntu) ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
I believe this crash could happen because init_proxy from from UpdateManager.Core.utils import prints to sys.stderr which may not be available depending on how check-new-release-gtk is called. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
The same thing seems to happen in get_dist when it writes to sys.stderr and if check-new-release-gtk is called with -q. You can see some crashes about this at: https://errors.ubuntu.com/bucket/?id=/usr/bin/do-release-upgrade%3AIOError%3A%3Cmodule%3E%3A__init__%3Aget_dist https://errors.ubuntu.com/problem/2df096bdb247ddda764df92e21b99d920fa1c2df -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
I wonder if a similar problem could be causing this error: https://errors.ubuntu.com/problem/2ee37f473307472828bd2bc1b7fe749a69d3bc86 where we are getting an IOError when trying to print. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
Hi, this bug report is a bit old but as there is no answer yet, I'll describe my own experience with it. I had a similar error after login on a fresh install of precise desktop. Launching do-release-upgrade on command line reported an invalid proxy error. I found out that I had an invalid proxy declaration in /etc/apt/apt.conf. So, correcting the Acquire::http::proxy line with the valid proxy address was the solution for me. Best regards -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: update-manager (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
** Changed in: update-manager (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982082 Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/982082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs