Public bug reported:

P -> T upgrade [1]

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.

[1] https://jenkins.qa.ubuntu.com/job/upgrade-ubuntu-precise-trusty-
server-tasks-amd64/44/


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)

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade qa-daily-testing trusty

** Description changed:

+ P -> T upgrade [1]
+ 
  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' 
+ 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
+   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.
+ 
+ [1] https://jenkins.qa.ubuntu.com/job/upgrade-ubuntu-precise-trusty-
+ server-tasks-amd64/44/
+ 
  
  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)

** Tags added: qa-daily-testing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1285545

Title:
  P->T server upgrade failure: ubuntu-release-upgrader fails with
  OSError: [Errno 2] No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1285545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to