[Bug 1357926] [NEW] do-release-upgrade cannot be launched from screen

Sebo sebo.pl+ubuntu.com at gmail.com
Sun Aug 17 10:57:42 UTC 2014


Public bug reported:

When `do-release-upgrade` is started from a `screen` terminal it ignores
this and runs its own `screen` inside.

I would expect the software to check if it is allready runned inside the
screen and if so just do not start its own.

That would not harm... however the result is that output encoded two times by the `screen` app is unredable and looks just like below:
F␋┌␊ "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/├⎼┤⎽├≤", ┌␋┼␊ 10, ␋┼ <└⎺␍┤┌␊>
⎽≤⎽.␊│␋├(└▒␋┼())

F␋┌␊ "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊M▒␋┼.⎻≤",
┌␋┼␊ 243, ␋┼ └▒␋┼
␋° ▒⎻⎻.⎼┤┼():

F␋┌␊
"/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊C⎺┼├⎼⎺┌┌␊⎼.⎻≤",
┌␋┼␊ 1827, ␋┼ ⎼┤┼
⎼␊├┤⎼┼ ⎽␊┌°.°┤┌┌U⎻±⎼▒␍␊()

F␋┌␊
"/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊C⎺┼├⎼⎺┌┌␊⎼.⎻≤",
┌␋┼␊ 1649, ␋┼ °┤┌┌U⎻±⎼▒␍␊
␋° ┼⎺├ ⎽␊┌°.⎻⎼␊⎻▒⎼␊():

F␋┌␊
"/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊C⎺┼├⎼⎺┌┌␊⎼.⎻≤",
┌␋┼␊ 441, ␋┼ ⎻⎼␊⎻▒⎼␊
⎽␊┌°.▮⎽⎽␤M▒±␋␌()

F␋┌␊
"/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊C⎺┼├⎼⎺┌┌␊⎼.⎻≤",
┌␋┼␊ 311, ␋┼ ▮⎽⎽␤M▒±␋␌
"D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ␌⎺┼├␋┼┤␊?") % ⎻⎺⎼├)

F␋┌␊ "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊V␋␊┬T␊│├.⎻≤",
┌␋┼␊ 222, ␋┼ ▒⎽┐Y␊⎽N⎺Q┤␊⎽├␋⎺┼
⎼␊⎽ = ⎽≤⎽.⎽├␍␋┼.⎼␊▒␍┌␋┼␊().␍␊␌⎺␍␊(ENCODING, "␉▒␌┐⎽┌▒⎽␤⎼␊⎻┌▒␌␊"


It occured while over `ssh` upgrade from 12.04.5 LTS to 14.04.1 LTS so to reproduce:
1) `ssh to-ubuntu-precise-host`
2) `screen`
3) `sudo do-release-upgrade`

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

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

Title:
  do-release-upgrade cannot be launched from screen

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  When `do-release-upgrade` is started from a `screen` terminal it
  ignores this and runs its own `screen` inside.

  I would expect the software to check if it is allready runned inside
  the screen and if so just do not start its own.

  That would not harm... however the result is that output encoded two times by the `screen` app is unredable and looks just like below:
  F␋┌␊ "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/├⎼┤⎽├≤", ┌␋┼␊ 10, ␋┼ <└⎺␍┤┌␊>
  ⎽≤⎽.␊│␋├(└▒␋┼())

  F␋┌␊ "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊M▒␋┼.⎻≤",
  ┌␋┼␊ 243, ␋┼ └▒␋┼
  ␋° ▒⎻⎻.⎼┤┼():

  F␋┌␊
  "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊C⎺┼├⎼⎺┌┌␊⎼.⎻≤",
  ┌␋┼␊ 1827, ␋┼ ⎼┤┼
  ⎼␊├┤⎼┼ ⎽␊┌°.°┤┌┌U⎻±⎼▒␍␊()

  F␋┌␊
  "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊C⎺┼├⎼⎺┌┌␊⎼.⎻≤",
  ┌␋┼␊ 1649, ␋┼ °┤┌┌U⎻±⎼▒␍␊
  ␋° ┼⎺├ ⎽␊┌°.⎻⎼␊⎻▒⎼␊():

  F␋┌␊
  "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊C⎺┼├⎼⎺┌┌␊⎼.⎻≤",
  ┌␋┼␊ 441, ␋┼ ⎻⎼␊⎻▒⎼␊
  ⎽␊┌°.▮⎽⎽␤M▒±␋␌()

  F␋┌␊
  "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊C⎺┼├⎼⎺┌┌␊⎼.⎻≤",
  ┌␋┼␊ 311, ␋┼ ▮⎽⎽␤M▒±␋␌
  "D⎺ ≤⎺┤ ┬▒┼├ ├⎺ ␌⎺┼├␋┼┤␊?") % ⎻⎺⎼├)

  F␋┌␊ "/├└⎻/┤⎻␍▒├␊-└▒┼▒±␊⎼-␋X▮V⎼8/D␋⎽├U⎻±⎼▒␍␊/D␋⎽├U⎻±⎼▒␍␊V␋␊┬T␊│├.⎻≤",
  ┌␋┼␊ 222, ␋┼ ▒⎽┐Y␊⎽N⎺Q┤␊⎽├␋⎺┼
  ⎼␊⎽ = ⎽≤⎽.⎽├␍␋┼.⎼␊▒␍┌␋┼␊().␍␊␌⎺␍␊(ENCODING, "␉▒␌┐⎽┌▒⎽␤⎼␊⎻┌▒␌␊"

  
  It occured while over `ssh` upgrade from 12.04.5 LTS to 14.04.1 LTS so to reproduce:
  1) `ssh to-ubuntu-precise-host`
  2) `screen`
  3) `sudo do-release-upgrade`

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



More information about the foundations-bugs mailing list