Tôi đang cố gắng cài đặt một số gói lê như gnupg trong hệ điều hành ubuntu trong VirtualBox, nhưng nếu tôi sử dụng sudo pecl install gnupg , nó sẽ ném No releases available for package "pecl.php.net/gnupg"
install failed
Nó không chỉ xảy ra cho gnupg, mà cho tất cả các gói lê.Nhưng tôi không thể xác định chính xác vấn đề là gì.Lệnh tương tự đang hoạt động trong một máy ảo khác của tôi.Vì vậy, tôi thực sự bối rối.Xin vui lòng giúp đỡ. 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
Đây là những gì cấu hình lê (sử dụng pear config-show ) hiển thị, 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
Khi tôi sử dụng pear clear-cache , nó hiển thị, Thư mục/TMP/PEAR/CACHE Không tìm thấy. Đối với các lệnh pear update-channels và pear upgrade , tôi đã nhận được, 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)
Có một câu hỏi về dự án này?Đăng ký một tài khoản GitHub miễn phí để mở một vấn đề và liên hệ với người bảo trì và cộng đồng của nó. Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Chọn tên người dùng Địa chỉ EmailPasswordBằng cách nhấp vào Đăng ký đăng ký cho GitHub, bạn đồng ý với Điều khoản dịch vụ và tuyên bố quyền riêng tư của chúng tôi.Chúng tôi thỉnh thoảng gửi cho bạn các email liên quan đến tài khoản. Đã có trên Github?đăng nhập vào tài khoản của bạn |