`snap` should provide functionality to find installed snap which contain known file (analog of `dpkg -S`)

Bug #1748630 reported by Norbert
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Steps to reproduce:
1. Install Ubuntu 14.04 LTS, 16.04 LTS, 17.10 or 18.04 LTS
2. Try to use `snap` to search files, which are included to installed snap (analog of `dpkg -S`)

Expected results:
* snap has functionality similar too `dpkg -S`

Actual results:
* snap do not have functionality similar to `dpkg -S`

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapd 2.29.4.2
ProcVersionSignature: Ubuntu 4.4.0-112.135-generic 4.4.98
Uname: Linux 4.4.0-112-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: MATE
Date: Sat Feb 10 17:22:24 2018
InstallationDate: Installed on 2018-01-04 (36 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Norbert (nrbrtx)
tags: added: artful bionic
John Lenton (chipaca)
Changed in snapd (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Norbert (nrbrtx)
description: updated
tags: added: trusty
Revision history for this message
Oliver Grawert (ogra) wrote :

this should be easily achievable via:

find /snap/*/current/ | grep <search term>

(or using the -name option to the find command instead of piping to grep)

Norbert (nrbrtx)
tags: added: focal hirsute impish
removed: artful trusty
Norbert (nrbrtx)
tags: added: jammy
removed: xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.