Erro ao instalar o php5-dev no ubuntu 14.04 [duplicado]

0

Obtendo a seguinte saída

sudo apt-get install php-pear php5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-pear is already the newest version.
The following NEW packages will be installed:
  php5-dev
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/357 kB of archives.
After this operation, 3,743 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 69707 files and directories currently installed.)
Preparing to unpack .../php5-dev_5.5.9+dfsg-1ubuntu4.21_amd64.deb ...
Unpacking php5-dev (5.5.9+dfsg-1ubuntu4.21) ...
dpkg: error processing archive /var/cache/apt/archives/php5-dev_5.5.9+dfsg-1ubuntu4.21_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/dh_php5', which is also in package dh-php5 0.3+deb.sury.org~precise+1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/php5-dev_5.5.9+dfsg-1ubuntu4.21_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Estou tentando instalar o oauth 1.0.0 no meu sistema usando esses comandos

apt-get install php-pear php5-dev
sudo apt-get install libpcre3-dev
sudo pecl install oauth-1.0.0
You should add "extension=oauth.so" to php.ini
restart apache
    
por iamvaruns 22.04.2017 / 08:51

0 respostas