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

Ɓukasz Zemczak 1783589 at bugs.launchpad.net
Mon Aug 6 15:51:00 UTC 2018


Hello Jean-Baptiste, or anyone else affected,

Accepted ubuntu-release-upgrader into bionic-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:18.04.22 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: ubuntu-release-upgrader (Ubuntu Bionic)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
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:
  Fix Released
Status in ubuntu-release-upgrader source package in Bionic:
  Fix Committed

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