package php7.0-common 7.0.4-7ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10

Bug #1760817 reported by sneha mane
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
php7.0 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

epends: liblapack3 but it is not going to be installed or
                        liblapack.so.3
               Recommends: r-recommended but it is not going to be installed
               Recommends: r-base-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: php7.0-common 7.0.4-7ubuntu2
ProcVersionSignature: Ubuntu 4.10.0-28.32~16.04.2-generic 4.10.17
Uname: Linux 4.10.0-28-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Tue Apr 3 15:21:54 2018
DpkgHistoryLog:
 Start-Date: 2018-04-03 15:21:46
 Commandline: aptdaemon role='role-install-file' sender=':1.72'
 Install: libgstreamer0.10-0:amd64 (0.10.36-1.5ubuntu1, automatic), libgstreamer-plugins-base0.10-0:amd64 (0.10.36-2, automatic)
DuplicateSignature:
 package:php7.0-common:7.0.4-7ubuntu2
 Setting up grub-pc (2.02~beta2-36ubuntu3) ...
 dpkg: error processing package grub-pc (--configure):
  subprocess installed post-installation script returned error exit status 10
ErrorMessage: subprocess installed post-installation script returned error exit status 10
InstallationDate: Installed on 2018-01-29 (64 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.3
 apt 1.2.24
SourcePackage: php7.0
Title: package php7.0-common 7.0.4-7ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
sneha mane (sneha02) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Joshua Powers (powersj) wrote :

Thank you for taking the time to file a bug report.

From the output you provided it appears that an install failed, but it
is unclear why. This is a question better for the community forums.

Since there is not enough information in your report to begin triage or to
differentiate between a local configuration problem and a bug in Ubuntu, I
am marking this bug as "Incomplete". We would be grateful if you would:
provide a more complete description of the problem, explain why you
believe this is a bug in Ubuntu rather than a problem specific to your
system, and then change the bug status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

Changed in php7.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for php7.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in php7.0 (Ubuntu):
status: Incomplete → Expired
Revision history for this message
crtlbreak (hauptfleisch) wrote :
Download full text (5.7 KiB)

Same for me on Debian Stretch

user@host:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.5 (stretch)
Release: 9.5
Codename: stretch
user@host:~$

user@host:~$ sudo apt-get update && sudo apt-get upgrade
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Hit:2 http://repo.mysql.com/apt/debian stretch InRelease
Ign:3 http://ftp.uk.debian.org/debian stretch InRelease
Hit:4 http://ftp.uk.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.uk.debian.org/debian stretch Release
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
14 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up php7.0-common (7.0.30-0+deb9u1) ...
dpkg: error processing package php7.0-common (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of php7.0-xml:
 php7.0-xml depends on php7.0-common (= 7.0.30-0+deb9u1); however:
  Package php7.0-common is not configured yet.

dpkg: error processing package php7.0-xml (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php7.0-bz2:
 php7.0-bz2 depends on php7.0-common (= 7.0.30-0+deb9u1); however:
  Package php7.0-common is not configured yet.

dpkg: error processing package php7.0-bz2 (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-4.9.0-6-amd64 (4.9.88-1+deb9u1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.9.0-6-amd64
/usr/sbin/update-initramfs: 191: /usr/sbin/update-initramfs: cannot create /var/lib/initramfs-tools/4.9.0-6-amd64: Directory nonexistent
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
dpkg: error processing package linux-image-4.9.0-6-amd64 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of php7.0-mysql:
 php7.0-mysql depends on php7.0-common (= 7.0.30-0+deb9u1); however:
  Package php7.0-common is not configured yet.

dpkg: error processing package php7.0-mysql (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php7.0-readline:
 php7.0-readline depends on php7.0-common (= 7.0.30-0+deb9u1); however:
  Package php7.0-common is not configured yet.

dpkg: error processing package php7.0-readline (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php7.0-opcache:
 php7.0-opcache depends on php7.0-common (= 7.0.30-0+deb9u1); however:
  Package php7.0-common is not configured yet.

dpkg: error processing package php7.0-opcache (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configura...

Read more...

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.