package otrs2 2.2.4-1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #240650 reported by codicealpha
8
Affects Status Importance Assigned to Milestone
otrs2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: otrs2

rino@muletto:/$ sudo apt-get install otrs2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  dbconfig-common libalgorithm-diff-perl libauthen-sasl-perl libconvert-binhex-perl
  libcrypt-passwdmd5-perl libdate-pcalc-perl libdigest-hmac-perl libdigest-sha1-perl
  libemail-valid-perl libfile-temp-perl libio-stringy-perl libmailtools-perl
  libmime-perl libmime-tools-perl libnet-dns-perl libnet-domain-tld-perl
  libnet-ip-perl libtext-diff-perl libtimedate-perl
Suggested packages:
  libgssapi-perl libnet-ldap-perl otrs2-doc-en otrs2-doc-de
Recommended packages:
  libapache2-mod-perl2 libgd-graph-perl libgd-text-perl procmail maildrop
The following NEW packages will be installed:
  dbconfig-common libalgorithm-diff-perl libauthen-sasl-perl libconvert-binhex-perl
  libcrypt-passwdmd5-perl libdate-pcalc-perl libdigest-hmac-perl libdigest-sha1-perl
  libemail-valid-perl libfile-temp-perl libio-stringy-perl libmailtools-perl
  libmime-perl libmime-tools-perl libnet-dns-perl libnet-domain-tld-perl
  libnet-ip-perl libtext-diff-perl libtimedate-perl otrs2
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 3374kB of archives.
After this operation, 17.9MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://it.archive.ubuntu.com hardy/universe dbconfig-common 1.8.38ubuntu1 [485kB]
Get:2 http://it.archive.ubuntu.com hardy/universe libalgorithm-diff-perl 1.19.01-2 [50.7kB]
Get:3 http://it.archive.ubuntu.com hardy/main libconvert-binhex-perl 1.119+pristine-2 [31.4kB]
Get:4 http://it.archive.ubuntu.com hardy/universe libcrypt-passwdmd5-perl 1.3-8 [10.3kB]
Get:5 http://it.archive.ubuntu.com hardy/universe libdate-pcalc-perl 1.2-2 [49.0kB]
Get:6 http://it.archive.ubuntu.com hardy/main libdigest-sha1-perl 2.11-2 [24.7kB]
Get:7 http://it.archive.ubuntu.com hardy/main libdigest-hmac-perl 1.01-6 [10.5kB]
Get:8 http://it.archive.ubuntu.com hardy/main libtimedate-perl 1.1600-9 [30.1kB]
Get:9 http://it.archive.ubuntu.com hardy/main libmailtools-perl 2.02-1 [96.6kB]
Get:10 http://it.archive.ubuntu.com hardy/universe libnet-ip-perl 1.25-2 [30.3kB]
Get:11 http://it.archive.ubuntu.com hardy/universe libnet-dns-perl 0.63-1 [261kB]
Get:12 http://it.archive.ubuntu.com hardy/universe libnet-domain-tld-perl 1.65-2 [10.4kB]
Get:13 http://it.archive.ubuntu.com hardy/universe libemail-valid-perl 0.179-1 [18.8kB]
Get:14 http://it.archive.ubuntu.com hardy/main libfile-temp-perl 0.20-0ubuntu1 [46.6kB]
Get:15 http://it.archive.ubuntu.com hardy/main libio-stringy-perl 2.110-3 [94.9kB]
Get:16 http://it.archive.ubuntu.com hardy/main libmime-tools-perl 5.425-2 [238kB]
Get:17 http://it.archive.ubuntu.com hardy/main libmime-perl 5.425-2 [20.3kB]
Get:18 http://it.archive.ubuntu.com hardy/universe libtext-diff-perl 0.35-2 [23.1kB]
Get:19 http://it.archive.ubuntu.com hardy/main libauthen-sasl-perl 2.10-1 [39.5kB]
Get:20 http://it.archive.ubuntu.com hardy/universe otrs2 2.2.4-1 [1802kB]
Fetched 3374kB in 0s (4762kB/s)
Preconfiguring packages ...
otrs2 failed to preconfigure, with exit status 10
Selecting previously deselected package dbconfig-common.
(Reading database ... 120978 files and directories currently installed.)
Unpacking dbconfig-common (from .../dbconfig-common_1.8.38ubuntu1_all.deb) ...
Selecting previously deselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.01-2_all.deb) ...
Selecting previously deselected package libconvert-binhex-perl.
Unpacking libconvert-binhex-perl (from .../libconvert-binhex-perl_1.119+pristine-2_all.deb) ...
Selecting previously deselected package libcrypt-passwdmd5-perl.
Unpacking libcrypt-passwdmd5-perl (from .../libcrypt-passwdmd5-perl_1.3-8_all.deb) ...
Selecting previously deselected package libdate-pcalc-perl.
Unpacking libdate-pcalc-perl (from .../libdate-pcalc-perl_1.2-2_all.deb) ...
Selecting previously deselected package libdigest-sha1-perl.
Unpacking libdigest-sha1-perl (from .../libdigest-sha1-perl_2.11-2_i386.deb) ...
Selecting previously deselected package libdigest-hmac-perl.
Unpacking libdigest-hmac-perl (from .../libdigest-hmac-perl_1.01-6_all.deb) ...
Selecting previously deselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.1600-9_all.deb) ...
Selecting previously deselected package libmailtools-perl.
Unpacking libmailtools-perl (from .../libmailtools-perl_2.02-1_all.deb) ...
Selecting previously deselected package libnet-ip-perl.
Unpacking libnet-ip-perl (from .../libnet-ip-perl_1.25-2_all.deb) ...
Selecting previously deselected package libnet-dns-perl.
Unpacking libnet-dns-perl (from .../libnet-dns-perl_0.63-1_i386.deb) ...
Selecting previously deselected package libnet-domain-tld-perl.
Unpacking libnet-domain-tld-perl (from .../libnet-domain-tld-perl_1.65-2_all.deb) ...
Selecting previously deselected package libemail-valid-perl.
Unpacking libemail-valid-perl (from .../libemail-valid-perl_0.179-1_all.deb) ...
Selecting previously deselected package libfile-temp-perl.
Unpacking libfile-temp-perl (from .../libfile-temp-perl_0.20-0ubuntu1_all.deb) ...
Selecting previously deselected package libio-stringy-perl.
Unpacking libio-stringy-perl (from .../libio-stringy-perl_2.110-3_all.deb) ...
Selecting previously deselected package libmime-tools-perl.
Unpacking libmime-tools-perl (from .../libmime-tools-perl_5.425-2_all.deb) ...
Selecting previously deselected package libmime-perl.
Unpacking libmime-perl (from .../libmime-perl_5.425-2_all.deb) ...
Selecting previously deselected package libtext-diff-perl.
Unpacking libtext-diff-perl (from .../libtext-diff-perl_0.35-2_all.deb) ...
Selecting previously deselected package libauthen-sasl-perl.
Unpacking libauthen-sasl-perl (from .../libauthen-sasl-perl_2.10-1_all.deb) ...
Selecting previously deselected package otrs2.
Unpacking otrs2 (from .../archives/otrs2_2.2.4-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 113) ...
Adding new user `otrs' (UID 113) with group `www-data' ...
Not creating home directory `/usr/share/otrs'.
Setting up dbconfig-common (1.8.38ubuntu1) ...

Setting up libalgorithm-diff-perl (1.19.01-2) ...
Setting up libconvert-binhex-perl (1.119+pristine-2) ...
Setting up libcrypt-passwdmd5-perl (1.3-8) ...
Setting up libdate-pcalc-perl (1.2-2) ...
Setting up libdigest-sha1-perl (2.11-2) ...
Setting up libdigest-hmac-perl (1.01-6) ...
Setting up libtimedate-perl (1.1600-9) ...
Setting up libmailtools-perl (2.02-1) ...
Setting up libnet-ip-perl (1.25-2) ...
Setting up libnet-dns-perl (0.63-1) ...
Setting up libnet-domain-tld-perl (1.65-2) ...
Setting up libemail-valid-perl (0.179-1) ...
Setting up libfile-temp-perl (0.20-0ubuntu1) ...
Setting up libio-stringy-perl (2.110-3) ...

Setting up libmime-tools-perl (5.425-2) ...
Setting up libmime-perl (5.425-2) ...
Setting up libtext-diff-perl (0.35-2) ...
Setting up libauthen-sasl-perl (2.10-1) ...
Setting up otrs2 (2.2.4-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/maintainance.html with new version

Creating config file /etc/otrs/cron with new version

Creating config file /etc/otrs/fetchmailrc with new version

Creating config file /etc/apache2/conf.d/otrs2 with new version
This module does not exist!
dpkg: error processing otrs2 (--configure):
 subprocess 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)
rino@muletto:/$

ProblemType: Package
Architecture: i386
Date: Tue Jun 17 13:14:11 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: otrs2 2.2.4-1
PackageArchitecture: all
SourcePackage: otrs2
Title: package otrs2 2.2.4-1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.24-19-generic i686

Revision history for this message
codicealpha (codicealpha) wrote :
Revision history for this message
Mike Kast (compcatalyst) wrote :

I have the same exact results as you. I also tried looking ot see if any of the dependencies were missing but none of them were missing.

Revision history for this message
Stefan Daniel Schwarz (Wolfram Ravenwolf) (stefandanielschwarz) wrote :

I encountered exactly the same problem.

Changed in otrs2:
status: New → Confirmed
Revision history for this message
kylemech (kylemech) wrote :

I'm having the same issue.

Revision history for this message
Insane_Homer (dkrhenderson) wrote :

Same problem on 8.04 LTS 32-bit. from sudo apt-get install otrs2

Revision history for this message
Insane_Homer (dkrhenderson) wrote :

found this here...
https://bugs.launchpad.net/ubuntu/+source/otrs2/+bug/226444/comments/8

sudo apt-get install libapache2-mod-perl2-dev

then retry the install and it worked fine!

Revision history for this message
marsteel (magang) wrote :

cool!Insane_Homer,your comment really helps me!:D

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.