package cpp 4:4.6.1-2ubuntu5 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-defaults (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Happened during upgrade to Ubuntu 11.10.
ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: cpp 4:4.6.1-2ubuntu5
ProcVersionSign
Uname: Linux 2.6.38-12-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Nov 26 17:57:41 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: gcc-defaults
Title: package cpp 4:4.6.1-2ubuntu5 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to oneiric on 2011-11-26 (0 days ago)
affects: | ubuntu → gcc-defaults (Ubuntu) |
looks like an issue with the alternatives database
Setting up cpp-4.6 (4.6.1-9ubuntu3) ... alternatives: error: alternative link /lib/cpp is already managed by cpp.before_ restore_ 2011-10- 15_16.59. 22.317893.
Setting up cpp (4:4.6.1-2ubuntu5) ...
update-
dpkg: error processing cpp (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: error processing x11-xserver-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kde-workspace-bin:
kde-workspace-bin depends on x11-xserver-utils; however:
Package x11-xserver-utils is not configured yet.
dpkg: error processing kde-workspace-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kde-window-manager:
kde-window-manager depends on kde-workspace-bin; however:
Package kde-workspace-bin is not configured yet.
dpkg: error processing kde-window-manager (--configure):
dependency problems - leaving unconfigured