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

Lubos Baja lubos.baja at gmail.com
Thu Nov 10 21:07:47 UTC 2016


I had the very same problem. 
I was succesfull to updgrade to 16.10 by setting runlevel 2. 
So just open terminal and type
sudo init 2
Then GDM will close and only text terminal will remain
login and type
sudo do-release upgrade
It outputs some errors about unknown characters, but actually upgrade works.

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

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