[Bug 1499847] Re: system upgrade freezes when package upgrade fails
Christian Kirbach
1499847 at bugs.launchpad.net
Sat Sep 26 17:29:15 UTC 2015
I know that a separate bug is open for the failing package.
This is about a different issue: upgrade-manager just froze with above python stack trace. The exception of a failing package upgrade should be handled. I admit that it should not happen.
** This bug is no longer a duplicate of bug 1481798
package:modemmanager:1.4.10-1:subprocess installed post-installation script returned error exit status 100
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1499847
Title:
system upgrade freezes when package upgrade fails
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
I tried to upgrade from 15.04 to 15.10beta2 using "update-manager -c
-d"
package "modemmanager" fails to update, and that in turn makes update-
manager get stuck in the "update" phase indicated in the GUI.
Console log:
# update-manager -c -d
Neue Veröffentlichungen von Ubuntu werden gesucht
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
»wily.tar.gz« wird gegenüber »wily.tar.gz.gpg« legitimiert
»wily.tar.gz« wird entpackt
No candidate ver: libharfbuzz0:i386
No candidate ver: librtmp0
No candidate ver: gwibber
No candidate ver: libharfbuzz0:i386
No candidate ver: libllvm3.5:i386
No candidate ver: librtmp0
No candidate ver: linux-image-extra-3.19.0-16-generic
No candidate ver: linux-image-extra-3.19.0-18-generic
Traceback (most recent call last):
File "/usr/share/apport/package_hook", line 64, in <module>
with apport.fileutils.make_report_file(pr) as f:
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 290, in make_report_file
return open(path, 'xb')
FileExistsError: [Errno 17] File exists: '/var/crash/modemmanager.0.crash'
/usr/bin/diff: /etc/ati/amdpcsdb.default.dpkg-dist: Datei oder Verzeichnis nicht gefunden
/usr/bin/diff: /etc/ati/atiapfxx.blb.dpkg-dist: Datei oder Verzeichnis nicht gefunden
/usr/bin/diff: /etc/ati/atiapfxx.log.dpkg-dist: Datei oder Verzeichnis nicht gefunden
/usr/bin/diff: /etc/ati/control.dpkg-dist: Datei oder Verzeichnis nicht gefunden
Traceback (most recent call last):
File "/usr/share/apport/package_hook", line 64, in <module>
with apport.fileutils.make_report_file(pr) as f:
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 290, in make_report_file
return open(path, 'xb')
FileExistsError: [Errno 17] File exists: '/var/crash/modemmanager.0.crash'
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-ri1q4m20/DistUpgrade/DistUpgradeController.py", line 1137, in doDistUpgrade
res = self.cache.commit(fprogress,iprogress)
File "/tmp/ubuntu-release-upgrader-ri1q4m20/DistUpgrade/DistUpgradeCache.py", line 267, in commit
apt.Cache.commit(self, fprogress, iprogress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 505, in commit
if fetch_progress is None:
SystemError: installArchives() failed
During handling of the above exception, another exception occurred:
TypeError: wait_for_child() takes 1 positional argument but 2 were given
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-ri1q4m20/DistUpgrade/DistUpgradeController.py", line 1137, in doDistUpgrade
res = self.cache.commit(fprogress,iprogress)
File "/tmp/ubuntu-release-upgrader-ri1q4m20/DistUpgrade/DistUpgradeCache.py", line 267, in commit
apt.Cache.commit(self, fprogress, iprogress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 505, in commit
if fetch_progress is None:
SystemError: installArchives() failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 102, in apport_excepthook
pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
File "/usr/lib/python3/dist-packages/apport/report.py", line 535, in add_proc_info
raise ValueError('%s does not exist' % self['ExecutablePath'])
ValueError: /usr/bin/python3.4 (deleted) does not exist
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-ri1q4m20/DistUpgrade/DistUpgradeController.py", line 1137, in doDistUpgrade
res = self.cache.commit(fprogress,iprogress)
File "/tmp/ubuntu-release-upgrader-ri1q4m20/DistUpgrade/DistUpgradeCache.py", line 267, in commit
apt.Cache.commit(self, fprogress, iprogress)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 505, in commit
if fetch_progress is None:
SystemError: installArchives() failed
During handling of the above exception, another exception occurred:
TypeError: wait_for_child() takes 1 positional argument but 2 were
given
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: ubuntu-release-upgrader-core 1:15.10.6
ProcVersionSignature: Ubuntu 3.19.0-28.30-generic 3.19.8-ckt5
Uname: Linux 3.19.0-28-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.19-0ubuntu1
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: GNOME
Date: Fri Sep 25 20:43:32 2015
InstallationDate: Installed on 2013-01-08 (990 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
JournalErrors:
No journal files were found.
-- No entries --
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to wily on 2015-09-25 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 126: Error executing command as another user: Request dismissed
VarLogDistupgradeApttermlog: Error: [Errno 13] Keine Berechtigung: '/var/log/dist-upgrade/apt-term.log'
VarLogDistupgradeTermlog:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1499847/+subscriptions
More information about the foundations-bugs
mailing list