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
pkg.instaled 32bit package on 64bit machine fails with yum #6299
Comments
Forgot to mention, I'm using salt version 0.16.0 with two patches:
|
Thanks for the report. I'm not sure whether this has been fixed or not. @terminalmage ? |
This was fixed several releases ago, if this is happening again it is a regression. What platform are you running on? |
It's Amazon Linux, up to date. I can test tomorrow on a CentOS 6. |
I think I have found the issue. 32-bit packages are only supported in salt code with suffixes of |
The yum providers previously only supported 32bit packages that were for the i686 architecture. This adds support for any iX86 arch. Fixes saltstack#6299.
Thanks! The pkg.installed works fine now. However:
While rpm (and yum) can find the package:
If querying just for jre it would find both arches. That's not possible with jre, so there is a better example:
Watch should be able to watch for package.arch. Let me know if you want me to open a different issue for this. |
@victormuse I'm not sure what you're saying. Can you clarify? |
Suppose you want something to happen if/after glibc.i686 is installed. If On Thu, Jul 25, 2013 at 7:38 PM, Erik Johnson notifications@github.comwrote:
|
It shouldn't. Requisites depend on a state being defined. Do you have a pkg.installed state for jre.i586? |
Sorry, I just saw the typo, jre.586 instead of jre.i586. Shame on me... On Thu, Jul 25, 2013 at 8:00 PM, Erik Johnson notifications@github.comwrote:
|
We're just glad you figured it out. =) |
The yum providers previously only supported 32bit packages that were for the i686 architecture. This adds support for any iX86 arch. Fixes #6299.
Not sure if a duplicate of 6097 or it is yum specific (or has something to do with the fact I'm trying to install a 32bit package on a 64bit machine):
The package actually installs fine, but the state returns False. If this is already fixed please point me to the right commit so I can add a patch to my .spec.
Thanks.
The text was updated successfully, but these errors were encountered: