Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

multiple targets per invocation #59

Open
mmirate opened this issue Apr 2, 2022 · 0 comments
Open

multiple targets per invocation #59

mmirate opened this issue Apr 2, 2022 · 0 comments

Comments

@mmirate
Copy link

mmirate commented Apr 2, 2022

In case of a power loss during a pacman -Syu - and in case some shared library pacman needs didn't get wiped off the disk - it is useful to run something like lostfiles to find all of the files whose ownership is no longer in the package database, and run pkgfile on each such file to determine the list of packages to reinstall. However, pkgfile has an inevitable and significant per-invocation overhead. Efficiency would be much improved if the user could supply many "target" arguments to pkgfile and then expect a (deduplicated?) list of any packages which are supposed to supply any of the named targets, without regard for any targets which are not in the pkgfile database; because pkgfile could respond to such an invocation by searching for all of the requested files in a single scan of its database.

@falconindy falconindy changed the title [feature request] multiple targets per invocation multiple targets per invocation Jul 31, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants