[Bug 1387856] [NEW] package libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4

2014-10-30 Thread Fernando Hevia
Public bug reported:

Error presented when performing a dist-upgrade from 12.04 LTS to 14.04.1
LTS

# lsb_release -rd
Description:Ubuntu 14.04.1 LTS
Release:14.04


# apt-cache policy libapache2-mod-php5
libapache2-mod-php5:
  Installed: 5.5.9+dfsg-1ubuntu4.5
  Candidate: 5.5.9+dfsg-1ubuntu4.5
  Version table:
 *** 5.5.9+dfsg-1ubuntu4.5 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 
Packages
100 /var/lib/dpkg/status
 5.5.9+dfsg-1ubuntu4 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Expected the dist-upgrade to complete without issues but it ended with
the following error:

~# do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1,146 kB]
Fetched 1,146 kB in 0s (0 B/s)
authenticate 'trusty.tar.gz' against 'trusty.tar.gz.gpg'
extracting 'trusty.tar.gz'
...
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.5) ...
ucfr: Attempt from package libapache2-mod-php5  to take 
/etc/php5/apache2/php.ini away from package php5-cli
ucfr: Aborting.
dpkg: error processing package libapache2-mod-php5 (--configure):
 subprocess installed post-installation script returned error exit status 4
Errors were encountered while processing:
 libapache2-mod-php5

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
NonfreeKernelModules: hcpdriver
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
Date: Thu Oct 30 19:27:25 2014
DuplicateSignature: 
package:libapache2-mod-php5:5.5.9+dfsg-1ubuntu4.5:subprocess installed 
post-installation script returned error exit status 4
ErrorMessage: subprocess installed post-installation script returned error exit 
status 4
SourcePackage: php5
Title: package libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5 failed to 
install/upgrade: subprocess installed post-installation script returned error 
exit status 4
UpgradeStatus: Upgraded to trusty on 2014-10-30 (0 days ago)

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package dist-upgrade trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1387856

Title:
  package libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1387856/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1387856] [NEW] package libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 4

2014-10-30 Thread Fernando Hevia
Public bug reported:

Error presented when performing a dist-upgrade from 12.04 LTS to 14.04.1
LTS

# lsb_release -rd
Description:Ubuntu 14.04.1 LTS
Release:14.04


# apt-cache policy libapache2-mod-php5
libapache2-mod-php5:
  Installed: 5.5.9+dfsg-1ubuntu4.5
  Candidate: 5.5.9+dfsg-1ubuntu4.5
  Version table:
 *** 5.5.9+dfsg-1ubuntu4.5 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 
Packages
100 /var/lib/dpkg/status
 5.5.9+dfsg-1ubuntu4 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Expected the dist-upgrade to complete without issues but it ended with
the following error:

~# do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [198 B]
Get:2 Upgrade tool [1,146 kB]
Fetched 1,146 kB in 0s (0 B/s)
authenticate 'trusty.tar.gz' against 'trusty.tar.gz.gpg'
extracting 'trusty.tar.gz'
...
Setting up libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.5) ...
ucfr: Attempt from package libapache2-mod-php5  to take 
/etc/php5/apache2/php.ini away from package php5-cli
ucfr: Aborting.
dpkg: error processing package libapache2-mod-php5 (--configure):
 subprocess installed post-installation script returned error exit status 4
Errors were encountered while processing:
 libapache2-mod-php5

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
NonfreeKernelModules: hcpdriver
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
Date: Thu Oct 30 19:27:25 2014
DuplicateSignature: 
package:libapache2-mod-php5:5.5.9+dfsg-1ubuntu4.5:subprocess installed 
post-installation script returned error exit status 4
ErrorMessage: subprocess installed post-installation script returned error exit 
status 4
SourcePackage: php5
Title: package libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5 failed to 
install/upgrade: subprocess installed post-installation script returned error 
exit status 4
UpgradeStatus: Upgraded to trusty on 2014-10-30 (0 days ago)

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package dist-upgrade trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1387856

Title:
  package libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.5 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1387856/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 870379] [NEW] postgresql service stop fails

2011-10-07 Thread Fernando Hevia
Public bug reported:

# lsb_release -rd
Description:Ubuntu 10.04.3 LTS
Release:10.04

# apt-cache policy postgresql-9.0
postgresql-9.0:
  Installed: 9.0.4-1~lucid1
  Candidate: 9.0.5-1~lucid
  Version table:
 9.0.5-1~lucid 0
500 http://ppa.launchpad.net/pitti/postgresql/ubuntu/ lucid/main 
Packages
 *** 9.0.4-1~lucid1 0
100 /var/lib/dpkg/status

Error description:
Unable to stop postgresql service after trying to upgrade to postgresql-9.05 
from 9.04 (package upgrade failed)


# service postgresql stop
 * Stopping PostgreSQL 9.0 database server
 * Error: Could not open /proc/714/comm


Problem seems to lie in /usr/share/postgresql-common/PgCommon.pm:532
  if (open PS, /proc/$pid/comm) {

as  'comm' doesn't exist in /proc/$pid
changed it to: 

if (open PS, /proc/$pid/cmdline) {

which solves the problem.

** Affects: postgresql-common (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: pgcommon.pm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/870379

Title:
  postgresql service stop fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/870379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs