我正试图按照phpDocumentor上的指令通过PEAR安装phpDocumentor2 GitHub回购。我在Lubuntu桌面上使用Ubuntu14.04(信任)。
第2步sudo pear install phpdoc/phpDocumentor给出了以下错误:
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/phpDocumentor-2.8.2.tgz"
Download of "phpdoc/phpDocumentor" succeeded, but it is not a valid package archive
Error: cannot download "phpdoc/phpDocumentor"
Download failed
install failed会有什么问题吗?
发布于 2015-03-03 03:41:16
实际上,与用pear解压缩可下载内容有关的错误。要解决此问题,请在--nocompress之后使用install选项。
试试这个:
sudo pear install --nocompress phpdoc/phpDocumentor
另一个站点建议简单地提取所下载的pear文件并运行upgrade并提取结果。有关更多细节,请参见这里。
这将下载phpDocumentor未压缩源代码(大约。67 MBytes)
https://askubuntu.com/questions/590037
复制相似问题