DistUpgradeViewNonInteractive produces error on conffile-prompt from dpkg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When running $do-release-upgrade -f DistUpgradeView
"ERROR error ''str' does not support the buffer interface' when trying to write to the conffile"
System info:
lsb_release -rd
Description: Ubuntu 14.04.5 LTS
Release: 14.04
apt-cache policy ubuntu-
ubuntu-
Installed: 1:0.220.8
Candidate: 1:16.04.17
Version table:
1:16.04.17 0
500 http://
1:16.04.12 0
500 http://
*** 1:0.220.8 0
100 /var/lib/
Partial output of main.log:
2016-11-07 12:53:36,005 DEBUG disabling apt cron job (0o755)
2016-11-07 13:01:06,388 DEBUG plugins for condition 'StartUpgrade' are '[]'
2016-11-07 13:01:06,388 DEBUG plugins for condition 'xenialStartUpg
2016-11-07 13:01:06,388 DEBUG plugins for condition 'from_trustySta
2016-11-07 13:01:06,389 DEBUG quirks: running StartUpgrade
2016-11-07 13:01:06,389 DEBUG skipping 'README' (no '.')
2016-11-07 13:01:06,390 DEBUG killing update-notifier
2016-11-07 13:01:06,403 DEBUG killing kblueplugd kbluetooth4
2016-11-07 13:01:06,409 DEBUG killing gnome-screensaver
2016-11-07 13:01:06,417 DEBUG setup poke timer for the scrensaver
2016-11-07 13:01:06,421 DEBUG failed to determine user upgrading
2016-11-07 13:01:06,421 ERROR failed to inhibit gnome-session idle
2016-11-07 13:01:06,421 DEBUG apt btrfs snapshots supported: False
2016-11-07 13:01:06,421 INFO cache.commit()
2016-11-07 13:01:06,421 DEBUG failed to SystemUnLock() (E:Not locked)
2016-11-07 13:01:06,669 DEBUG doing a pty.fork()
2016-11-07 13:01:06,671 DEBUG pid is: 1729
2016-11-07 13:01:26,498 WARNING got a conffile-prompt from dpkg for file: '/etc/issue'
2016-11-07 13:01:31,499 ERROR error ''str' does not support the buffer interface' when trying to write to the conffile
2016-11-07 13:41:26,327 WARNING no activity 2400 seconds (Configuring base-files (amd64)) - sending ctrl-c
2016-11-07 13:41:26,371 ERROR not handled exception:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
if app.run():
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.doDistUpgr
File "/tmp/ubuntu-
res = self.cache.
File "/tmp/ubuntu-
apt.
File "/usr/lib/
res = self.install_
File "/usr/lib/
res = install_
File "/tmp/ubuntu-
res = os.WEXITSTATUS(
File "/tmp/ubuntu-
self.
File "/tmp/ubuntu-
os.
TypeError: 'str' does not support the buffer interface
2016-11-07 13:41:26,371 DEBUG confirmRestart() called
2016-11-07 13:41:26,372 DEBUG enabling apt cron job
Status changed to 'Confirmed' because the bug affects multiple users.