package libapache2-mod-perl2 2.0.9-4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1712293 reported by Sagar Nikam
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libapache2-mod-perl2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

while installing bugzilla, this package needs to install.
After installing this pkg, it gives error for diff. configurations is uncomplete.

dpkg: error processing package libapache2-mod-perl2 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache2-mod-perl2-dev:
 libapache2-mod-perl2-dev depends on libapache2-mod-perl2 (>= 2.0.9-4ubuntu1); however:
  Package libapache2-mod-perl2 is not configured yet.
 libapache2-mod-perl2-dev depends on libapache2-mod-perl2 (<< 2.0.9-4ubuntu1.1~); however:
  Package libapache2-mod-perl2 is not configured yet.

dpkg: error processing package libapache2-mod-perl2-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-reload-perl:
 libapache2-reload-perl depends on libapache2-mod-perl2; however:
  Package libapache2-mod-perl2 is not configured yet.

dpkg: error processing package libapache2-reload-perl (--configure):
 dependency problems - leaving unconfigured
Setting up libmysqlclient20:amd64 (5.7.19-0ubuntu0.16.04.1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                            Setting up libdbd-mysql-perl (4.033-1ubuntu0.1) ...
Setting up libmysqlclient-dev (5.7.19-0ubuntu0.16.04.1) ...
Setting up libbsd-resource-perl (1.2909-1build1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 libapache2-mod-perl2
 libapache2-mod-perl2-dev
 libapache2-reload-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libapache2-mod-perl2 2.0.9-4ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Tue Aug 22 14:38:37 2017
DuplicateSignature:
 package:libapache2-mod-perl2:2.0.9-4ubuntu1
 Setting up libapache2-mod-perl2 (2.0.9-4ubuntu1) ...
 dpkg: error processing package libapache2-mod-perl2 (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-05-17 (461 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: libapache2-mod-perl2
Title: package libapache2-mod-perl2 2.0.9-4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-05-19 (460 days ago)
modified.conffile..etc.apache2.mods-available.perl.load: [deleted]

Revision history for this message
Sagar Nikam (sagarnikam123) 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.

It looks like something is up with the install, but it is non-obvious.
Can you try running the following and get the output:

`sudo apt-get install -f`

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 libapache2-mod-perl2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Sagar Nikam (sagarnikam123) wrote :

Find below is the output of `sudo apt-get install -f`

```
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libapache2-mod-perl2 (2.0.9-4ubuntu1) ...
dpkg: error processing package libapache2-mod-perl2 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache2-mod-perl2-dev:
 libapache2-mod-perl2-dev depends on libapache2-mod-perl2 (>= 2.0.9-4ubuntu1); however:
  Package libapache2-mod-perl2 is not configured yet.
 libapache2-mod-perl2-dev depends on libapache2-mod-perl2 (<< 2.0.9-4ubuntu1.1~); however:
  Package libapache2-mod-perl2 is not configured yet.

dpkg: error processing package libapache2-mod-perl2-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-reload-perl:
 libapache2-reload-perl depends on libapache2-mod-perl2; however:
  Package libapache2-mod-perl2 is not configured yet.

dpkg: error processing package libapache2-reload-perl (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                            Errors were encountered while processing:
 libapache2-mod-perl2
 libapache2-mod-perl2-dev
 libapache2-reload-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Please try this sequence of commands below and show us the results:

$ sudo su -
# export APACHE2_MAINTSCRIPT_DEBUG=1
# apt install --reinstall libapache2-mod-perl2

Thanks

Revision history for this message
Sagar Nikam (sagarnikam123) wrote :

@Andreas Hasenack
After executing above commands the pkg just got installed perfectly. thanks !!!

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Ok, I'll leave this bug open and marked as "incomplete". If you experience this again, or have more information about the issue, please comment here.

Thanks

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libapache2-mod-perl2 (Ubuntu) because there has been no activity for 60 days.]

Changed in libapache2-mod-perl2 (Ubuntu):
status: Incomplete → Expired
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.