Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Bug discovered during installation 32bit packages on 64bit system #286

Open
phracek opened this issue Sep 30, 2014 · 4 comments
Open

Bug discovered during installation 32bit packages on 64bit system #286

phracek opened this issue Sep 30, 2014 · 4 comments
Milestone

Comments

@phracek
Copy link
Member

phracek commented Sep 30, 2014

I would like to install 32bit packages on my 64bit system but installation failed.
This issues was discovered from official DevAssistant package (not from GitHub).

Command line was:
da crt android -n myandroid

Android assistant is available here:
https://github.com/phracek/devassistant-assistants-nonfree/blob/master/assistants/crt/android.yaml

Log from devassistant:
[devassistant]$ rpm -q --whatprovides "ant"
ant-1.9.2-7.fc20.noarch

retcode: 0
[devassistant]$ rpm -q --whatprovides "glibc.i686"
no package provides glibc.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "glibc-devel.i686"
no package provides glibc-devel.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "zlib-devel.i686"
no package provides zlib-devel.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "libstdc++.i686"
no package provides libstdc++.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "ncurses-devel.i686"
no package provides ncurses-devel.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "SDL.i686"
no package provides SDL.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "libX11-devel.i686"
no package provides libX11-devel.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "libXrandr.i686"
no package provides libXrandr.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "libXrender.i686"
no package provides libXrender.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "xz-libs.i686"
no package provides xz-libs.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "libXxf86vm"
libXxf86vm-1.1.3-2.fc20.x86_64
libXxf86vm-1.1.3-2.fc20.i686
retcode: 0
[devassistant]$ rpm -q --whatprovides "libXdamage.i686"
no package provides libXdamage.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "libXfixes.i686"
no package provides libXfixes.i686
retcode: 1
[devassistant]$ rpm -q --whatprovides "android-tools"
android-tools-20130123git98d0789-2.fc20.x86_64
retcode: 0
INFO: Resolving RPM dependencies ...
Loaded plugins: langpacks, refresh-packagekit
ERROR: Package not found: glibc.i686

@bkabrda
Copy link
Member

bkabrda commented Oct 13, 2014

I can't reproduce this. Can you please specify what output yum install glibc.i686 gives you? This could theoretically be a problem in local repo setup or current state of your yum repo mirror.

@msrb
Copy link
Contributor

msrb commented Oct 20, 2014

rpm -q --whatprovides "glibc.i686"

I think that this command will always return "no package provides glibc.i686", because nothing really provides glibc.i686. And thus DevAssistant will try to install the package every time. glibc package provides, among others, glibc and either glibc(x86-64) or glibc(x86-32). So using glibc(x86-32) instead of glibc.i686 would be probably a bit better. Of course, this doesn't explain why YUM fails to install it for Petr.

@bkabrda
Copy link
Member

bkabrda commented Oct 20, 2014

Good point with the provides. I think we could check if the package ends with .<arch> and transform it to the (<arch>-<bits>) somehow, but I think we'd have to include a sort of "transformation table" (e.g. i686 => x86-32, ...) and maintain it... Or try to find out where this info is hidden in RPM

@phracek
Copy link
Member Author

phracek commented Dec 1, 2014

Yeah, good point. glibc(x86-32) solves the problem. I think that adding this information to documentation is enought.

@tradej tradej added this to the 0.11.2 milestone Jun 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants