[Bug 1611470] Re: Xenial Release upgrader failed with a permission error setting cron.daily/apt

MissionSix 1611470 at bugs.launchpad.net
Tue Aug 9 19:12:13 UTC 2016


This change gets me past the error and to the upgrade UI prompt.

** Patch added: "DistUpgradeController.diff"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1611470/+attachment/4717731/+files/DistUpgradeController.diff

-- 
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/1611470

Title:
  Xenial Release upgrader failed with a permission error setting
  cron.daily/apt

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  Trying to run `$ sudo do-release-upgrade` fails with a permission
  error:

  
  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-0as70maz/xenial", line 8, in <module>
    File "/tmp/ubuntu-release-upgrader-0as70maz/DistUpgrade/DistUpgradeMain.py", line 242, in main
    File "/tmp/ubuntu-release-upgrader-0as70maz/DistUpgrade/DistUpgradeController.py", line 1876, in run
    File "/tmp/ubuntu-release-upgrader-0as70maz/DistUpgrade/DistUpgradeController.py", line 1841, in fullUpgrade
    File "/tmp/ubuntu-release-upgrader-0as70maz/DistUpgrade/DistUpgradeController.py", line 1257, in doDistUpgrade
  UnboundLocalError: local variable 'e' referenced before assignment
  Error in atexit._run_exitfuncs:
  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-0as70maz/DistUpgrade/DistUpgradeController.py", line 1062, in _enableAptCronJob
  PermissionError: [Errno 1] Operation not permitted: '/etc/cron.daily/apt'

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-release-upgrader-core 1:0.220.8
  ProcVersionSignature: Ubuntu 3.13.0-92.139-generic 3.13.11-ckt39
  Uname: Linux 3.13.0-92-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.21
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: GNOME
  Date: Tue Aug  9 11:24:21 2016
  InstallationDate: Installed on 2012-08-31 (1439 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: Upgraded to trusty on 2016-08-09 (0 days ago)

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



More information about the foundations-bugs mailing list