this apt behaviour might conceptually not be feasible for snaps, do not forget that snaps usually ship their dependencies included ...
something like a "snap find-file npm" could give you 1000s of useless results (simply every node based snap in the store), you would simply end up with massive duplication. while an "apt-file search libpng1.2" will only return the few apt packages that actually ship libpng (which will then be used via the binary package dependency system), in the snap world it would simply return every graphical app including this lib in the snap (due to the fact that snaps explicitly forbid dependencies you will likely never have something like a libpng-snap). dependency resolution of snaps happens via parts at build-time in snapcraft, not at run-time via binary package dependencies like in the apt/dpkg world. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1748633 Title: `snap` should provide functionality to find non-installed snap which contain known file (analog of `apt-file search`) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1748633/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
