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)
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) manager- HZc0r1/ trusty" , line 10, in <module> exit(main( )) manager- HZc0r1/ DistUpgrade/ DistUpgradeMain .py", line 243, in main manager- HZc0r1/ DistUpgrade/ DistUpgradeCont roller. py", line 1791, in run manager- HZc0r1/ DistUpgrade/ DistUpgradeCont roller. py", line 1738, in fullUpgrade Popen([ "apport- bug", "ubuntu- release- upgrader- core"]) python2. 7/subprocess. py", line 679, in __init__ python2. 7/subprocess. py", line 1249, in _execute_child
authenticate 'trusty.tar.gz' against 'trusty.tar.gz.gpg'
extracting 'trusty.tar.gz'
Traceback (most recent call last):
File "/tmp/update-
sys.
File "/tmp/update-
if app.run():
File "/tmp/update-
return self.fullUpgrade()
File "/tmp/update-
subprocess.
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory
It should fail more gracefully and revert to the original state.
ProblemType: Bug release- upgrader- core 1:0.210 ature: Ubuntu 3.13.0- 12.32-generic 3.13.4 ture: all release- upgrader release- upgrader
DistroRelease: Ubuntu 14.04
Package: ubuntu-
ProcVersionSign
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)
PackageArchitec
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)