package libssh2-php 0.11.3-0.1build2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1237967 reported by Tom Worley
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
php-ssh2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The installer complains that /etc/php5/conf.d/ssh2.ini doesn't exist.
This is because the conf.d directory doesn't exist, the simple temporary workaround for this is to create the /etc/php5/conf.d directory, install then copy or symlink the file into /etc/php5/mods-available/ then run:
sudo php5enmod ssh2

I'm guessing here that the conf.d directory has been depreciated.

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: libssh2-php 0.11.3-0.1build2
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu1
AptOrdering:
 libssh2-php: Install
 libssh2-php: Configure
Architecture: amd64
Date: Thu Oct 10 11:36:04 2013
DuplicateSignature: package:libssh2-php:0.11.3-0.1build2:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2013-10-09 (1 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Beta amd64 (20131008)
MarkForUpload: True
SourcePackage: php-ssh2
Title: package libssh2-php 0.11.3-0.1build2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Tom Worley (tom-worley) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in php-ssh2 (Ubuntu):
status: New → Confirmed
Revision history for this message
WebPageTech (m-support) wrote :

#13.04 Desktop, Confirmed
#3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
sudo mkdir /etc/php5/conf.d/
sudo apt-get install libssh2-php
sudo ln -s /etc/php5/conf.d/ssh2.ini /etc/php5/mods-available/ssh2.ini
sudo php5enmod ssh2
sudo service apache2 restart

Revision history for this message
Richard Ayotte (rich-ayotte) wrote :

If conf.d has been deprecated then moving the file might be safer than linking it because when conf.d eventually disappears, so will your ini.

sudo mv /etc/php5/conf.d/ssh2.ini /etc/php5/mods-available/ssh2.ini

Revision history for this message
Mathieu Parent (math-parent) wrote :

This package has been completly reworked. Can you test again with version >= 0.12-3?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.