Je suis en train d'installer certains paquets de poires tels que GnuPG dans un système d'exploitation Ubuntu dans VirtualBox, mais si je l'utilise sudo pecl install gnupg
, il jetteAucun communiqué disponible pour le paquet
No releases available for package "pecl.php.net/gnupg"
install failed
Il est non seulement passe pour GnuPG, mais pour tous les paquets de poires. Mais je ne pouvais pas identifier exactement le problème. La même commande fonctionne dans mon autre machine virtuelle. Donc je suis vraiment confus. S'il vous plaît aider.
Note:
PEAR Version: 1.9.4
PHP Version: 5.5.9-1ubuntu4
Zend Engine Version: 2.5.0
Running on: Linux udhay-dev 3.13.0-24-generiC#47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
C'est ce que la configuration de poire (en utilisant pear config-show
) montre,
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels auto_discover 1
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy http://foo.bar/
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /home/udhay-dev/pear/bin
PEAR documentation directory doc_dir /home/udhay-dev/pear/docs
PHP extension directory ext_dir /usr/lib/php5/20121212+lfs
PEAR directory php_dir /home/udhay-dev/pear/share/pear
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR configuration file cfg_dir /home/udhay-dev/pear/cfg
directory
PEAR data directory data_dir /home/udhay-dev/pear/data
PEAR Installer download download_dir /tmp/pear/install
directory
PHP CLI/CGI binary php_bin /usr/bin/php
php.ini location php_ini <not set>
--program-prefix passed to php_prefix <not set>
PHP's ./configure
--program-suffix passed to php_suffix <not set>
PHP's ./configure
PEAR Installer temp directory temp_dir /tmp/pear/install
PEAR test directory test_dir /home/udhay-dev/pear/tests
PEAR www files directory www_dir /home/udhay-dev/pear/www
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 2
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pear/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename /home/udhay-dev/.pearrc
System Configuration File Filename /etc/pear/pear.conf
Quand j'utilise pear clear-cache
, il montre,
Répertoire/tmp/poire/cache non trouvé.
Pour les commandes pear update-channels
et pear upgrade
, je suis arrivé,
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/http.so' - /usr/lib/php5/20121212/http.so: undefined symbol: php_persistent_handle_abandon in Unknown on line 0
Updating channel "doc.php.net"
Channel "doc.php.net" is not responding over http://, failed with message: Connection to `foo.bar:8080' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known
Trying channel "doc.php.net" over https:// instead
Cannot retrieve channel.xml for channel "doc.php.net" (Connection to `foo.bar:8080' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known)
Updating channel "pear.php.net"
Channel "pear.php.net" is not responding over http://, failed with message: Connection to `foo.bar:8080' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known
Trying channel "pear.php.net" over https:// instead
Cannot retrieve channel.xml for channel "pear.php.net" (Connection to `foo.bar:8080' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known)
Updating channel "pecl.php.net"
Channel "pecl.php.net" is not responding over http://, failed with message: Connection to `foo.bar:8080' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known
Trying channel "pecl.php.net" over https:// instead
Cannot retrieve channel.xml for channel "pecl.php.net" (Connection to `foo.bar:8080' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known)
pour effacer le cache. essayez de créer le répertoire puis voir ce qui se passe. pour http.so, essayez 'grep -Hrv"; "/etc/php5 | grep -i "extension =" 'et recherchez les fichiers php.ini parasites. alors 'sudo aptitude purge http' et' sudo aptitude install http' si cela ne fonctionne pas. – mAsT3RpEE