This bug also leads to problems during removal, by the way:

else@butters ~ % sudo apt-get remove otrs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'otrs' is not installed, so not removed
The following packages were automatically installed and are no longer
required:
  calendar-timezones libmozjs18d tzdata-java
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up otrs2 (3.1.7+dfsg1-6) ...
dbconfig-common: writing config to /etc/dbconfig-common/otrs2.conf
Replacing config file /etc/otrs/database.pm with new version
Module rewrite already enabled
[ ok ] Reloading apache2 configuration (via systemctl): apache2.service.
DBI connect('database=otrs;host=localhost;port=3306;','otrs',...)
failed: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2) at /usr/share/otrs/Kernel/System/DB.pm
line 256
ERROR: OTRS-otrs.RebuildConfig.pl-10 Perl: 5.14.2 OS: linux Time: Tue
Feb 19 10:57:20 2013

 Message: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)

 Traceback (32213):
   Module: Kernel::System::DB::new (v1.144.2.1) Line: 227
   Module: ./bin/otrs.RebuildConfig.pl (v1.14) Line: 55

Got no DBObject! at /usr/share/otrs/Kernel/System/SysConfig.pm line 103.
dpkg: error processing otrs2 (--configure):
 subprocess installed post-installation script returned error exit
status 255
Errors were encountered while processing:
 otrs2
E: Sub-process /usr/bin/dpkg returned an error code (1)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to