I have centos 5.4 and trying the command "yum install yum-utils", it gives me an error. I tried the "yum clean all" and the did the command again with same message.
I only have [base] and [updates] in the repo.
yum install yum-utils Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.nexcess.net * updates: mirrors.gigenet.com base | 1.1 kB 00:00 Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 309, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 178, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 345, in doCommands self._getTs(needTsRemove) File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs self._getTsInfo(remove_only) File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo pkgSack = self.pkgSack File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 661, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 501, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 260, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 190, in populate dobj = repo_cache_function(xml, csum) File "/usr/lib64/python2.4/site-packages/sqlitecachec.py", line 42, in getPrimary self.repoid)) TypeError: Parsing primary.xml error: Start tag expected, '<' not found
What is the next step?
jerry
On 5/19/2010 1:04 PM, Jerry Geis wrote:
I have centos 5.4 and trying the command "yum install yum-utils", it gives me an error. I tried the "yum clean all" and the did the command again with same message.
I only have [base] and [updates] in the repo.
yum install yum-utils Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile
- base: mirror.nexcess.net
- updates: mirrors.gigenet.com
base | 1.1 kB 00:00 Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 309, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 178, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 345, in doCommands self._getTs(needTsRemove) File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs self._getTsInfo(remove_only) File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo pkgSack = self.pkgSack File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 661, in
<lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 501, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 260, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 190, in populate dobj = repo_cache_function(xml, csum) File "/usr/lib64/python2.4/site-packages/sqlitecachec.py", line 42, in getPrimary self.repoid)) TypeError: Parsing primary.xml error: Start tag expected, '<' not found
What is the next step?
A similar problem was reported recently on the yum list and turned out to be one of the xml libs replaced by a non-distribution openoffice install. Does 'rpm -Vv libxml2' show anything missing or broken?
A similar problem was reported recently on the yum list and turned out to be one of the xml libs replaced by a non-distribution openoffice install. Does 'rpm -Vv libxml2' show anything missing or broken?
rpm -Vv libxml2
S.5..... /usr/bin/xmlcatalog S.5..... /usr/bin/xmllint ....L... /usr/lib64/libxml2.so.2 prelink: /usr/lib64/libxml2.so.2.6.26: at least one of file's dependencies has changed since prelinking S.?..... /usr/lib64/libxml2.so.2.6.26 ........ /usr/share/doc/libxml2-2.6.26 ........ d /usr/share/doc/libxml2-2.6.26/AUTHORS ........ d /usr/share/doc/libxml2-2.6.26/ChangeLog.gz ........ d /usr/share/doc/libxml2-2.6.26/Copyright ........ d /usr/share/doc/libxml2-2.6.26/NEWS ........ d /usr/share/doc/libxml2-2.6.26/README ........ d /usr/share/doc/libxml2-2.6.26/TODO ........ d /usr/share/man/man1/xmlcatalog.1.gz ........ d /usr/share/man/man1/xmllint.1.gz ........ d /usr/share/man/man3/libxml.3.gz ........ /usr/bin/xmlcatalog ........ /usr/bin/xmllint ........ /usr/lib/libxml2.so.2 ........ /usr/lib/libxml2.so.2.6.26 ........ /usr/share/doc/libxml2-2.6.26 ........ d /usr/share/doc/libxml2-2.6.26/AUTHORS ........ d /usr/share/doc/libxml2-2.6.26/ChangeLog.gz ........ d /usr/share/doc/libxml2-2.6.26/Copyright ........ d /usr/share/doc/libxml2-2.6.26/NEWS ........ d /usr/share/doc/libxml2-2.6.26/README ........ d /usr/share/doc/libxml2-2.6.26/TODO ........ d /usr/share/man/man1/xmlcatalog.1.gz ........ d /usr/share/man/man1/xmllint.1.gz ........ d /usr/share/man/man3/libxml.3.gz
Now what?
Jerry
On 5/19/2010 1:29 PM, Jerry Geis wrote:
A similar problem was reported recently on the yum list and turned out to be one of the xml libs replaced by a non-distribution openoffice install. Does 'rpm -Vv libxml2' show anything missing or broken?
rpm -Vv libxml2
S.5..... /usr/bin/xmlcatalog S.5..... /usr/bin/xmllint ....L... /usr/lib64/libxml2.so.2 prelink: /usr/lib64/libxml2.so.2.6.26: at least one of file's dependencies has changed since prelinking S.?..... /usr/lib64/libxml2.so.2.6.26 ........ /usr/share/doc/libxml2-2.6.26 ........ d /usr/share/doc/libxml2-2.6.26/AUTHORS ........ d /usr/share/doc/libxml2-2.6.26/ChangeLog.gz ........ d /usr/share/doc/libxml2-2.6.26/Copyright ........ d /usr/share/doc/libxml2-2.6.26/NEWS ........ d /usr/share/doc/libxml2-2.6.26/README ........ d /usr/share/doc/libxml2-2.6.26/TODO ........ d /usr/share/man/man1/xmlcatalog.1.gz ........ d /usr/share/man/man1/xmllint.1.gz ........ d /usr/share/man/man3/libxml.3.gz ........ /usr/bin/xmlcatalog ........ /usr/bin/xmllint ........ /usr/lib/libxml2.so.2 ........ /usr/lib/libxml2.so.2.6.26 ........ /usr/share/doc/libxml2-2.6.26 ........ d /usr/share/doc/libxml2-2.6.26/AUTHORS ........ d /usr/share/doc/libxml2-2.6.26/ChangeLog.gz ........ d /usr/share/doc/libxml2-2.6.26/Copyright ........ d /usr/share/doc/libxml2-2.6.26/NEWS ........ d /usr/share/doc/libxml2-2.6.26/README ........ d /usr/share/doc/libxml2-2.6.26/TODO ........ d /usr/share/man/man1/xmlcatalog.1.gz ........ d /usr/share/man/man1/xmllint.1.gz ........ d /usr/share/man/man3/libxml.3.gz
Now what?
Fix the ones that are different, I guess... Where does /usr/lib64/libxml2.so.2 point now?