2016-07-21 04:14:54 |
Trent Lloyd |
bug |
|
|
added bug |
2016-07-21 04:15:15 |
Trent Lloyd |
bug task added |
|
snap-confine |
|
2016-07-21 06:45:05 |
Zygmunt Krynicki |
snap-confine (Ubuntu): status |
New |
Confirmed |
|
2016-07-21 07:06:54 |
Michael Vogt |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582819 |
|
2016-07-21 08:29:56 |
Michael Vogt |
attachment added |
|
proposed fix https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/1605052/+attachment/4704469/+files/snap-confine_1.0.38-0ubuntu0.16.04.2.debdiff |
|
2016-07-21 08:31:17 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2016-07-21 09:27:01 |
Michael Vogt |
attachment added |
|
updated patch https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/1605052/+attachment/4704519/+files/snap-confine_1.0.38-0ubuntu0.16.04.2.debdiff |
|
2016-07-21 09:27:10 |
Michael Vogt |
snap-confine (Ubuntu): status |
Confirmed |
In Progress |
|
2016-07-21 09:27:13 |
Michael Vogt |
snap-confine (Ubuntu): importance |
Undecided |
Critical |
|
2016-07-21 11:57:17 |
Adam Conrad |
snap-confine (Ubuntu Xenial): status |
New |
Fix Committed |
|
2016-07-21 11:57:20 |
Adam Conrad |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-07-21 11:57:22 |
Adam Conrad |
bug |
|
|
added subscriber SRU Verification |
2016-07-21 11:57:27 |
Adam Conrad |
tags |
patch |
patch verification-needed |
|
2016-07-21 18:23:53 |
Mathew Hodson |
snap-confine (Ubuntu Xenial): importance |
Undecided |
Critical |
|
2016-07-24 21:44:22 |
Mathew Hodson |
bug watch removed |
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582819 |
|
|
2016-07-29 14:59:45 |
Zygmunt Krynicki |
snap-confine: assignee |
|
Zygmunt Krynicki (zyga) |
|
2016-07-29 15:01:20 |
Zygmunt Krynicki |
snap-confine: milestone |
|
1.0.40 |
|
2016-08-17 08:22:13 |
Zygmunt Krynicki |
snap-confine: status |
New |
Fix Committed |
|
2016-08-22 11:42:54 |
Zygmunt Krynicki |
snap-confine: status |
Fix Committed |
Fix Released |
|
2016-09-20 13:28:44 |
Zygmunt Krynicki |
description |
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) ... |
[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) ... |
|
2016-10-09 19:50:41 |
Amr Ibrahim |
snap-confine (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2016-10-09 19:50:46 |
Amr Ibrahim |
snap-confine (Ubuntu): status |
In Progress |
Fix Released |
|
2016-10-10 20:01:22 |
Leo Arias |
tags |
patch verification-needed |
patch verification-done |
|