Public bug reported:

When upgrading from tomcat 8.0.32-1ubuntu1.3 to 8.0.32-1ubuntu1.4 I get
an error and I can't continue with the installation

Setting up tomcat8 (8.0.32-1ubuntu1.4) ...
dpkg: error processing package tomcat8 (--configure):
 subprocess installed post-installation script returned error exit status 128

It's the same error that can be found in debian with bug 853173 at
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853173) still
unsolved

So far the only solution has been to remove the configuration files
until the install have been done:

#backup
mv /etc/tomcat8 /etc/tomcat8_old
mv /etc/default/tomcat8 /etc/default/tomcat8_old
#create dummy folders for the installer
mkdir -p /etc/tomcat8/policy.d
mkdir -p /etc/tomcat8/Catalina
#install
apt-get install tomcat8
#delete new conf files and place the previous ones
rm -Rf /etc/tomcat8 /etc/default/tomcat8
cp -a /etc/default/tomcat8_old /etc/default/tomcat8
cp -a /etc/tomcat8_old /etc/tomcat8


The output of lsb_release -a
Distributor ID: Ubuntu                                                          
                                                       
Description:    Ubuntu 16.04.2 LTS                                              
                                                       
Release:        16.04                                                           
                                                       
Codename:       xenial

** Affects: tomcat8 (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #853173
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853173

** Also affects: tomcat7 via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853173
   Importance: Unknown
       Status: Unknown

** No longer affects: tomcat7

** Description changed:

  When upgrading from tomcat 8.0.32-1ubuntu1.3 to 8.0.32-1ubuntu1.4 I get
  an error and I can't continue with the installation
  
- 
  Setting up tomcat8 (8.0.32-1ubuntu1.4) ...
  dpkg: error processing package tomcat8 (--configure):
-  subprocess installed post-installation script returned error exit status 128
+  subprocess installed post-installation script returned error exit status 128
  
  It's the same error that can be found in debian with bug 853173 at
  (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853173) still
  unsolved
  
- 
- So far the only solution has been to remove the configuration files until the 
install have been done:
+ So far the only solution has been to remove the configuration files
+ until the install have been done:
  
  #backup
  mv /etc/tomcat8 /etc/tomcat8_old
  mv /etc/default/tomcat8 /etc/default/tomcat8_old
  #create dummy folders for the installer
  mkdir -p /etc/tomcat8/policy.d
  mkdir -p /etc/tomcat8/Catalina
  #install
  apt-get install tomcat8
  #delete new conf files and place the previous ones
  rm -Rf /etc/tomcat8 /etc/default/tomcat8
  cp -a /etc/default/tomcat8_old /etc/default/tomcat8
  cp -a /etc/tomcat8_old /etc/tomcat8
+ 
+ 
+ The output of lsb_release -a
+ Distributor ID: Ubuntu                                                        
                                                         
+ Description:    Ubuntu 16.04.2 LTS                                            
                                                         
+ Release:        16.04                                                         
                                                         
+ Codename:       xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705237

Title:
  Tomcat Setting up tomcat8 (8.0.32-1ubuntu1.4) ... dpkg: error
  processing package tomcat8 (--configure):  subprocess installed post-
  installation script returned error exit status 128

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/1705237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to