ubuntu-release-upgrader crashes if snapd is not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Bionic |
Fix Released
|
High
|
Brian Murray |
Bug Description
Test Case:
1. On Xenial with ubuntu-desktop installed and snapd uninstalled run update-manager -cd and proceed with the upgrade
Result
The upgrader crashes with:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.exit(main())
File "/tmp/ubuntu-
if app.run():
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.doPostInit
File "/tmp/ubuntu-
self.quirks.
File "/tmp/ubuntu-
func()
File "/tmp/ubuntu-
self._checkStor
File "/tmp/ubuntu-
stderr=PIPE, universal_
File "/usr/lib/
restore_signals, start_new_session)
File "/usr/lib/
raise child_exception
FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: 'snap'
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.10-0ubuntu7
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 25 17:08:36 2018
InstallationDate: Installed on 2014-07-15 (1471 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
PackageArchitec
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: Upgraded to cosmic on 2018-03-24 (123 days ago)
Related branches
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Brian Murray (brian-murray) |
tags: | added: artful2bionic |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
tags: | added: third-party-packages |
tags: | added: id-5b5b80eb89d784de8e6deacd |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | Triaged → In Progress |
This bug was fixed in the package ubuntu- release- upgrader - 1:18.10.6
--------------- release- upgrader (1:18.10.6) cosmic; urgency=medium
ubuntu-
* DistUpgradeQuir ks.py: roller. py: :archives" folder after the upgrade DistUpgradeView Gtk3.py: call vte's terminal. feed_child( ) with
- make sure that snapd is installed before trying to use it.
(LP: #1783589)
- update the view with information regarding the progress of snaps being
installed. (LP: #1783593)
- when checking for connectivity to the snap store use C.UTF-8 for the
language so error message matching works. (LP: #1783738)
* DistUpgradeCont
- Remove debs from apt's "Dir::Cache:
has completed successfully.
- Add a telemetry marker to report the time to process migration from deb
to snaps.
* DistUpgrade/
the correct parameters thereby fixing a crash. (LP: #1780501)
-- Brian Murray <email address hidden> Wed, 01 Aug 2018 15:06:53 -0700