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.rpmhttp://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.rpmhttp://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.
Regards,
Michael.