Open louigi600 opened 3 years ago
Definitely not something that has a chance of landing in 15.0.x, and I'm not a huge fan of adding features (one of the main principles I decided on when taking over maintenance of slackpkg was that new features would be rare), but I might be willing to accept some tweaks to the file-search function so that it handles wildcards and such.
Hi Robby, I noticed a little thing with finding packages that files belong to so I wrote to Roberto and Evaldo but one of them told me that you are now the maintainer.
I very much enjoy using slackpkg but there is one thing that I find frustrating: finding which package contains a file (to help solve dependences on minimal systems).
I see that there is a file-search function but the output is somewhat not super accurate, for example let's see what contains diff:
and then if I say I'm looking from /usr/bin/diff*
Ok neet to remember to remove the leading / But even that gives wrong output:
there is actually several packaged that contain usr/bin/diff* .. I did a little simple script to do that (will share with you ... look further down)
Even more funny things happen if one insists with wildcards
I don't want to maintain myself a modified version of slackpkg ... but would you consider adding something like this in slackpkg ?
This way one needs not remember to strip the leading / Notice how I deal with both and ? wildchars ... so you can find libs even if you don't know where they are nor the exact name of the physical file ... eg: "/libz*" Not advocating that you should do it exactly this way but it would be wonderful if you could achieve something like thin in slackpkg.
I'm also working on something that will give me the list of missing libraries for a given package ... at least the ones you can see are missing with ldd and turn that into a list of packages to install ... I know this is not in the spirit of slackware ... but on my RPi I like to keep it minimal so I really need an easier way to install just what I need.
ATB, David