[Bug 1382707] Re: trusty->utopic non-interactive upgrade outputs garbage, and is interactive
IDHAN
1382707 at bugs.launchpad.net
Wed Sep 5 12:01:33 UTC 2018
I can confirm this is still an issue on Xenial LTS when upgrading to Bionic LTS.
I do an 'do-release-upgrade -d -f DistUpgradeViewNonInteractive' and I'm prompted when the installation procedure comes to the user-changed etc-files. Despite entering an answer, the installation then hangs and does not proceed.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager-core in Ubuntu.
https://bugs.launchpad.net/bugs/1382707
Title:
trusty->utopic non-interactive upgrade outputs garbage, and is
interactive
Status in update-manager-core package in Ubuntu:
Confirmed
Bug description:
Updating from Trusty 14.04.
Steps to reproduce:
sudo apt-get install update-manager-core python-apt
sudo sed -i -e 's/Prompt=lts/Prompt=normal/' /etc/update-manager/release-upgrades
sudo do-release-upgrade -d -f DistUpgradeViewNonInteractive
After while, it shows text that looks like: b'\r'b'E'b'x'b't'b'r'b'a'b'c'b't'b'i'b'n'b'g'b'. You can extract some meaning out of it using sed to remove the 'b':
sed -e "s/'b'//g" upgrade.log | sed -e 's/\\r\\n/|/g' | tr '|' '\n'
And I can see that the upgrade is actually interactive:
---
Configuration file 'b"'"b'/etc/upstart-xsessions'b"'"b'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer'b"'"b's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** upstart-xsessions (Y/I/N/O/D/Z) [default=N] ? '
---
This used to work fine (precise->trusty, saucy->trusty). Is there a
new frontend that replaces DistUpgradeViewNonInteractive?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/1382707/+subscriptions
More information about the foundations-bugs
mailing list