← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1605052] Re: snap-confine: dpkg --compare-versions error outputs during installation from snapd/ubuntu-core-launcher upgrade

 

** Changed in: snap-confine (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

** Changed in: snap-confine (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1605052

Title:
  snap-confine: dpkg --compare-versions error outputs during
  installation from snapd/ubuntu-core-launcher upgrade

Status in Snappy Launcher:
  Fix Released
Status in snap-confine package in Ubuntu:
  Fix Released
Status in snap-confine source package in Xenial:
  Fix Released

Bug description:
  [Impact]

  The snap-confine package used to contain an apparmor profile for
  'ubuntu-core-launcher' that is no longer confined and is simply a
  symlink to snap-confine itself.

  The apparmor profile for ubuntu-core-launcher was stored in
  /etc/apparmor.d/. This profile had to be removed on package upgrades
  to let the application work as expected. Due to a bug in dpkg the dpkg
  rm_conffile helper was buggy and didn't run as documented or as
  expected.

  [Test Case]

  Upgrade from earlier versions of ubuntu-core-launcher should work
  correctly when updated to snap-confine. After the upgrade process snap
  applications can be started (e.g. hello-world snap).

  [Regression Potential]

  I did not evaluate regression potential as the fix is already released
  in Ubuntu Xenial and this bug update is just to facilitate the
  complete upgrade to 1.0.41 which.

  [Other Info]

  * This bug is a part of a major SRU that brings snap-confine in Ubuntu
  16.04 in line with the current upstream release 1.0.41.

  * This bug was included in an earlier SRU and is now fixed in Ubuntu.
  I am updating the template here to ensure that the process is fully
  documented from 1.0.38 all the way up to the current upstream release
  1.0.41.

  * snap-confine is technically an integral part of snapd which has an
  SRU exception and is allowed to introduce new features and take
  advantage of accelerated procedure. For more information see
  https://wiki.ubuntu.com/SnapdUpdates

  == # Pre-SRU bug description follows # ==

  The following non-fatal error is output during snap-confine installation:
  dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

  Below log is from a manual install to reproduce the issue, but this
  first occurred during upgrade of snapd/ubuntu-core-launcher on xenial-
  proposed which caused snap-confine to be installed.

   * Full error *

  Preparing to unpack .../snap-confine_1.0.38-0ubuntu0.16.04.1_amd64.deb ...
  dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

  Type dpkg --help for help about installing and deinstalling packages [*];
  Use 'apt' or 'aptitude' for user-friendly package management;
  Type dpkg -Dhelp for a list of dpkg debug flag values;
  Type dpkg --force-help for a list of forcing options;
  Type dpkg-deb --help for help about manipulating *.deb files;

  Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
  Unpacking snap-confine (1.0.38-0ubuntu0.16.04.1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up snap-confine (1.0.38-0ubuntu0.16.04.1) ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-confine/+bug/1605052/+subscriptions