[Bug 1633545] Re: PermissionError on upgrading from 16.04 to 16.10

Chris Guiver 1633545 at bugs.launchpad.net
Sat May 22 08:06:44 UTC 2021


Thank you for reporting this bug to Ubuntu.

Ubuntu 16.10 (yakkety) reached end-of-life on July 20, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested
in discussing it any more. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in.

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  PermissionError on upgrading from 16.04 to 16.10

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

Bug description:
  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-qtle43hs/yakkety", line 8, in <module>
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeMain.py", line 242, in main
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeController.py", line 1880, in run
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeController.py", line 1845, in fullUpgrade
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeController.py", line 1263, in doDistUpgrade
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeController.py", line 1385, in abort
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/sourceslist.py", line 366, in restore_backup
    File "/usr/lib/python3.5/shutil.py", line 236, in copy
      copymode(src, dst, follow_symlinks=follow_symlinks)
    File "/usr/lib/python3.5/shutil.py", line 138, in copymode
      chmod_func(dst, stat.S_IMODE(st.st_mode))
  PermissionError: [Errno 1] Operation not permitted: '/etc/apt/sources.list'
  Error in sys.excepthook:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook
      pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])
    File "/usr/lib/python3/dist-packages/apport/report.py", line 544, in add_proc_info
      self['ExecutableTimestamp'] = str(int(os.stat(self['ExecutablePath']).st_mtime))
  PermissionError: [Errno 13] Permission denied: '/tmp/ubuntu-release-upgrader-qtle43hs/yakkety'

  Original exception was:
  Traceback (most recent call last):
    File "/tmp/ubuntu-release-upgrader-qtle43hs/yakkety", line 8, in <module>
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeMain.py", line 242, in main
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeController.py", line 1880, in run
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeController.py", line 1845, in fullUpgrade
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeController.py", line 1263, in doDistUpgrade
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/DistUpgradeController.py", line 1385, in abort
    File "/tmp/ubuntu-release-upgrader-qtle43hs/DistUpgrade/sourceslist.py", line 366, in restore_backup
    File "/usr/lib/python3.5/shutil.py", line 236, in copy
      copymode(src, dst, follow_symlinks=follow_symlinks)
    File "/usr/lib/python3.5/shutil.py", line 138, in copymode
      chmod_func(dst, stat.S_IMODE(st.st_mode))
  PermissionError: [Errno 1] Operation not permitted: '/etc/apt/sources.list'

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ubuntu-release-upgrader-core 1:16.04.16
  ProcVersionSignature: Ubuntu 4.4.0-43.63-generic 4.4.21
  Uname: Linux 4.4.0-43-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CrashDB: ubuntu
  Date: Fri Oct 14 18:08:29 2016
  InstallationDate: Installed on 2016-04-23 (173 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Release amd64 (20160421)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to xenial on 2016-10-14 (0 days ago)
  mtime.conffile..etc.update-manager.release-upgrades: 2016-04-25T21:29:20.463739

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



More information about the foundations-bugs mailing list