-
Notifications
You must be signed in to change notification settings - Fork 5.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
ebuild.installed returns unhelpful errors #5393
Comments
Thanks for the report. As to how to fix it, any idea what you would want the output to look like? |
That's the tricky bit... parsing the output of emerge to get a more accurate answer is a pain since it was intended to be read by humans. |
I have been wanting to improve the output of the ebuild module for failure cases like this. I think it is possible to parse the output from emerge and provide some helpful details back to the user. Perhaps we can start by documenting the various failure cases (and some example emerge output would be a bonus). |
@kaithar That's a good idea, to output the command that was executed and try to restrict the super-verbose output. Now we just need an emerge expert to help us with all the failure cases! =P |
Some off the top of my head:
|
Added output for package.unmask changes in ebuild. #5393
@shadowfax-chc when you have a moment can you please give us an update here? No rush :) Thanks! |
I haven't had a chance to address the last 3 errors in that list. They tend to be less common so I haven't had example output to work with. If anyone encounters an emerge error that salt doesn't handle, please provide the out put of the emerge command. For example, if Also I can start trying to craft some scenarios to make those errors repeatable. |
That would be great! We've just been trying to clean up the issue list and wondered if there had been any undocumented progress on this issue. =) |
Now reports blocked packages and slot conflicts. #5393
Recent pains have reminded me that qt is an excellent source of weird blockers. |
Looks like we still lack reporting for "fetch failed" and "circular dependencies" |
I don't know where the error is actually being formatted, but after digging it turns out this error:
Is actually being generated by a missing keyword (clarification edit: a missing entry in the accept_keywords file, not anything within Salt). The way the comment is phrased gives the impression that the update failed /because/ the packages were already installed, rather than that being a separate bit of status information.
Any thoughts on how this could be made more helpful to the user? I had to run salt-minion in the foreground to find out what emerge was actually complaining about.
The text was updated successfully, but these errors were encountered: