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

Launchpad Bug Tracker 1611470 at bugs.launchpad.net
Tue Oct 4 06:16:13 UTC 2016


This bug was fixed in the package ubuntu-release-upgrader - 1:16.10.4

---------------
ubuntu-release-upgrader (1:16.10.4) yakkety; urgency=medium

  [ Brian Murray ]
  * DistUpgradeController.py: fix UnboundLocalError - thanks to Launchpad user
    MissionSix for the patch.  (LP: #1611470)
  * po/POTFILES.in: use check_new_release_gtk.py to allow for fuzzy
    translations.

  [ Dimitri John Ledkov ]
  * Mirgrate to using apt-key, instead of gpg/gpgv directly to gain
    support for apt-secure trustedparts (key fragments in
    /etc/apt/trusted.gpg.d). (LP: #1628415)

 -- Brian Murray <brian at ubuntu.com>  Mon, 03 Oct 2016 16:09:42 -0700

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Triaged => Fix Released

-- 
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:
  Fix Released

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