package man-db 2.6.7.1-1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回了错误号 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
man-db (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC
Can't locate Debconf/Db.pm in @INC
dpkg: error processing package libpam0g:amd64 (--configure):
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: man-db 2.6.7.1-1
ProcVersionSign
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
AptOrdering:
libpam0g: Configure
man-db: Configure
Architecture: amd64
Date: Wed Nov 21 10:59:24 2018
DuplicateSignature: package:
ErrorMessage: 子进程 已安装 post-installation 脚本 返回了错误号 2
InstallationDate: Installed on 2018-10-24 (27 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: man-db
Title: package man-db 2.6.7.1-1 failed to install/upgrade: 子进程 已安装 post-installation 脚本 返回了错误号 2
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
"@INC contains: /usr/local/ perl/lib/ site_perl/ 5.26.2/ x86_64- linux /usr/local/ perl/lib/ site_perl/ 5.26.2 /usr/local/ perl/lib/ 5.26.2/ x86_64- linux /usr/local/ perl/lib/ 5.26.2"
man-db is just a stray victim here and doesn't really have anything to do with the actual problem, which is that you have a local perl installation in /usr/local/bin that's interfering with the debugging process. I strongly advise you to keep local perl installations in some other directory that isn't on the system $PATH for upgrades.