Open eoli3n opened 3 years ago
Files identified in the description:
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
cc @dinoocch @the-maldridge click here for bot help
Hmm, yeah this is a known defect I remember from several years ago. I'll have to dig further into this to figure out a good solution that doesn't have side effects.
Ok, for those playing along at home what fails here is that the failure message takes the value of 'package' which is a loop iteration variable. Having been working in Go for the last several years I had to refresh my memory to understand why this was even still in scope at all and not a more serious error.
Since this actually ignores a whole class of errors I'm going to sync with the XBPS developers and ask what they believe the best rules should be for parsing the actual full error text out of the XBPS output. I checked my notes and discovered that the last time I ran into this was a host that had no disk space remaining. You can imagine my confusion with trying to debug a package installation issue only to later discover the true cause!
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
Summary
When i install multiple package with xbps module, if one fails to install, the reported package in the error is the wrong package, the last of the list.
If
package2
doesn't exist, the package reported in the error ispackage3
. It makes task debugging harder than it should.A workaround is to use a loop over the package list as
Then if
package2
doesn't exist, it is well reported in the error.Issue Type
Bug Report
Component Name
xbps
Ansible Version
Configuration
OS / Environment
Latest Voidlinux
Steps to Reproduce
Create a task as
Expected Results
Actual Results
Code of Conduct