`snap` should provide functionality to find installed snap which contain known file (analog of `dpkg -S`)
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
ProcVersionSign
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)
tags: | added: artful bionic |
Changed in snapd (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
description: | updated |
tags: | added: trusty |
tags: |
added: focal hirsute impish removed: artful trusty |
tags: |
added: jammy removed: xenial |
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)