[zypp-devel] Install both i586 and x86-64 versions of a package at the same time
Why ZYpp doesn't allows to install both i586 and x86-64 versions of a package at the same time? Where Smart says: # smart install ods Loading cache... Updating cache... ############################################################################## [100%] Computing transaction... Installing packages (8): SDL_image-32bit-1.2.6-84.112@x86_64 libopenal1-soft-32bit-1.5.304-1.33@x86_64 ods-data-080819-0.pm.1@noarch freealut-1.1.0-3.172@i586 libsmpeg0-0.4.5-370.pm.svn20070614@i586 openal-32bit-0.0.8-148.113@x86_64 freeglut-32bit-080721-20.2.1@x86_64 ods-080819-0.pm.1@i586 134.0MB of package files are needed. 232.7MB will be used. zypper says: # zypper in ods Loading repository data... Reading installed packages... Resolving package dependencies... The following packages are going to be upgraded: Maelstrom SDL_net cg dosbox freealut glew libGLEW1_5 libdnet1 physfs python-pygame The following packages are going to be downgraded: SDL_gfx SDL_perl SDL_ttf audacity chromium f1spirit funguloids gstreamer-0_10-plugins-ugly gstreamer-0_10-plugins-ugly-lang liblua5_1 lua neverball nmap scummvm The following NEW packages are going to be installed: SDL_image-32bit allegro arts-32bit freeglut-32bit libOIS-devel libdevil1 libmng-32bit libopenal0-soft-32bit libopenal1-soft-32bit libpcap0-32bit libpython2_6-1_0-32bit libreadline5-32bit libsmpeg0 libxerces-c28 libzziplib13 ods ods-data ogre ogre-plugin-Cg qt3-32bit The following packages are going to be reinstalled: ManiaDrive blobwars chapping libboost_filesystem1_38_0 libboost_system1_38_0 libcegui libfreeimage3 libmad0 libogre1_6 libogre1_6-plugin-Cg libogre1_6-plugins love smc wormux The following packages are going to be REMOVED: k3b-codecs vlc vlc-gnome vlc-noX vlc-qt The following packages are going to change architecture: Maelstrom ManiaDrive SDL_gfx SDL_net SDL_perl SDL_ttf blobwars cg chapping chromium dosbox f1spirit freealut funguloids glew libGLEW1_5 libboost_filesystem1_38_0 libboost_system1_38_0 libcegui libdnet1 libfreeimage3 liblua5_1 libmad0 libogre1_6 libogre1_6-plugin-Cg libogre1_6-plugins love lua neverball nmap physfs python-pygame smc wormux The following packages are going to change vendor: audacity chromium f1spirit funguloids gstreamer-0_10-plugins-ugly gstreamer-0_10-plugins-ugly-lang Overall download size: 346.2 M. After the operation, additional 129.4 M will be used. Continue? [Y/n/p/?]: n The problem seems to be (perhaps there are also others) that Smart has no problem installing "freealut-1.1.0-3.172@i586" when freealut-1.1.0-3.138@x86_64 is already installed. ZYpp doesn't seems to like this. freealut installs some documentation (the same in both i586 and x86-64) and a library (in different paths: lib vs lib64), so there is no cause to not install both of them at the same time. ods is only available for i586... -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Sat, May 16, 2009 at 01:42:11AM +0200, Cristian Morales Vega wrote:
Why ZYpp doesn't allows to install both i586 and x86-64 versions of a package at the same time?
Where Smart says: [...]
Well, smart is simply wrong here. SuSE uses -32bit packages to implement mixed architecture, whereas RedHat installs both i586 and x86_64. Please check the complains on the RedHat/Fedora lists to see why we're doing it different. ;-) Please create a "freealut-32bit" package. It's just adding a "baselibs.conf" file with a single line "freealut" to the package sources. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Mon, May 18, 2009 at 05:25:33PM +0200, Michael Schroeder wrote:
On Sat, May 16, 2009 at 01:42:11AM +0200, Cristian Morales Vega wrote:
Why ZYpp doesn't allows to install both i586 and x86-64 versions of a package at the same time?
Where Smart says: [...]
Well, smart is simply wrong here.
Also note that while smart proposes to install both architectures, this simply doesn't work on a SUSE system: you'll end up with just one architecture installed. M. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
2009/5/18 Michael Schroeder
On Sat, May 16, 2009 at 01:42:11AM +0200, Cristian Morales Vega wrote:
Why ZYpp doesn't allows to install both i586 and x86-64 versions of a package at the same time?
Where Smart says: [...]
Well, smart is simply wrong here. SuSE uses -32bit packages to implement mixed architecture, whereas RedHat installs both i586 and x86_64. Please check the complains on the RedHat/Fedora lists to see why we're doing it different. ;-)
Please create a "freealut-32bit" package. It's just adding a "baselibs.conf" file with a single line "freealut" to the package sources.
Done... for Factory. There is any policy about which packages should use this or should I just do this for every library I package? -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Mon, May 18, 2009 at 07:45:35PM +0200, Cristian Morales Vega wrote:
Done... for Factory. There is any policy about which packages should use this or should I just do this for every library I package?
If nobody uses the 32bit package than there's no point in creating it. Turning that around: if there are chances that some application only existing in 32bit needs it, you should create it. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Cristian Morales Vega
-
Michael Schroeder