Hi,
Well, it looks like I'm going to have to put out a version of yum with the
"versionfix" plugin for SL5. In summary, rpm is picking newer and older
package names different than I expected.
According to rpm
<name>-1.el5.1 is newer than <name>-1.el5_x.1
which is backwards from what I was thought. So all the checks that I did when
looking for poorly named rpms in SL5, ... well ... I need to recheck them.
Anyway, expect a fix next week. I'm sorry about this.
Troy
Troy J Dawson wrote:
Hi I'm looking into this.
Thanks for letting me know.
Troy
Michael Mansour wrote:
Hi,
Hi,
This is a simple but very "funny" problem I'd just like to report.
This has to do with the pcre package.
I upgraded an SL 5.0 server to 5.1. I needed to install pcre-devel,
so using yum:
# yum -y install pcre-devel
Loading "kernel-module" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for pcre-devel to pack into transaction set.
pcre-devel-6.6-2.el5_1.7. 100% |=========================| 10 kB
00:00
---> Package pcre-devel.i386 0:6.6-2.el5_1.7 set to be updated
---> Downloading header for pcre-devel to pack into transaction set.
pcre-devel-6.6-2.el5_1.7. 100% |=========================| 10 kB
00:00
---> Package pcre-devel.x86_64 0:6.6-2.el5_1.7 set to be updated
--> Running transaction check
--> Processing Dependency: pcre = 6.6-2.el5_1.7 for package: pcre-devel
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin
Error: Missing Dependency: pcre = 6.6-2.el5_1.7 is needed by package
pcre-devel
Ok, so what do I have installed:
# yum list pcre\*
Loading "kernel-module" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
pcre.x86_64 6.6-2.el5.7 installed
pcre.i386 6.6-2.el5.7 installed
Available Packages
pcre.i386 6.6-2.el5_1.7 sl-base
pcre.x86_64 6.6-2.el5_1.7 sl-base
pcre-devel.x86_64 6.6-2.el5_1.7 sl-base
pcre-devel.i386 6.6-2.el5_1.7 sl-base
Ok, so I try to install from the SL5.1 tree manually:
# rpm -Uvh
http://ftp.scientificlinux.org/linux/scientific/51/x86_64/SL/pcre-
6.6-2.el5_1.7.i386.rpm
http://ftp.scientificlinux.org/linux/scientific/51/x86_64/SL/pcre-
6.6-2.el5_1.7.x86_64.rpm Retrieving
http://ftp.scientificlinux.org/linux/scientific/51/x86_64/SL/pcre-
6.6-2.el5_1.7.i386.rpm Retrieving
http://ftp.scientificlinux.org/linux/scientific/51/x86_64/SL/pcre-
6.6-2.el5_1.7.x86_64.rpm warning: /var/tmp/rpm-xfer.uTMUG9: Header
V3 DSA signature: NOKEY, key ID a7048f8d Preparing...
########################################### [100%] package
pcre-6.6-2.el5.7 (which is newer than pcre-6.6-2.el5_1.7) is already
installed
ie. I cannot install pcre-devel 6.6-2.el5.7 because that only exists
in the SL
5.0 security area:
http://ftp.scientificlinux.org/linux/scientific/50/x86_64/updates/security/
and is not in 5.1 or in 5.2, and the pcre I have running in SL5.1 is
actually not what it should be running (or not what SL5.1 or 5.2 is
supposed to have installed), but the newer pcre from SL 5.0
When I upgraded using yum from 5.0 to 5.1, the pcre wasn't
"downgraded" to the older pcre-6.6-2.el5_1.7 in SL5.1
To resolve this, I just did:
# rpm -Uvh
http://ftp.scientificlinux.org/linux/scientific/50/x86_64/updates/security/pcre-devel-6.6-2.el5.7.x86_64.rpm
http://ftp.scientificlinux.org/linux/scientific/50/x86_64/updates/security/pcre-devel-6.6-2.el5.7.i386.rpm
Retrieving
http://ftp.scientificlinux.org/linux/scientific/50/x86_64/updates/security/pcre-devel-6.6-2.el5.7.x86_64.rpm
Retrieving
http://ftp.scientificlinux.org/linux/scientific/50/x86_64/updates/security/pcre-devel-6.6-2.el5.7.i386.rpm
warning: /var/tmp/rpm-xfer.7Z5m3A: Header V3 DSA signature: NOKEY, key ID
82fd17b2 Preparing...
########################################### [100%]
1:pcre-devel
########################################### [ 50%]
2:pcre-devel
########################################### [100%]
ie. installed the pcre-devel from SL 5.0 into the 5.1 environment.
The same issue also exists for the libpng-devel package:
[EMAIL PROTECTED] php-4.4.9]# yum list libpng\*
Loading "kernel-module" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
libpng.x86_64 2:1.2.10-7.1.el5.1 installed
libpng.i386 2:1.2.10-7.1.el5.1 installed
Available Packages
libpng.x86_64 2:1.2.10-7.1.el5_0.1 sl-base
libpng.i386 2:1.2.10-7.1.el5_0.1 sl-base
libpng-devel.x86_64 2:1.2.10-7.1.el5_0.1 sl-base
libpng-devel.i386 2:1.2.10-7.1.el5_0.1 sl-base
Regards,
Michael.
--
__________________________________________________
Troy Dawson [EMAIL PROTECTED] (630)840-6468
Fermilab ComputingDivision/LCSI/CSI DSS Group
__________________________________________________