I booted into my CentOS 5.3 fresh install and Instant Messenger (pidgin) was missing. That’s ok, let we install it:
[root@gamble ~]# yum install pidgin Loaded plugins: fastestmirror Determining fastest mirrors * base: centos.pop.com.br * updates: chi-10g-1-mirror.fastsoft.net * addons: centos.pop.com.br * extras: centos.pop.com.br base | 1.1 kB 00:00 primary.xml.gz | 1.1 MB 00:03 base 3272/3272 updates | 951 B 00:00 primary.xml.gz | 50 kB 00:01 updates 106/106 addons | 951 B 00:00 primary.xml.gz | 157 B 00:00 extras | 951 B 00:00 primary.xml.gz | 91 kB 00:00 extras 265/265 Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package pidgin.x86_64 0:2.5.2-6.el5 set to be updated --> Processing Dependency: libpurple = 2.5.2-6.el5 for package: pidgin --> Processing Dependency: libgtkspell.so.0()(64bit) for package: pidgin --> Processing Dependency: libpurple.so.0()(64bit) for package: pidgin ---> Package pidgin.i386 0:2.5.2-6.el5 set to be updated --> Processing Dependency: libgtkspell.so.0 for package: pidgin --> Processing Dependency: libpurple.so.0 for package: pidgin --> Running transaction check ---> Package gtkspell.i386 0:2.0.11-2.1 set to be updated ---> Package libpurple.x86_64 0:2.5.2-6.el5 set to be updated --> Processing Dependency: cyrus-sasl-md5 for package: libpurple --> Processing Dependency: libsilcclient-1.0.so.1()(64bit) for package: libpurple --> Processing Dependency: libsilc-1.0.so.2()(64bit) for package: libpurple --> Processing Dependency: libmeanwhile.so.1()(64bit) for package: libpurple ---> Package gtkspell.x86_64 0:2.0.11-2.1 set to be updated ---> Package libpurple.i386 0:2.5.2-6.el5 set to be updated --> Processing Dependency: libmeanwhile.so.1 for package: libpurple --> Processing Dependency: libsilcclient-1.0.so.1 for package: libpurple --> Processing Dependency: libsilc-1.0.so.2 for package: libpurple --> Running transaction check ---> Package libsilc.i386 0:1.0.2-2.fc6 set to be updated ---> Package meanwhile.i386 0:1.0.2-5.el5 set to be updated ---> Package libsilc.x86_64 0:1.0.2-2.fc6 set to be updated ---> Package meanwhile.x86_64 0:1.0.2-5.el5 set to be updated ---> Package cyrus-sasl-md5.x86_64 0:2.1.22-4 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Installing: pidgin i386 2.5.2-6.el5 base 1.3 M pidgin x86_64 2.5.2-6.el5 base 1.3 M Installing for dependencies: cyrus-sasl-md5 x86_64 2.1.22-4 base 46 k gtkspell i386 2.0.11-2.1 base 30 k gtkspell x86_64 2.0.11-2.1 base 29 k libpurple x86_64 2.5.2-6.el5 base 7.2 M libpurple i386 2.5.2-6.el5 base 7.2 M libsilc x86_64 1.0.2-2.fc6 base 398 k libsilc i386 1.0.2-2.fc6 base 412 k meanwhile x86_64 1.0.2-5.el5 base 109 k meanwhile i386 1.0.2-5.el5 base 108 k Transaction Summary ============================================================================================================================================================= Install 11 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 18 M Is this ok [y/N]:
How could it ask me if this is ok!? No, it’s not ok! I don’t want to install .x86 version since I’m using x86_64. This is not my arch.
I’ve used Ubuntu at Desktop from September/October…and forgot about multilib_policy in yum.conf. This directive tells yum to install the best matches for packages. Pasting directly from yum.conf’s man page:
multilib_policy
Can be set to ’all’ or ’best’. All means install all possible arches for any package you want to install. Therefore yum install
foo will install foo.i386 and foo.x86_64 on x86_64, if it is available. Best means install the best arch for this platform,
only.
After set it in yum.conf, I can install the right package arch:
[root@gamble ~]# yum install pidgin Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.pop.com.br * updates: chi-10g-1-mirror.fastsoft.net * addons: centos.pop.com.br * extras: centos.pop.com.br base | 1.1 kB 00:00 updates | 951 B 00:00 addons | 951 B 00:00 extras | 951 B 00:00 Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package pidgin.x86_64 0:2.5.2-6.el5 set to be updated --> Processing Dependency: libpurple = 2.5.2-6.el5 for package: pidgin --> Processing Dependency: libgtkspell.so.0()(64bit) for package: pidgin --> Processing Dependency: libpurple.so.0()(64bit) for package: pidgin --> Running transaction check ---> Package libpurple.x86_64 0:2.5.2-6.el5 set to be updated --> Processing Dependency: cyrus-sasl-md5 for package: libpurple --> Processing Dependency: libsilcclient-1.0.so.1()(64bit) for package: libpurple --> Processing Dependency: libsilc-1.0.so.2()(64bit) for package: libpurple --> Processing Dependency: libmeanwhile.so.1()(64bit) for package: libpurple ---> Package gtkspell.x86_64 0:2.0.11-2.1 set to be updated --> Running transaction check ---> Package cyrus-sasl-md5.x86_64 0:2.1.22-4 set to be updated ---> Package meanwhile.x86_64 0:1.0.2-5.el5 set to be updated ---> Package libsilc.x86_64 0:1.0.2-2.fc6 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Installing: pidgin x86_64 2.5.2-6.el5 base 1.3 M Installing for dependencies: cyrus-sasl-md5 x86_64 2.1.22-4 base 46 k gtkspell x86_64 2.0.11-2.1 base 29 k libpurple x86_64 2.5.2-6.el5 base 7.2 M libsilc x86_64 1.0.2-2.fc6 base 398 k meanwhile x86_64 1.0.2-5.el5 base 109 k Transaction Summary ============================================================================================================================================================= Install 6 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 9.1 M Is this ok [y/N]:
Yeah! It's ok, that's ok!
Posts relacionados:

No comments yet
Deixe Seu Comentário