[Bug 1783589] Re: ubuntu-release-upgrader crashes if snapd is not installed

Ubuntu Foundations Team Bug Bot 1783589 at bugs.launchpad.net
Fri Jul 27 14:13:08 UTC 2018


** Tags added: third-party-packages

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

Title:
  ubuntu-release-upgrader crashes if snapd is not installed

Status in ubuntu-release-upgrader package in Ubuntu:
  In Progress
Status in ubuntu-release-upgrader source package in Bionic:
  Triaged

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-release-upgrader-tmpdir/bionic", line 8, in <module>
  sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeMain.py", line 238, in main
  if app.run():
  File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", line 1949, in run
  return self.fullUpgrade()
  File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", line 1826, in fullUpgrade
  if not self.doPostInitialUpdate():
  File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeController.py", line 893, in doPostInitialUpdate
  self.quirks.run("PostInitialUpdate")
  File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeQuirks.py", line 113, in run
  func()
  File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeQuirks.py", line 133, in bionicPostInitialUpdate
  self._checkStoreConnectivity()
  File "/tmp/ubuntu-release-upgrader-tmpdir/DistUpgrade/DistUpgradeQuirks.py", line 492, in _checkStoreConnectivity
  stderr=PIPE, universal_newlines=True).communicate()
  File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
  restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child
  raise child_exception_type(errno_num, err_msg)
  FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: 'snap'

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: ubuntu-release-upgrader-core 1:18.10.5
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  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)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to cosmic on 2018-03-24 (123 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1783589/+subscriptions



More information about the foundations-bugs mailing list