Comment 0 for bug 1285545

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

If apport-bug is not installed on the system and an error occurs during upgrade, ubuntu-release-upgrader fails with:

Fetched 1,144 kB in 0s (0 B/s)
authenticate 'trusty.tar.gz' against 'trusty.tar.gz.gpg'
extracting 'trusty.tar.gz'
Traceback (most recent call last):
  File "/tmp/update-manager-HZc0r1/trusty", line 10, in <module>
    sys.exit(main())
  File "/tmp/update-manager-HZc0r1/DistUpgrade/DistUpgradeMain.py", line 243, in main
    if app.run():
  File "/tmp/update-manager-HZc0r1/DistUpgrade/DistUpgradeController.py", line 1791, in run
    return self.fullUpgrade()
  File "/tmp/update-manager-HZc0r1/DistUpgrade/DistUpgradeController.py", line 1738, in fullUpgrade
    subprocess.Popen(["apport-bug", "ubuntu-release-upgrader-core"])
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

It should fail more gracefully and revert to the original state.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.210
ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Thu Feb 27 09:05:37 2014
InstallationDate: Installed on 2013-09-03 (176 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)