无法在 ubuntu 16.10 上再次安装 php5.6-curl。添加了 ppa。
Can't install again php5.6-curl on ubuntu 16.10. ppa is added.
我正在尝试安装 php5.6-curl 包。它之前安装过,但我用手动构建 curl 做了一些事情,所以我从系统中删除了 php5.6-curl 包。我也 运行 在此操作后自动删除。
所以,在成功构建东西之后,我试图调用 apt-get install php5.6-curl,它向我展示了这个。
dirst@dirst-machine:~$ sudo apt-get install php5.6-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5.6-curl is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5.6-curl' has no installation candidate
您可以确定 ppa:ondrej/php5-5.6 安装在我的 ubuntu 上,因为 php5.6 存在于系统中并且 php5.6- curl包之前已经安装好了。
我也尝试再次添加 ppa 和 运行 apt-get update。我不确定这条消息是什么意思。
http://ppa.launchpad.net/ondrej/php/ubuntu yakkety InRelease
.....
Fetched 107 kB in 3s (31.9 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/shutter/ppa/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://repo.skype.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3
W: The repository 'https://repo.skype.com/deb stable InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: https://linuxdesktopcloud.mail.ru/screenshoter/deb/dists/appind/InRelease: Signature by key 8A99BA500079839DF7DE4833196205AF7396FF77 uses weak digest algorithm (SHA1)
E: Failed to fetch http://ppa.launchpad.net/shutter/ppa/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
接下来我尝试检查 php 可用于 apt-cache 搜索的扩展 php5.6。没有 php5.6-curl 但我知道它应该在那里。
dirst@dirst-machine:~$ apt-cache search php5.6
php-igbinary - igbinary PHP serializer
php-msgpack - PHP extension for interfacing with MessagePack
php-ssh2 - Bindings for the libssh2 library
php-xdebug - Xdebug Module for PHP
php5.6-opcache - Zend OpCache module for PHP
php5.6-mysql - MySQL module for PHP
php5.6-json - JSON module for PHP
php5.6-common - documentation, examples and common module for PHP
php5.6 - server-side, HTML-embedded scripting language (metapackage)
php5.6-mcrypt - libmcrypt module for PHP
php5.6-readline - readline module for PHP
php5.6-gd - GD module for PHP
php5.6-xml - DOM, SimpleXML, WDDX, XML, and XSL module for PHP
php5.6-cli - command-line interpreter for the PHP scripting language
php5.6-mbstring - MBSTRING module for PHP
php5.6-ldap - LDAP module for PHP
libapache2-mod-php5.6 - server-side, HTML-embedded scripting language (Apache 2 module)
php-memcached - memcached extension module for PHP, uses libmemcached
我还在云中启动了 clean ubuntu 16.04 并尝试执行相同的操作。
- 安装 php5.6, php5.6-curl。
- 删除卷曲然后手动构建它
- 再次安装 php5.6-curl
一切都很顺利。当我在云 ubuntu.
上执行 apt-cache search php5.6 时,扩展列表太大了
我不知道我做错了什么,我不是很坚强 linux 伙计们,所以我不知道发生了什么。请帮忙。
askubuntu 的人提供了帮助。事情很明显。只需将 ppa repo 从 yakkety 更改为 xenial 即可。由于 yakkety 在回购中没有 php5.6-curl.
我正在尝试安装 php5.6-curl 包。它之前安装过,但我用手动构建 curl 做了一些事情,所以我从系统中删除了 php5.6-curl 包。我也 运行 在此操作后自动删除。
所以,在成功构建东西之后,我试图调用 apt-get install php5.6-curl,它向我展示了这个。
dirst@dirst-machine:~$ sudo apt-get install php5.6-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5.6-curl is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5.6-curl' has no installation candidate
您可以确定 ppa:ondrej/php5-5.6 安装在我的 ubuntu 上,因为 php5.6 存在于系统中并且 php5.6- curl包之前已经安装好了。
我也尝试再次添加 ppa 和 运行 apt-get update。我不确定这条消息是什么意思。
http://ppa.launchpad.net/ondrej/php/ubuntu yakkety InRelease
.....
Fetched 107 kB in 3s (31.9 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/shutter/ppa/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://repo.skype.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3
W: The repository 'https://repo.skype.com/deb stable InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: https://linuxdesktopcloud.mail.ru/screenshoter/deb/dists/appind/InRelease: Signature by key 8A99BA500079839DF7DE4833196205AF7396FF77 uses weak digest algorithm (SHA1)
E: Failed to fetch http://ppa.launchpad.net/shutter/ppa/ubuntu/dists/yakkety/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
接下来我尝试检查 php 可用于 apt-cache 搜索的扩展 php5.6。没有 php5.6-curl 但我知道它应该在那里。
dirst@dirst-machine:~$ apt-cache search php5.6
php-igbinary - igbinary PHP serializer
php-msgpack - PHP extension for interfacing with MessagePack
php-ssh2 - Bindings for the libssh2 library
php-xdebug - Xdebug Module for PHP
php5.6-opcache - Zend OpCache module for PHP
php5.6-mysql - MySQL module for PHP
php5.6-json - JSON module for PHP
php5.6-common - documentation, examples and common module for PHP
php5.6 - server-side, HTML-embedded scripting language (metapackage)
php5.6-mcrypt - libmcrypt module for PHP
php5.6-readline - readline module for PHP
php5.6-gd - GD module for PHP
php5.6-xml - DOM, SimpleXML, WDDX, XML, and XSL module for PHP
php5.6-cli - command-line interpreter for the PHP scripting language
php5.6-mbstring - MBSTRING module for PHP
php5.6-ldap - LDAP module for PHP
libapache2-mod-php5.6 - server-side, HTML-embedded scripting language (Apache 2 module)
php-memcached - memcached extension module for PHP, uses libmemcached
我还在云中启动了 clean ubuntu 16.04 并尝试执行相同的操作。 - 安装 php5.6, php5.6-curl。 - 删除卷曲然后手动构建它 - 再次安装 php5.6-curl
一切都很顺利。当我在云 ubuntu.
上执行 apt-cache search php5.6 时,扩展列表太大了我不知道我做错了什么,我不是很坚强 linux 伙计们,所以我不知道发生了什么。请帮忙。
askubuntu 的人提供了帮助。事情很明显。只需将 ppa repo 从 yakkety 更改为 xenial 即可。由于 yakkety 在回购中没有 php5.6-curl.