Package: otrs2
Version: 2.4.9+dfsg1-3
Severity: normal

Upgrading the otrs2 package fron version 2.2.7-2lenny3 to version 2.4.9+dfsg1-3 
failed
during a dist-upgrade from lenny to squeeze.

The failing code is in the preinst script:

----------------- start quote from the preinst script ------------------

  if [ ! -h "/var/lib/otrs/httpd/htdocs/yui/2.7.0/build" ]; then
          # Remove old yui build dir, so that dpkg replaces it with the
          # new symlink.
          rm -r /var/lib/otrs/httpd/htdocs/yui/2.7.0/build
  fi

----------------- end quote from the preinst script --------------------

On the system --before the upgrade-- is no file/link/dir/whatever called
"/var/lib/otrs/httpd/htdocs/yui/2.7.0/build".
The code quoted above runs during an upgrade and fails because it cann't
remove the non-existing "/var/lib/otrs/httpd/htdocs/yui/2.7.0/build".

Workaround: run "mkdir -p /var/lib/otrs/httpd/htdocs/yui/2.7.0/build"
before the upgrade.


-- System Information (after completion of the dist-upgrade):
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages otrs2 depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  apache2-mpm-worker [ht 2.2.16-6+squeeze1 Apache HTTP Server - high speed th
ii  dbconfig-common        1.8.46+squeeze.0  common framework for packaging dat
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libapache2-reload-perl 0.10-2            Reload Perl modules when changed o
ii  libauthen-sasl-perl    2.1500-1          Authen::SASL - SASL Authentication
ii  libcrypt-passwdmd5-per 1.3-9             interoperable MD5-based crypt() fo
ii  libdate-pcalc-perl     6.1-1             Perl module for Gregorian calendar
ii  libdbd-mysql-perl      4.016-1           Perl5 database interface to the My
ii  libdbi-perl            1.612-1           Perl Database Interface (DBI)
ii  libemail-valid-perl    0.184-1           Perl module for checking the valid
ii  libgd-graph-perl       1.44-3            Graph Plotting Module for Perl 5
ii  libgd-text-perl        0.86-5            Text utilities for use with GD
ii  libio-stringy-perl     2.110-4           Perl modules for IO from scalars a
ii  libjs-prototype        1.6.1-1           JavaScript Framework for dynamic w
ii  libjs-yui              2.8.2r1~squeeze-1 Yahoo User Interface Library
ii  libmail-pop3client-per 2.17-1            POP3 client module for perl
ii  libmailtools-perl      2.06-1            Manipulate email in perl programs
ii  libmime-tools-perl     5.428-1           Perl5 modules for MIME-compliant m
ii  libnet-imap-simple-per 1.1900-1          Perl module to manage an IMAP acco
ii  libnet-imap-simple-ssl 1.3-3             Subclass of Net::IMAP::Simple with
ii  libnet-smtp-ssl-perl   1.01-2            SSL support for Net::SMTP
ii  libpdf-api2-perl       0.73-1            module for creating or modifying P
ii  libsoap-lite-perl      0.712-2           Perl implementation of a SOAP clie
ii  libtext-csv-perl       1.18-1            comma-separated values manipulator
ii  libtext-diff-perl      1.37-1            Perl module to find differences in
ii  libxml-feedpp-perl     0.41-1            module to parse/write/merge/edit R
ii  libxml-parser-perl     2.36-1.1+b1       Perl module for parsing XML files
ii  perl                   5.10.1-17         Larry Wall's Practical Extraction 
ii  ucf                    3.0025+nmu1       Update Configuration File: preserv

Versions of packages otrs2 recommends:
ii  ispell                        3.1.20.0-7 International Ispell (an interacti
pn  mysql-server | postgresql     <none>     (no description available)
ii  procmail                      3.22-19    Versatile e-mail processor

Versions of packages otrs2 suggests:
ii  libnet-ldap-perl              1:0.4001-2 client interface to LDAP servers
pn  otrs2-doc-en | otrs2-doc-de   <none>     (no description available)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to