-
Notifications
You must be signed in to change notification settings - Fork 124
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
xbps-install: Print error message when dir
in -r dir
does not exist
#454
Comments
I think in that case xbps is unhappy that there is no confdir in |
This fails because there is no repository and |
This error is already ignored by most callers and where it wasn't it masked the real error of packages simply not being found without repositories. Fixes void-linux#454.
I see. Also I just learned that I understand that the specific problem I described in my OP would be solved by what you suggest. But, wouldn't it be nice for the user to be notified that there is no repo to sync with, when they explicitly asked |
Not sure if I see that as an issue, creating the root directory seems convenient, we could maybe change this to only create only the root directory itself and not missing parent directories anything else would seem like a regression to me.
I think that would be reasonable, |
This error is already ignored by most callers and where it wasn't it masked the real error of packages simply not being found without repositories. Fixes void-linux#454.
This error is already ignored by most callers and where it wasn't it masked the real error of packages simply not being found without repositories. Fixes void-linux#454.
This error is already ignored by most callers and where it wasn't it masked the real error of packages simply not being found without repositories. Fixes void-linux#454.
When running
xbps-install -S -r /path/does/not/exist <somepackage>
(and perhaps similar commands) an error message would be nice, saying that the path does not exist.The text was updated successfully, but these errors were encountered: