** Description changed:

+ [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> 
  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 *
+  * 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> 
  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) ...

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to