Não é possível instalar o php5.6-curl no ubuntu 16.10. ppa é adicionado [fechado]

-3

Estou tentando instalar o pacote php5.6-curl. Ele foi instalado antes, mas eu fiz algumas coisas com um build manual de curl, então eu removi o pacote php5.6-curl do sistema. Eu também corri apt autoremove após esta operação.

Depois de criar coisas com sucesso, eu estava tentando reinstalar o pacote php5.6-curl do PPA e ele me mostrou isso.

$ 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

Tenho certeza de que o ppa: ondrej / php5-5.6 está instalado, já que o php5.6 está presente no sistema e o pacote php5.6-curl já havia sido instalado antes.

Eu também tentei adicionar o PPA novamente e executei apt-get update . Não tenho certeza do que essas mensagens significam.

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.

Em seguida, tentei verificar as extensões do php. Não há php5.6-curl mas eu sei que deveria estar lá.

$ 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

Eu também lancei um Ubuntu 16.04 limpo na nuvem e tentei fazer as mesmas ações.

  • Instale o php5.6, php5.6-curl.
  • Remover o curl e, em seguida, construí-lo manualmente
  • Instale novamente o php5.6-curl

Tudo funcionou como um encanto. E a lista das extensões é muito maior quando eu executo o apt-cache search php5.6 na nuvem Ubuntu.

    
por Dmitriy Suniaikin 13.08.2017 / 23:16

1 resposta

0

Não parece que ondrej tenha um ppa para 16.10, então é por isso que você não está encontrando. Mude seu repositório ppa de 16.10 (yakkety?) Para 16.04 (xenial) e você encontrará o php5.6-curl ... ou atualize para o 17.04.

nota: agora, se isso vai rodar na sua versão O sistema operacional é desconhecido ... Acabei de lhe apontar o arquivo / versão que você solicitou.

    
por heynnema 13.08.2017 / 23:55