오류 메세지
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 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 104, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 339, 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 591, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 434, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 251, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 181, in populate
dobj = repo_cache_function(xml, csum)
File "/usr/lib/python2.4/site-packages/sqlitecachec.py", line 42, in getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Start tag expected, '<' not found
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 104, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 339, 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 591, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 434, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 251, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 181, in populate
dobj = repo_cache_function(xml, csum)
File "/usr/lib/python2.4/site-packages/sqlitecachec.py", line 42, in getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Start tag expected, '<' not found
조치 방법
# ldd /usr/lib/python2.4/site-packages/libxml2mod.so
linux-gate.so.1 => (0x00c78000)
libxml2.so.2 => /opt/lampp/lib/libxml2.so.2 (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x00211000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00e09000)
libm.so.6 => /lib/libm.so.6 (0x00b40000)
/lib/ld-linux.so.2 (0x00883000)
/usr/lib/libxml2.so.2를 참조 할 수 있도록
/etc/ld.so.conf 파일의 lib 경로 조절
linux-gate.so.1 => (0x00c78000)
libxml2.so.2 => /opt/lampp/lib/libxml2.so.2 (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x00211000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00e09000)
libm.so.6 => /lib/libm.so.6 (0x00b40000)
/lib/ld-linux.so.2 (0x00883000)
/usr/lib/libxml2.so.2를 참조 할 수 있도록
/etc/ld.so.conf 파일의 lib 경로 조절
"프로그래밍 / Linux & Shell Script" 분류의 다른 글
[shell script] bash read command (0) | 2014/02/11 |
[linux] shell command 로그 남기기 (0) | 2014/01/27 |
[linux] Linux Console에서 BEEP 사운드 끄기 (0) | 2014/01/27 |
[shell] netstat (0) | 2014/01/22 |
[shell script] 배열(Array) 사용하기 (0) | 2014/01/10 |
[shell script] 함수(Function) 사용하기 (0) | 2014/01/09 |
[linux] 메모리 (0) | 2013/12/17 |
[shell script] Here Documents (0) | 2013/11/26 |
[shell script] directory exists check (0) | 2013/11/20 |
[shell script] 실행 경로 구하기 (0) | 2013/10/24 |