package tomcat6 6.0.35-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
with the apt-get command i got this error
root@nccs:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libtcnative-1
The following NEW packages will be installed:
tomcat6
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.9 kB of archives.
After this operation, 256 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package tomcat6.
(Reading database ... 253743 files and directories currently installed.)
Unpacking tomcat6 (from .../tomcat6_
Processing triggers for ureadahead ...
Setting up tomcat6 (6.0.35-1ubuntu3) ...
chmod: cannot access `/etc/tomcat6/
dpkg: error processing tomcat6 (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@nccs:
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: tomcat6 6.0.35-1ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-26-
ApportVersion: 2.0.1-0ubuntu10
AptOrdering:
tomcat6: Install
tomcat6: Configure
Architecture: powerpc
Date: Tue Jul 3 15:12:56 2012
DuplicateSignature:
Setting up tomcat6 (6.0.35-1ubuntu3) ...
chmod: cannot access `/etc/tomcat6/
dpkg: error processing tomcat6 (--configure):
subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release powerpc (20120423.2)
PackageArchitec
SourcePackage: tomcat6
Title: package tomcat6 6.0.35-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
modified.
mtime.conffile.
tags: | removed: need-duplicate-check |
Thanks for taking the time to report this bug in Ubuntu.
It looks like you have a previous install of tomcat6 which you removed rather than purged and then remove the configuration files manually.
Please try purging tomcat6 and re-installing; this should resolve your issue.
Thanks.