Utopic -> Vivid upgrade displays failure warning
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ubuntu-release-upgrader (Ubuntu) |
High
|
Brian Murray | ||
| | Vivid |
High
|
Brian Murray | ||
Bug Description
Just testing Ubuntu GNOME Utopic -> Vivid release upgrades and towards the end of the upgrade a failure warning is displayed:
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).
The terminal displays this:
lance@lance-
Checking for a new Ubuntu release
authenticate 'vivid.tar.gz' against 'vivid.tar.gz.gpg'
extracting 'vivid.tar.gz'
Traceback (most recent call last):
File "/tmp/ubuntu-
res = self.cache.
File "/tmp/ubuntu-
apt.
File "/usr/lib/
raise SystemError(
SystemError: installArchives() failed
During handling of the above exception, another exception occurred:
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 "/tmp/ubuntu-
(success, pid) = self.term.
AttributeError: 'Terminal' object has no attribute 'spawn_sync'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr.
File "/usr/lib/
raise ValueError('%s does not exist' % self['Executabl
ValueError: /usr/bin/
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-
res = self.cache.
File "/tmp/ubuntu-
apt.
File "/usr/lib/
raise SystemError(
SystemError: installArchives() failed
During handling of the above exception, another exception occurred:
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 "/tmp/ubuntu-
(success, pid) = self.term.
AttributeError: 'Terminal' object has no attribute 'spawn_sync'
Upon reboot I notice that I am running the Vivid kernel but apparently some packages had failed to configure:
lance@lance-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libts-0.0-0 linux-headers-
linux-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up bash (4.3-11ubuntu2) ...
Installing new version of config file /etc/bash.bashrc ...
update-
Setting up bash-completion (1:2.1-4ubuntu1) ...
Setting up gdm (3.14.1-0ubuntu1) ...
Installing new version of config file /etc/gdm/Xsession ...
Installing new version of config file /etc/init.d/gdm ...
Installing new version of config file /etc/init/gdm.conf ...
Setting up ubuntu-
Processing triggers for ureadahead (0.100.0-17) ...
ureadahead will be reprofiled on next reboot
Now it's time to reboot again. I'm sure you'll need more info but I can't think what else to add right now.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.18.0-9-generic i686
ApportVersion: 2.15.1-0ubuntu2
Architecture: i386
CrashDB: ubuntu
CurrentDesktop: GNOME
Date: Wed Jan 21 09:30:34 2015
InstallationDate: Installed on 2014-10-22 (90 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Release i386 (20141022.1)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: Upgraded to vivid on 2015-01-21 (0 days ago)
VarLogDistupgra
| Erick Brunzell (lbsolost) wrote : | #1 |
| Brian Murray (brian-murray) wrote : | #3 |
This seems to be the root of the problem:
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
dpkg: dependency problems prevent processing triggers for plymouth-
plymouth-
Package plymouth is not configured yet.
dpkg: error processing package plymouth-
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for plymouth-
plymouth-
Package plymouth is not configured yet.
| tags: | added: rls-v-incoming |
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| importance: | Undecided → High |
| Erick Brunzell (lbsolost) wrote : | #4 |
Hi Brian,
I got busy and forgot to add a comment about follow up testing. About 20 hours after this initial test on i386 I performed a second test on the same hardware but with an amd64 OS and I got no such failure warning. So I just happened to think, is it possible that this could be arch specific?
This just happened to me on the amd64 architecture.
One package failed to upgrade (the package whoopsie).
This is the current python trace:
root@rivendell:
Neue Veröffentlichungen von Ubuntu werden gesucht
»vivid.tar.gz« wird gegenüber »vivid.tar.gz.gpg« legitimiert
»vivid.tar.gz« wird entpackt
No candidate ver: libharfbuzz0:i386
No candidate ver: librtmp0
No candidate ver: libharfbuzz0:i386
No candidate ver: librtmp0
No candidate ver: linux-image-
No candidate ver: linux-image-
Traceback (most recent call last):
File "/tmp/ubuntu-
res = self.cache.
File "/tmp/ubuntu-
apt.
File "/usr/lib/
raise SystemError(
SystemError: installArchives() failed
During handling of the above exception, another exception occurred:
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 "/tmp/ubuntu-
(success, pid) = self.term.
AttributeError: 'Terminal' object has no attribute 'spawn_sync'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr.
File "/usr/lib/
raise ValueError('%s does not exist' % self['Executabl
ValueError: /usr/bin/python3.4 (deleted) does not exist
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-
res = self.cache.
File "/tmp/ubuntu-
apt.
File "/usr/lib/
raise SystemError(
SystemError: installArchives() failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
| Launchpad Janitor (janitor) wrote : | #6 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in ubuntu-release-upgrader (Ubuntu): | |
| status: | New → Confirmed |
| Erick Brunzell (lbsolost) wrote : | #7 |
I performed an Ubuntu GNOME amd64 Utopic -> Vivid upgrade test last night (20150222) and it worked flawlessly - no error warning at all. No doubt it was entirely different hardware (first UEFI capable mobo):
| Brian Murray (brian-murray) wrote : | #8 |
This particular part of the Traceback seems worth fixing:
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
(success, pid) = self.term.
AttributeError: 'Terminal' object has no attribute 'spawn_sync'
| Brian Murray (brian-murray) wrote : | #9 |
Having said that this is the only incident of this crash I can find. I checked other u-r-u bugs and the Error Tracker.
| Erick Brunzell (lbsolost) wrote : | #10 |
I just performed both i386 and amd64 Utopic -> Vivid release upgrades for Ubuntu GNOME Vivid Beta 1 testing without any problem whatsoever. Could this have been a fluke? Maybe something transitional when we were preparing for Alpha 2?
I think it would be safe to consider it fixed since I've not been able to reproduce it.
| tags: | removed: rls-v-incoming |
| Brian Murray (brian-murray) wrote : | #11 |
I think I was able to recreate this:
$ ipython
Python 2.7.9 (default, Mar 9 2015, 23:17:55)
Type "copyright", "credits" or "license" for more information.
IPython 2.3.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import gi
In [2]: gi.require_
In [3]: from gi.repository import Vte
In [4]: term = Vte.Terminal.new()
In [5]: term.spawn_sync()
-------
AttributeError Traceback (most recent call last)
<ipython-
----> 1 term.spawn_sync()
AttributeError: 'Terminal' object has no attribute 'spawn_sync'
| Brian Murray (brian-murray) wrote : | #12 |
In Vte 2.90 it was called fork_command_full and took one less argument than spawn_sync. :-(
| Changed in ubuntu-release-upgrader (Ubuntu Vivid): | |
| status: | Confirmed → In Progress |
| assignee: | nobody → Brian Murray (brian-murray) |
| Brian Murray (brian-murray) wrote : | #13 |
This can also be observed in /var/log/
VarLogDistupgra
| Launchpad Janitor (janitor) wrote : | #14 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
* add more compatibility for vte 2.90 (and we need to keep that until
16.04) (LP: #1413270)
-- Brian Murray <email address hidden> Wed, 25 Mar 2015 14:38:46 -0700
| Changed in ubuntu-release-upgrader (Ubuntu Vivid): | |
| status: | In Progress → Fix Released |


This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/1413270
http://