Error: Missing Dependency: libxerces-c.so.27 is needed by pa

Issues related to software problems.
Post Reply
raffaele.fabbri
Posts: 79
Joined: 2015/03/14 07:57:15

Error: Missing Dependency: libxerces-c.so.27 is needed by pa

Post by raffaele.fabbri » 2016/01/11 16:14:24

on update centos 5

Code: Select all

cat /etc/issue
CentOS release 5.11 (Final)
Kernel \r on an \m

Code: Select all

yum update
Loaded plugins: fastestmirror, rhnplugin
There was an error communicating with RHN.
Red Hat Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:
Internal Server Error
Loading mirror speeds from cached hostfile
 * base: mirror.crazynetwork.it
 * epel: mirrors.ircam.fr
 * extras: mirror.crazynetwork.it
 * updates: mirror.crazynetwork.it
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libxml-security-c16.i386 0:1.6.1-3.1 set to be updated
--> Processing Dependency: libxerces-c-3.1.so for package: libxml-security-c16
---> Package libxml-security-c17.i386 0:1.7.3-3.1 set to be updated
---> Package libxmltooling5.i386 0:1.4.2-2.1 set to be updated
---> Package libxmltooling6.i386 0:1.5.6-1.1 set to be updated
--> Processing Dependency: libxerces-c.so.27 for package: xalan-c
---> Package xerces-c.i386 0:3.0.1-6.3 set to be updated
--> Running transaction check
---> Package libxerces-c-3_1.i386 0:3.1.2-3.1 set to be updated
--> Processing Dependency: libxerces-c.so.27 for package: xalan-c
--> Finished Dependency Resolution
xalan-c-1.10.0-2.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxerces-c.so.27 is needed by package xalan-c-1.10.0-2.el5.i386 (installed)
Error: Missing Dependency: libxerces-c.so.27 is needed by package xalan-c-1.10.0-2.el5.i386 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
what can I do?

thank's in advance

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Error: Missing Dependency: libxerces-c.so.27 is needed b

Post by TrevorH » 2016/01/11 17:23:51

Where are you obtaining those libxml-security* packages from? They are not CentOS 5 packages.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

raffaele.fabbri
Posts: 79
Joined: 2015/03/14 07:57:15

Re: Error: Missing Dependency: libxerces-c.so.27 is needed b

Post by raffaele.fabbri » 2016/01/12 08:15:15

Lo cerca in

Code: Select all

[security_shibboleth]
name=Shibboleth (CentOS_5)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/security:/shibboleth/CentOS_5/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/security:/shibboleth/CentOS_5/repodata/repomd.xml.key
enabled=1
I have try to install libxml-security-c-devel

Code: Select all

yum install libxml-security-c-devel
and now

Code: Select all

yum update
Loaded plugins: fastestmirror, rhnplugin
There was an error communicating with RHN.
Red Hat Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:
Internal Server Error
Loading mirror speeds from cached hostfile
 * base: mirror.crazynetwork.it
 * epel: mirrors.ircam.fr
 * extras: mirror.crazynetwork.it
 * updates: mirror.crazynetwork.it
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libxerces-c.so.27 for package: xalan-c
---> Package xerces-c.i386 0:3.0.1-6.3 set to be updated
--> Finished Dependency Resolution
xalan-c-1.10.0-2.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxerces-c.so.27 is needed by package xalan-c-1.10.0-2.el5.i386 (installed)
Error: Missing Dependency: libxerces-c.so.27 is needed by package xalan-c-1.10.0-2.el5.i386 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
I try to run

Code: Select all

package-cleanup --problems
Setting up yum
Reading local RPM database
Processing all local requires
No problems found

package-cleanup --dupes
Setting up yum

rpm -Va --nofiles --nodigest
but after I obtain the same result

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Error: Missing Dependency: libxerces-c.so.27 is needed b

Post by TrevorH » 2016/01/12 09:13:02

You need to complain to the person who built those opensuse build factory packages: they do not and will not work on CentOS 5 and you should not try to force them to do so. Get them rebuilt against CentOS 5 so that they work properly.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply