* Ruediger Meier
On Tuesday 08 November 2016, Patrick Shanahan wrote:
* Dominique Leuenberger / DimStar
[11-08-16 10:49]: On Tue, 2016-11-08 at 16:29 +0100, Dominique Leuenberger / DimStar
wrote:
Please do not remove it unless zypper is getting something similar to "yum provides <filename>" which is basically the same as what pin does, but across all known repositories.
zypper search --file-list ?
I see zypper still has a short-coming there: it only finds files of 'installed' packages, which is clearly not good enough.
Then your system is odd or mine :) "zypper se --file-list " w/o "?" shows mucho apps which I do not have installed.
But it seems to be very limitied, that's why I still prefer pin.
1. zypper wants to run as root:
$ zypper se --file-list "socat" Failed to mount glaukos:/exports/var/lib/software/opensuse/distribution/leap/42.1/repo/non-oss on /var/tmp/AP_0xxuWn9I: Mounting media failed (mount: only root can use "--options" option)
er: 13:10 Crash:~ > zypper se --file-list "socat" Loading repository data... `Reading installed packages... S | Name | Summary | Type --+-----------------+----------------------------------------------------+-------- i | socat | Multipurpose relay for bidirectional data transfer | package | socat-debuginfo | Debug information for package socat | package 13:10 Crash:~ >
2. How to search for regex?
$ pin "/bin/.*awk"
zypper se --file-list awk or zypper se awk w/o regex zypper se -sx awk
3. zypper does not show me the actual found file names but only some packages where the search pattern was found. (like grep would always run with option -l)
4. It's not working correctly at all
$ zypper se --file-list "ncurses.h
does not find ncurses-devel on my Leap 42.1 system.
zypper se -s --provides ncurses.h -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org