-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pacman: Can't install from local file #4285
Comments
Files identified in the description: If these files are incorrect, please update the |
CC @jraby |
I'll have a look. |
#4286 should fix this and it is now in a better shape than yesterday :-) If you can give it a try and confirm it works for your usecase, it would be great. Thanks and sorry for the breakage... |
Sorry for the late response, the second iteration worked like a charm! (ftr, the first one still had trouble, seemed to treat all packages as local, didn't get to the bottom of it though). Thank you very much for the prompt fix! Feel free to (auto)close the issue when the PR is merged. |
Summary
When trying to install a package from a local file, pacman fails with
target not found
. This happens because the--sync
operations is used, whereas for local files, the--upgrade
operation is necessary instead. Introduced in #3907.Issue Type
Bug Report
Component Name
pacman
Ansible Version
Community.general Version
Configuration
No response
OS / Environment
No response
Steps to Reproduce
Expected Results
I expected to install package bar contained in
~/bar-1.0-1-any.pkg.tar.xz
, but it fails.Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: