tomcat7 upgrades fail if /etc/tomcat7/tomcat-users.xml is removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat7 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I uninstalled tomcat6 manually, and encountered an error when I tried to install tomcat7.
When I updated unbuntu to 12.04 with tomcat7 not being fixed, met the error message above.
I'd appreciate any of your help. Thanks.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: tomcat7 7.0.26-1ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-24-
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Sat Jun 9 16:01:32 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
PackageArchitec
SourcePackage: tomcat7
Title: package tomcat7 7.0.26-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-06-09 (0 days ago)
The relevant part of the log is: tomcat7 d/tomcat7: No such file or directory tomcat- users.xml' : No such file or directory
Not replacing deleted config file /etc/default/
grep: /etc/logrotate.
chmod: cannot access `/etc/tomcat7/
dpkg: error processing tomcat7 (--configure):
subprocess installed post-installation script returned error exit status 1
--- wiki.ubuntu. com/BugSquad
Ubuntu Bug Squad volunteer triager
http://