오래전 이야기/Server

No handlers for package.xml version 2.0

리눅스 엔지니어였던 2008. 9. 15. 16:55

pear install 시 No handlers for package.xml version 2.0 라는 메세지가 나오면서 install이 안될때는


== Problem


[root@GoMetrics ~]# pear install Net_URL
downloading Net_URL-1.0.15.tgz ...
Starting to download Net_URL-1.0.15.tgz (6,303 bytes)
.....done: 6,303 bytes
No handlers for package.xml version 2.0


[root@GoMetrics ~]# pear list
Installed packages:
===================
Package          Version State 
Archive_Tar      1.3.1   stable
Console_Getopt   1.2     stable
DB               1.6.2   stable
HTML_Template_IT 1.2.1   stable
HTTP             1.2.2   stable
Mail             1.1.3   stable
Net_SMTP         1.2.3   stable
Net_Socket       1.0.1   stable
PEAR             1.3.2   stable
Structures_Graph 1.0.2   stable
XML_Parser       1.0.1   stable
XML_RPC          1.1.0   stable



== Solve


[root@GoMetrics ~]# pear upgrade XML_Parser
downloading XML_Parser-1.2.8.tgz ...
Starting to download XML_Parser-1.2.8.tgz (13,476 bytes)
.....done: 13,476 bytes
upgrade ok: XML_Parser 1.2.8
[root@GoMetrics ~]# pear upgrade XML_RPC
downloading XML_RPC-1.5.1.tgz ...
Starting to download XML_RPC-1.5.1.tgz (32,215 bytes)
.........done: 32,215 bytes
upgrade ok: XML_RPC 1.5.1

[root@GoMetrics ~]# pear upgrade PEAR
downloading PEAR-1.6.2.tgz ...
Starting to download PEAR-1.6.2.tgz (297,794 bytes)
..................done: 297,794 bytes
requires package `PEAR' >= 1.3.3
PEAR: Dependencies failed
[root@GoMetrics ~]# pear upgrade --force PEAR-1.3.6 Archive_Tar-1.3.1 Console_Getopt-1.2
downloading PEAR-1.3.6.tgz ...
Starting to download PEAR-1.3.6.tgz (106,880 bytes)
.........................done: 106,880 bytes
downloading Archive_Tar-1.3.1.tgz ...
Starting to download Archive_Tar-1.3.1.tgz (15,102 bytes)
...done: 15,102 bytes
downloading Console_Getopt-1.2.tgz ...
Starting to download Console_Getopt-1.2.tgz (3,370 bytes)
...done: 3,370 bytes
upgrade ok: Console_Getopt 1.2
upgrade ok: Archive_Tar 1.3.1
upgrade ok: PEAR 1.3.6


[root@GoMetrics ~]# pear upgrade --force PEAR-1.4.11
downloading PEAR-1.4.11.tgz ...
Starting to download PEAR-1.4.11.tgz (283,272 bytes)
..........................................................done: 283,272 bytes
Optional dependencies:
package `PEAR_Frontend_Web' version >= 0.5.0 is recommended to utilize some features.
package `PEAR_Frontend_Gtk' version >= 0.4.0 is recommended to utilize some features.
package `PEAR_Frontend_Gtk2' version >= 0.1.0 is recommended to utilize some features.
upgrade ok: PEAR 1.4.11


[출처: http://forums.codewalkers.com/pear-packages-47/no-handlers-for-package-xml-version-2-0t-47252.html ]