Workaround suggested as comment #13 does also not work for me...
root@MacBookAir:~# export SUDO_USER=root
root@MacBookAir:~# export SUDO_UID=0
root@MacBookAir:~# export SUDO_COMMAND=/bin/bash
root@MacBookAir:~# export SUDO_GID=0
root@MacBookAir:~# update-manager -d
Neue Veröffentlichungen von Ubuntu werden gesucht
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
»xenial.tar.gz« wird gegenüber »xenial.tar.gz.gpg« legitimiert
»xenial.tar.gz« wird entpackt
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-rwci_0e6/xenial", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-rwci_0e6/DistUpgrade/DistUpgradeMain.py",
line 229, in main
app = DistUpgradeController(view, options, datadir=options.datadir)
File
"/tmp/ubuntu-release-upgrader-rwci_0e6/DistUpgrade/DistUpgradeController.py",
line 159, in __init__
self.quirks = DistUpgradeQuirks(self, self.config)
File
"/tmp/ubuntu-release-upgrader-rwci_0e6/DistUpgrade/DistUpgradeQuirks.py", line
63, in __init__
self._uid = os.environ['SUDO_UID']
File "/usr/lib/python3.4/os.py", line 633, in __getitem__
raise KeyError(key) from None
KeyError: 'SUDO_UID'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 480, in
add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 435, in write
crc = zlib.crc32(block, crc)
TypeError: 'str' does not support the buffer interface
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-rwci_0e6/xenial", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-rwci_0e6/DistUpgrade/DistUpgradeMain.py",
line 229, in main
app = DistUpgradeController(view, options, datadir=options.datadir)
File
"/tmp/ubuntu-release-upgrader-rwci_0e6/DistUpgrade/DistUpgradeController.py",
line 159, in __init__
self.quirks = DistUpgradeQuirks(self, self.config)
File
"/tmp/ubuntu-release-upgrader-rwci_0e6/DistUpgrade/DistUpgradeQuirks.py", line
63, in __init__
self._uid = os.environ['SUDO_UID']
File "/usr/lib/python3.4/os.py", line 633, in __getitem__
raise KeyError(key) from None
KeyError: 'SUDO_UID'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570947
Title:
Trusty to Xenial upgrade KeyError: 'SUDO_UID'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1570947/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs