2018-07-12 14:26:07 |
Brian Murray |
bug |
|
|
added bug |
2018-07-12 16:26:06 |
Brian Murray |
information type |
Private |
Public |
|
2018-07-12 16:27:44 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu): status |
New |
In Progress |
|
2018-07-12 16:27:47 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu): importance |
Undecided |
High |
|
2018-07-12 16:27:49 |
Brian Murray |
ubuntu-release-upgrader (Ubuntu): assignee |
|
Brian Murray (brian-murray) |
|
2018-07-12 16:27:55 |
Brian Murray |
nominated for series |
|
Ubuntu Bionic |
|
2018-07-12 16:27:55 |
Brian Murray |
bug task added |
|
ubuntu-release-upgrader (Ubuntu Bionic) |
|
2018-07-12 20:31:51 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu-release-upgrader |
|
2018-07-12 21:39:09 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu): status |
In Progress |
Fix Released |
|
2018-07-16 14:08:06 |
Brian Murray |
description |
I was testing a release upgrade from Ubuntu 16.04 to Ubuntu 18.04 where I had no connectivity to the snap store and encountered this crash.
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.20
ProcVersionSignature: Ubuntu 4.4.0-121.145-generic 4.4.117
Uname: Linux 4.4.0-121-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CrashDB: ubuntu
Date: Wed Jul 11 20:03:49 2018
ExecutablePath: /usr/bin/do-release-upgrade
ExecutableTimestamp: 1531169948
InstallationDate: Installed on 2016-10-04 (645 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
InterpreterPath: /usr/bin/python3.5
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 ./bionic --frontend DistUpgradeViewText
ProcCwd: /tmp/u-r-u
ProcEnviron:
TERM=screen
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonArgs: ['/usr/bin/do-release-upgrade', '--frontend', 'DistUpgradeViewText']
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
SourcePackage: ubuntu-release-upgrader
Title: do-release-upgrade crashed with UnboundLocalError in _replaceDebsWithSnaps(): local variable 'proc' referenced before assignment
UpgradeStatus: Upgraded to bionic on 2018-07-12 (0 days ago)
UserGroups:
modified.conffile..etc.update-manager.release-upgrades: [modified]
mtime.conffile..etc.update-manager.release-upgrades: 2016-10-04T13:43:38.934395 |
Adding support for transitioning debs to snaps when upgrading from 16.04 to 18.04, bug 1780841, ended up creating a crash in a specific scenario.
[Test Case]
1) Install and Ubuntu 16.04 desktop system
2) Modify /etc/hosts so api.snapcraft.io resolves to 127.0.0.1
3) Upgrade to Ubuntu 18.04 using u-r-u 18.04.20 (sudo ./bionic --frontend DistUpgradeViewText)
4) Observe the Traceback in this bug report
N.B. You'll need to manually download and extract the release upgrader tarball from http://archive.ubuntu.com/ubuntu/dists/bionic-proposed/main/dist-upgrader-all/current/ since the upgrade is to the development and proposed release.
I was testing a release upgrade from Ubuntu 16.04 to Ubuntu 18.04 where I had no connectivity to the snap store and encountered this crash.
ProblemType: CrashDistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.20
ProcVersionSignature: Ubuntu 4.4.0-121.145-generic 4.4.117
Uname: Linux 4.4.0-121-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CrashDB: ubuntu
Date: Wed Jul 11 20:03:49 2018
ExecutablePath: /usr/bin/do-release-upgrade
ExecutableTimestamp: 1531169948
InstallationDate: Installed on 2016-10-04 (645 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
InterpreterPath: /usr/bin/python3.5
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 ./bionic --frontend DistUpgradeViewText
ProcCwd: /tmp/u-r-u
ProcEnviron:
TERM=screen
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonArgs: ['/usr/bin/do-release-upgrade', '--frontend', 'DistUpgradeViewText']
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1SourcePackage: ubuntu-release-upgrader
Title: do-release-upgrade crashed with UnboundLocalError in _replaceDebsWithSnaps(): local variable 'proc' referenced before assignment
UpgradeStatus: Upgraded to bionic on 2018-07-12 (0 days ago)
UserGroups:
modified.conffile..etc.update-manager.release-upgrades: [modified]
mtime.conffile..etc.update-manager.release-upgrades: 2016-10-04T13:43:38.934395 |
|
2018-07-16 15:32:07 |
Łukasz Zemczak |
ubuntu-release-upgrader (Ubuntu Bionic): status |
New |
Fix Committed |
|
2018-07-16 15:32:08 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-07-16 15:32:09 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2018-07-16 15:32:12 |
Łukasz Zemczak |
tags |
amd64 apport-crash dist-upgrade need-duplicate-check |
amd64 apport-crash dist-upgrade need-duplicate-check verification-needed verification-needed-bionic |
|
2018-07-16 19:14:41 |
Brian Murray |
tags |
amd64 apport-crash dist-upgrade need-duplicate-check verification-needed verification-needed-bionic |
amd64 apport-crash dist-upgrade need-duplicate-check verification-done verification-done-bionic |
|
2018-07-19 12:50:48 |
Launchpad Janitor |
ubuntu-release-upgrader (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-07-19 12:51:12 |
Steve Langasek |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|