snap-confine: dpkg --compare-versions error outputs during installation from snapd/ubuntu-core-launcher upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snap-confine |
Fix Released
|
Undecided
|
Zygmunt Krynicki | ||
snap-confine (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Xenial |
Fix Released
|
Critical
|
Unassigned |
Bug Description
[Impact]
The snap-confine package used to contain an apparmor profile for 'ubuntu-
The apparmor profile for ubuntu-
[Test Case]
Upgrade from earlier versions of ubuntu-
[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:/
== # 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-
* Full error *
Preparing to unpack .../snap-
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-
Processing triggers for man-db (2.7.5-1) ...
Setting up snap-confine (1.0.38-
Changed in snap-confine (Ubuntu): | |
status: | New → Confirmed |
tags: | added: patch |
Changed in snap-confine (Ubuntu Xenial): | |
importance: | Undecided → Critical |
Changed in snap-confine: | |
assignee: | nobody → Zygmunt Krynicki (zyga) |
milestone: | none → 1.0.40 |
Changed in snap-confine: | |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in snap-confine (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
Changed in snap-confine (Ubuntu): | |
status: | In Progress → Fix Released |
Here is how dpkg-maintscrip t-helper calls dpkg --compare-versions: "/usr/bin/ dpkg", ["dpkg", "--compare- versions" , "--", "le-nl", "1.0.36-1~"], [/* 47 vars */]) = 0
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>
"""
[pid 10745] execve(
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' !
[pid 10745] +++ exited with 2 +++
"""