package initscripts 2.88dsf-59.3ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Simply upgrading from 15.10 to 16.04.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: initscripts 2.88dsf-59.3ubuntu2
ProcVersionSign
Uname: Linux 4.2.0-27-generic i686
ApportVersion: 2.19.1-0ubuntu5
Architecture: i386
Date: Sat Aug 20 12:56:57 2016
DuplicateSignature: package:
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2015-08-05 (381 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release i386 (20150422)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
SourcePackage: sysvinit
Title: package initscripts 2.88dsf-59.3ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to xenial on 2016-08-20 (0 days ago)
tags: | removed: need-duplicate-check |
The error in the log is:
Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /etc/perl /usr/local/ lib/i386- linux-gnu/ perl/5. 20.2 /usr/local/ share/perl/ 5.20.2 /usr/lib/ i386-linux- gnu/perl5/ 5.20 /usr/share/perl5 /usr/lib/ i386-linux- gnu/perl/ 5.20 /usr/share/ perl/5. 20 /usr/local/ lib/site_ perl .) at /usr/sbin/ update- rc.d line 6. update- rc.d line 6.
BEGIN failed--compilation aborted at /usr/sbin/
dpkg: error processing package initscripts (--configure):
The strict.pm module is part of the perl-base package, which is an Essential package. With perl-base 5.20.2-6ubuntu0.2 in 15.10, this is available at /usr/share/ perl/5. 20/strict. pm, which is part of the listed path.
This looks to me like a broken installation, rather than a bug in an Ubuntu package. What version of perl-base is installed at this system, and is /usr/share/ perl/5. 20/strict. pm present?