Package: otrs2
Version: 3.2.11-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install,
remove (but not purge), and install again.
Before the second installation the package is in config-files-remaining
state. The configuration is remaining from the last version that was
successfully configured - which is the same version that is going to be
installed again.

Like a plain failure on initial install this makes the package too buggy
for a release, thus the severity.

>From the attached log (scroll to the bottom...):

0m49.2s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpbKbXxi', 
'apt-get', '-y', 'install', 'otrs2=3.2.11-1']
0m54.2s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Suggested packages:
    otrs2-doc-en otrs2-doc-de libnet-ldap-perl libjson-xs-perl
    libnet-smtp-tls-butmaintained-perl libtext-csv-xs-perl
    libencode-hanextra-perl
  Recommended packages:
    procmail maildrop aspell ispell
  The following NEW packages will be installed:
    otrs2
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 4451 kB of archives.
  After this operation, 60.5 MB of additional disk space will be used.
  Get:1 http://ftp.de.debian.org/debian/ sid/main otrs2 all 3.2.11-1 [4451 kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 4451 kB in 0s (29.3 MB/s)
  Selecting previously unselected package otrs2.
  (Reading database ... 15282 files and directories currently installed.)
  Unpacking otrs2 (from .../otrs2_3.2.11-1_all.deb) ...
  Warning: The home dir /usr/share/otrs you specified can't be accessed: No 
such file or directory
  Adding system user `otrs' (UID 151) ...
  Adding new user `otrs' (UID 151) with group `www-data' ...
  Not creating home directory `/usr/share/otrs'.
  Setting up otrs2 (3.2.11-1) ...
  dbconfig-common: writing config to /etc/dbconfig-common/otrs2.conf
  
  Creating config file /etc/dbconfig-common/otrs2.conf with new version
  
  Creating config file /etc/otrs/database.pm with new version
  granting access to database otrs2 for otrs@localhost: success.
  verifying access for otrs@localhost: success.
  creating database otrs2: success.
  verifying database otrs2 exists: success.
  populating database via sql...  done.
  dbconfig-common: flushing administrative password
  
  Creating config file /etc/otrs/Kernel/Config.pm with new version
  
  Creating config file /etc/otrs/Kernel/Config/GenericAgent.pm with new version
  
  Creating config file /etc/otrs/maintenance.html with new version
  
  Creating config file /etc/otrs/cron with new version
  
  Creating config file /etc/otrs/fetchmailrc with new version
  apache2_invoke perl: already enabled
  invoke-rc.d: policy-rc.d denied execution of restart.
  apache2_invoke: Enable module rewrite
  invoke-rc.d: policy-rc.d denied execution of restart.
  apache2_invoke: Enable module headers
  invoke-rc.d: policy-rc.d denied execution of restart.
  apache2_invoke deflate: already enabled
  invoke-rc.d: policy-rc.d denied execution of restart.
  Subroutine Load redefined at (eval 20) line 2.
  apache2_invoke: Enable configuration otrs2.conf
  invoke-rc.d: policy-rc.d denied execution of reload.
  invoke-rc.d: policy-rc.d denied execution of start.
0m54.2s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmpbKbXxi', 'apt-get', 
'-y', 'install', 'otrs2=3.2.11-1']
0m54.2s INFO: Running scripts post_install
0m54.2s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpbKbXxi', 
'apt-get', 'remove', 'otrs2']
0m54.9s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following packages were automatically installed and are no longer 
required:
[...]
  Use 'apt-get autoremove' to remove them.
  The following packages will be REMOVED:
    otrs2
  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  After this operation, 60.5 MB disk space will be freed.
  (Reading database ... 17780 files and directories currently installed.)
  Removing otrs2 ...
  invoke-rc.d: policy-rc.d denied execution of stop.
0m54.9s DEBUG: Command ok: ['chroot', '/tmp/piupartss/tmpbKbXxi', 'apt-get', 
'remove', 'otrs2']
0m54.9s INFO: Reinstalling after remove
[...]
0m55.6s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpbKbXxi', 
'apt-get', '-y', 'install', 'otrs2=3.2.11-1']
0m59.6s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Suggested packages:
    otrs2-doc-en otrs2-doc-de libnet-ldap-perl libjson-xs-perl
    libnet-smtp-tls-butmaintained-perl libtext-csv-xs-perl
    libencode-hanextra-perl
  Recommended packages:
    procmail maildrop aspell ispell
  The following NEW packages will be installed:
    otrs2
  debconf: delaying package configuration, since apt-utils is not installed
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/4451 kB of archives.
  After this operation, 60.5 MB of additional disk space will be used.
  Selecting previously unselected package otrs2.
  (Reading database ... 15292 files and directories currently installed.)
  Unpacking otrs2 (from .../otrs2_3.2.11-1_all.deb) ...
  Warning: The home dir /usr/share/otrs you specified can't be accessed: No 
such file or directory
  The system user `otrs' already exists. Exiting.
  Setting up otrs2 (3.2.11-1) ...
  dbconfig-common: writing config to /etc/dbconfig-common/otrs2.conf
  Replacing config file /etc/otrs/database.pm with new version
  dbconfig-common: flushing administrative password
  apache2_invoke perl: already enabled
  invoke-rc.d: policy-rc.d denied execution of restart.
  apache2_invoke rewrite: already enabled
  invoke-rc.d: policy-rc.d denied execution of restart.
  apache2_invoke headers: already enabled
  invoke-rc.d: policy-rc.d denied execution of restart.
  apache2_invoke deflate: already enabled
  invoke-rc.d: policy-rc.d denied execution of restart.
  Subroutine Load redefined at (eval 20) line 2.
  dpkg: error processing otrs2 (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   otrs2
  E: Sub-process /usr/bin/dpkg returned an error code (1)
0m59.6s ERROR: Command failed (status=100): ['chroot', 
'/tmp/piupartss/tmpbKbXxi', 'apt-get', '-y', 'install', 'otrs2=3.2.11-1']


The "Subroutine Load redefined at (eval 20) line 2." message appears in both
the first and the second installation, so there must be a different reason
for the failure.


cheers,

Andreas

Attachment: otrs2_3.2.11-1.log.gz
Description: GNU Zip compressed data

Reply via email to