- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我试图通过 pear 下载一个包时,它给了我这个错误(它不仅适用于 phpunit):
No releases available for package "pear.phpunit.de/phpunit"
install failed
我尝试使用 sudo pear clear-cache
并显示:
/tmp/pear/cache does not exist or is not a directory
我还尝试了 sudo pear update-channels
并且一切都是最新的:
Updating channel "components.ez.no"
Channel "components.ez.no" is up to date
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "guzzlephp.org/pear"
Channel "guzzlephp.org/pear" is up to date
Updating channel "nikic.github.com/pear"
Channel "nikic.github.com/pear" is up to date
Updating channel "pear.amazonwebservices.com"
Channel "pear.amazonwebservices.com" is up to date
Updating channel "pear.andrewsville.cz"
Channel "pear.andrewsville.cz" is up to date
Updating channel "pear.apache.org/log4php"
Channel "pear.apache.org/log4php" is up to date
Updating channel "pear.apache.org/oodt"
Channel "pear.apache.org/oodt" is up to date
Updating channel "pear.apache.org/zetacomponents"
Channel "pear.apache.org/zetacomponents" is up to date
Updating channel "pear.apigen.org"
Channel "pear.apigen.org" is not responding over http://, failed with message: File http://pear.apigen.org:80/channel.xml not valid (received: HTTP/1.1 404 Not Found
)
Trying channel "pear.apigen.org" over https:// instead
Cannot retrieve channel.xml for channel "pear.apigen.org" (File https://pear.apigen.org:443/channel.xml not valid (received: HTTP/1.1 500 Domain Not Found
))
Updating channel "pear.doctrine-project.org"
Channel "pear.doctrine-project.org" is up to date
Updating channel "pear.dropbox-php.com"
Channel "pear.dropbox-php.com" is up to date
Updating channel "pear.horde.org"
Channel "pear.horde.org" is up to date
Updating channel "pear.kukulich.cz"
Channel "pear.kukulich.cz" is up to date
Updating channel "pear.michelf.com"
Channel "pear.michelf.com" is up to date
Updating channel "pear.netpirates.net"
Channel "pear.netpirates.net" is up to date
Updating channel "pear.nette.org"
Channel "pear.nette.org" is up to date
Updating channel "pear.pdepend.org"
Channel "pear.pdepend.org" is up to date
Updating channel "pear.phing.info"
Channel "pear.phing.info" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pear.phpdoc.org"
Channel "pear.phpdoc.org" is up to date
Updating channel "pear.phpmd.org"
Channel "pear.phpmd.org" is up to date
Updating channel "pear.phpunit.de"
Channel "pear.phpunit.de" is not responding over http://, failed with message: File http://pear.phpunit.de:80/channel.xml not valid (received: HTTP/1.1 410 Gone
)
Trying channel "pear.phpunit.de" over https:// instead
Cannot retrieve channel.xml for channel "pear.phpunit.de" (File https://pear.phpunit.de:443/channel.xml not valid (received: HTTP/1.1 410 Gone
))
Updating channel "pear.propelorm.org"
Channel "pear.propelorm.org" is up to date
Updating channel "pear.symfony-project.com"
Channel "pear.symfony-project.com" is up to date
Updating channel "pear.symfony.com"
Channel "pear.symfony.com" is up to date
Updating channel "pear.texy.info"
Channel "pear.texy.info" is up to date
Updating channel "pear.twig-project.org"
Channel "pear.twig-project.org" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
milen@milen-Inspiron-N5010:/opt/lampp/php$ sudo pear install --alldeps --force phpunit/phpunit
No releases available for package "pear.phpunit.de/phpunit"
install failed
milen@milen-Inspiron-N5010:/opt/lampp/php$ pear install PHP_CodeSniffer
No releases available for package "pear.php.net/PHP_CodeSniffer"
install failed
milen@milen-Inspiron-N5010:/opt/lampp/php$ sudo pear clear-cache
/tmp/pear/cache does not exist or is not a directory
milen@milen-Inspiron-N5010:/opt/lampp/php$ sudo pear clear-cache/tmp/pear/cache does not exist or is not a directory
milen@milen-Inspiron-N5010:/opt/lampp/php$ sudo pear update-channelsUpdating channel "components.ez.no"
Channel "components.ez.no" is up to date
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "guzzlephp.org/pear"
Channel "guzzlephp.org/pear" is up to date
Updating channel "nikic.github.com/pear"
Channel "nikic.github.com/pear" is up to date
Updating channel "pear.amazonwebservices.com"
Channel "pear.amazonwebservices.com" is up to date
Updating channel "pear.andrewsville.cz"
Channel "pear.andrewsville.cz" is up to date
Updating channel "pear.apache.org/log4php"
Channel "pear.apache.org/log4php" is up to date
Updating channel "pear.apache.org/oodt"
Channel "pear.apache.org/oodt" is up to date
Updating channel "pear.apache.org/zetacomponents"
Channel "pear.apache.org/zetacomponents" is up to date
Updating channel "pear.apigen.org"
Channel "pear.apigen.org" is not responding over http://, failed with message: File http://pear.apigen.org:80/channel.xml not valid (received: HTTP/1.1 404 Not Found
)
Trying channel "pear.apigen.org" over https:// instead
Cannot retrieve channel.xml for channel "pear.apigen.org" (File https://pear.apigen.org:443/channel.xml not valid (received: HTTP/1.1 500 Domain Not Found
))
Updating channel "pear.doctrine-project.org"
Channel "pear.doctrine-project.org" is up to date
Updating channel "pear.dropbox-php.com"
Channel "pear.dropbox-php.com" is up to date
Updating channel "pear.horde.org"
Channel "pear.horde.org" is up to date
Updating channel "pear.kukulich.cz"
Channel "pear.kukulich.cz" is up to date
Updating channel "pear.michelf.com"
Channel "pear.michelf.com" is up to date
Updating channel "pear.netpirates.net"
Channel "pear.netpirates.net" is up to date
Updating channel "pear.nette.org"
Channel "pear.nette.org" is up to date
Updating channel "pear.pdepend.org"
Channel "pear.pdepend.org" is up to date
Updating channel "pear.phing.info"
Channel "pear.phing.info" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pear.phpdoc.org"
Channel "pear.phpdoc.org" is up to date
Updating channel "pear.phpmd.org"
Channel "pear.phpmd.org" is up to date
Updating channel "pear.phpunit.de"
Channel "pear.phpunit.de" is not responding over http://, failed with message: File http://pear.phpunit.de:80/channel.xml not valid (received: HTTP/1.1 410 Gone
)
Trying channel "pear.phpunit.de" over https:// instead
Cannot retrieve channel.xml for channel "pear.phpunit.de" (File https://pear.phpunit.de:443/channel.xml not valid (received: HTTP/1.1 410 Gone
))
Updating channel "pear.propelorm.org"
Channel "pear.propelorm.org" is up to date
Updating channel "pear.symfony-project.com"
Channel "pear.symfony-project.com" is up to date
Updating channel "pear.symfony.com"
Channel "pear.symfony.com" is up to date
Updating channel "pear.texy.info"
Channel "pear.texy.info" is up to date
Updating channel "pear.twig-project.org"
Channel "pear.twig-project.org" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
它仍然无法下载任何东西,这是怎么回事?
最佳答案
phpunit 不再通过 pear 可用(自 2014 年 12 月起)。您可以将其下载为 .phar 文件或改为通过 composer 安装。
关于PEAR - 没有可用于包的版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28970081/
我正在使用 Gunicorn 为 Django 应用程序提供服务,它工作正常,直到我将其超时时间从 30 秒更改为 900000 秒,我不得不这样做,因为我有一个用例需要上传和处理一个巨大的文件(过程
我有一个带有非常基本的管道的Jenkinsfile,它可以旋转docker容器: pipeline { agent { dockerfile { args '-u root' } } stag
在学习 MEAN 堆栈的过程中,我遇到了一个问题。每当我尝试使用 Passport 验证方法时,它都不会返回任何响应。我总是收到“localhost没有发送任何数据。ERR_EMPTY_RESPONS
在当今的大多数企业堆栈中,数据库是我们存储所有秘密的地方。它是安全屋,是待命室,也是用于存储可能非常私密或极具价值的物品的集散地。对于依赖它的数据库管理员、程序员和DevOps团队来说,保护它免受所
是否可以创建像图片上那样的边框?只需使用 css 边框属性。最终结果将是没 Angular 盒子。我不想添加额外的 html 元素。我只想为每个 li 元素添加 css 边框信息。 假设这是一个 ul
我是一名优秀的程序员,十分优秀!