Public bug reported:

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?

** Affects: update-manager-core (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "upgrade.log (output of command)"
   
https://bugs.launchpad.net/bugs/1382707/+attachment/4239281/+files/upgrade.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1382707

Title:
  trusty->utopic non-interactive upgrade outputs garbage, and is
  interactive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager-core/+bug/1382707/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to