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

Sergio serg1990io at gmail.com
Sun Oct 16 11:08:57 UTC 2016


I've noticed that do-release-update made an half disaster: system now
thinks that update is completed (it thinks it moved to 16.10) and
software sources are modified to the new version. Apt upgrade tried to
update all packages missing but it leaved system in a totally unusable
and instable state. So I suggest to absolutely don't try to update
packets after a failed try with do-release-upgrade...

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