does not recover from crash in apt's http method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I just noticed that do-release-upgrade did not properly handle a failure of the http method:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
if app.run():
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.doDistUpgr
File "/tmp/ubuntu-
self.
File "/usr/lib/
return self._run_
File "/usr/lib/
res = fetcher.run()
apt_pkg.Error: E:Method http has died unexpectedly!, E:Sub-process http received a segmentation fault.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
self.write(f)
File "/usr/lib/
block = f.read(1048576)
File "/usr/lib/
(result, consumed) = self._buffer_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
if app.run():
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.doDistUpgr
File "/tmp/ubuntu-
self.
File "/usr/lib/
return self._run_
File "/usr/lib/
res = fetcher.run()
apt_pkg.Error: E:Method http has died unexpectedly!, E:Sub-process http received a segmentation fault.
It now leaves me stuck:
# do-release-upgrade -d
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.