error: the required argument <snap>:<slot> was not provided.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
After installing ufw using snap. Snap fails to connect interfaces, raising the following error message:
$ ufw
Could not use iptables. Please run:
'sudo snap connect ufw:firewall-
$ sudo snap connect ufw:firewall-
error: the required argument <snap>:<slot> was not provided.
However, I found a trick that make snap accept it. Documented in https:/
1. Run
sudo snap connect snappy-
You get an error ignore it.
1. Then again run
sudo snap connect ufw:firewall-
Now, it does work without problem.
$ snap interfaces
Slot Plug
:cups-control -
:firewall-control ufw
...
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snap (not installed)
ProcVersionSign
Uname: Linux 4.4.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Tue Jun 21 03:31:53 2016
InstallationDate: Installed on 2015-05-11 (406 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: snap
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | snap (Ubuntu) → snapd (Ubuntu) |
I cannot reproduce the original problem with establishing firewall-control interface (works fine with snapd 2.13), please re-check and comment if it's still happening with up-to-date system.
I have however hit another problem related to this interface and opened a new bug #1618737.