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
zypper cannot install multiple packages #3570
Comments
Both packages are available and both are actually already installed:
I'm able to reproduce with any array of packages, not just the above. It's always the second package that is reported as having no candidate version. It doesn't matter if that package is installed or not. |
Multipackage is only supported on apt and yum. |
I am stumbling over the same problem. I need to install about 50 packages which is much slower because I have to install each package on its own. Installing all 50 packages with a single zypper call is about factor 25 faster. |
+1 having the same problem here |
This reverts commit 8dbce7d, as it breaks compatibility with the opensuse platform. There is a known limitation with the zypper package manager (Chef issue [#3570](chef/chef#3570) ) where it doesn't yet support the multipackage notation. The test kitchen run fails (we really need to run those in Travis)
PR #4102 should address this issue.. @lamont-granquist - please feel free to review and advise if there's something you'd like to see improved, so I can amend... : ) |
It seems that aa6663d has not fully fixed this issue. Although the syntax works, it seems to constantly loop over the array of packages, sometimes until a timeout occurs. For an array of packages of length 9 (as below) it will run get_versions 81 times (9 x 9). It does this twice, once for get_candidate_versions and once for get_current_versions, so it runs get_versions 162 (81 + 81) times in total for the below array. This means it runs
|
Actually it calls get_versions 164 times for 9 packages, not 162 times. Not sure where the extra two runs are called from though. |
chef/chef#3570 almost working now.
please open a new bug for the infinite loop problem in 12.7.2 |
The following snippet fails on opensuse:
Here is the failure:
I've tried with 12.3.0 and 12.4.0rc2.
The text was updated successfully, but these errors were encountered: