Package Management/YUM Repository(s)

Latest response

Good morning,

 

We're experiencing a 'strange' issue after installing RHEL 6 from the DVD media. It appears that there's two (2) different repository listings for a great deal of the installed packages. However, there are issues showing up such as :

 

==================================================

 

php: /usr/lib/libxml2.so.2: no version information available (required by php)

php: /usr/lib/libxml2.so.2: no version information available (required by php)

php: /usr/lib/libxml2.so.2: no version information available (required by php)

php: /usr/lib/libxml2.so.2: no version information available (required by php)

php: /usr/lib/libxml2.so.2: no version information available (required by php)

 

Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlreader.so' - /usr/lib64/php/modules/xmlreader.so: symbol xmlTextReaderSetup, version LIBXML2_2.6.28 not defined in file libxml2.so.2 with link time reference in Unknown on line 0

 

Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - /usr/lib64/libxslt.so.1: symbol xmlXPathCompiledEvalToBoolean, version LIBXML2_2.6.27 not defined in file libxml2.so.2 with link time reference in Unknown on line 0

==================================================

 

I check the `libxml2` installation:

 

==================================================

[root@someserver /etc]$> yum info libxml2

 

Loaded plugins: refresh-packagekit, rhnplugin
Installed Packages
Name       : libxml2
Arch       : x86_64
Version    : 2.7.6
Release    : 1.el6
Size       : 1.7 M
Repo       : installed
From repo  : anaconda-RedHatEnterpriseLinux-201009221801.x86_64
Summary    : Library providing XML and HTML support
URL        : http://xmlsoft.org/
License    : MIT
Description: This library allows to manipulate XML files. It includes support
           : to read, modify and write XML and HTML files. There is DTDs support
           : this includes parsing and validation even with complex DtDs, either
           : at parse time or later once the document has been modified. The output
           : can be a simple SAX stream or and in-memory DOM like representations.
           : In this case one can use the built-in XPath and XPointer implementation
           : to select subnodes or ranges. A flexible Input/Output mechanism is
           : available, with existing HTTP and FTP modules and combined to an
           : URI library.
 
Available Packages
Name       : libxml2
Arch       : i686
Version    : 2.7.6
Release    : 1.el6
Size       : 794 k
Repo       : rhel-x86_64-server-6
Summary    : Library providing XML and HTML support
License    : MIT
Description: This library allows to manipulate XML files. It includes support
           : to read, modify and write XML and HTML files. There is DTDs support
           : this includes parsing and validation even with complex DtDs, either
           : at parse time or later once the document has been modified. The output
           : can be a simple SAX stream or and in-memory DOM like representations.
           : In this case one can use the built-in XPath and XPointer implementation
           : to select subnodes or ranges. A flexible Input/Output mechanism is
           : available, with existing HTTP and FTP modules and combined to an
           : URI library.
Loaded plugins: refresh-packagekit, rhnplugin
Installed Packages
Name       : libxml2
Arch       : x86_64
Version    : 2.7.6
Release    : 1.el6
Size       : 1.7 M
Repo       : installed
From repo  : anaconda-RedHatEnterpriseLinux-201009221801.x86_64
Summary    : Library providing XML and HTML support
URL        : http://xmlsoft.org/
License    : MIT
Description: This library allows to manipulate XML files. It includes support
           : to read, modify and write XML and HTML files. There is DTDs support
           : this includes parsing and validation even with complex DtDs, either
           : at parse time or later once the document has been modified. The output
           : can be a simple SAX stream or and in-memory DOM like representations.
           : In this case one can use the built-in XPath and XPointer implementation
           : to select subnodes or ranges. A flexible Input/Output mechanism is
           : available, with existing HTTP and FTP modules and combined to an
           : URI library.
 
Available Packages
Name       : libxml2
Arch       : i686
Version    : 2.7.6
Release    : 1.el6
Size       : 794 k
Repo       : rhel-x86_64-server-6
Summary    : Library providing XML and HTML support
License    : MIT
Description: This library allows to manipulate XML files. It includes support
           : to read, modify and write XML and HTML files. There is DTDs support
           : this includes parsing and validation even with complex DtDs, either
           : at parse time or later once the document has been modified. The output
           : can be a simple SAX stream or and in-memory DOM like representations.
           : In this case one can use the built-in XPath and XPointer implementation
           : to select subnodes or ranges. A flexible Input/Output mechanism is
           : available, with existing HTTP and FTP modules and combined to an
           : URI library.
Loaded plugins: refresh-packagekit, rhnplugin
Installed Packages
Name       : libxml2
Arch       : x86_64
Version    : 2.7.6
Release    : 1.el6
Size       : 1.7 M
Repo       : installed
From repo  : anaconda-RedHatEnterpriseLinux-201009221801.x86_64
Summary    : Library providing XML and HTML support
URL        : http://xmlsoft.org/
License    : MIT
Description: This library allows to manipulate XML files. It includes support
           : to read, modify and write XML and HTML files. There is DTDs support
           : this includes parsing and validation even with complex DtDs, either
           : at parse time or later once the document has been modified. The output
           : can be a simple SAX stream or and in-memory DOM like representations.
           : In this case one can use the built-in XPath and XPointer implementation
           : to select subnodes or ranges. A flexible Input/Output mechanism is
           : available, with existing HTTP and FTP modules and combined to an
           : URI library.
 
Available Packages
Name       : libxml2
Arch       : i686
Version    : 2.7.6
Release    : 1.el6
Size       : 794 k
Repo       : rhel-x86_64-server-6
Summary    : Library providing XML and HTML support
License    : MIT
Description: This library allows to manipulate XML files. It includes support
           : to read, modify and write XML and HTML files. There is DTDs support
           : this includes parsing and validation even with complex DtDs, either
           : at parse time or later once the document has been modified. The output
           : can be a simple SAX stream or and in-memory DOM like representations.
           : In this case one can use the built-in XPath and XPointer implementation
           : to select subnodes or ranges. A flexible Input/Output mechanism is
           : available, with existing HTTP and FTP modules and combined to an
           : URI library.

==================================================

 

The issue here (it appears) is the repository : rhel-x86_64-server-6 vs anaconda-RedHatEnterpriseLinux-201009221801.x86_64...

 

I don't have a single clue as to 'how' this may have occurred during the installation, as I didn't execute or monitor the process. My question would be, is there any way that I can correct this with having to reimage the whole damn system (again!)? Can any/all of the packages pointing to the `anaconda-RedHatEnterpriseLinux-201009221801.x86_64` install to use the RHN Support repository (`rhel-x86_64-server-6`)? I have the feeling this is most likely a) something that I'm not alone in seeing and b) corrected by some process and/or command(s) that are just not apparent to me at this point in time...

 

Any/all input is greatly appreciated, and please let me know if I've not included anything relevant to the issues here that would help out.  Thanx SO MUCH in advance for the assistance!!!

Responses