Package: redmine Version: 2.5.1-2~bpo70+6 Severity: normal Tags: patch During installation the postinst throws an error.
Setting up redmine (2.5.1-2~bpo70+6) ... Creating config file /etc/redmine/default/session.yml with new version A new secret session key has been generated in /etc/redmine/default/session.yml Redmine instance "default" database must be configured manually. Clearing the cache directory for redmine instance "default". This may take a while. /var/lib/dpkg/info/redmine.postinst: 297: [: -ne: unexpected operator This should fix it: --- postinst.orig 2015-02-23 03:07:15.000000000 +1100 +++ postinst 2015-05-22 15:09:53.178357302 +1000 @@ -293,6 +293,7 @@ fi echo "Clearing the cache directory for redmine instance \"${lInstance}\". This may take a while." + fCode=0 rake -s tmp:cache:clear RAILS_ENV=$fRailsEnv X_DEBIAN_SITEID="${lInstance}" VERBOSE=$RAKE_VERBOSE || fCode=$? if [ $fCode -ne 0 ]; then echo "Error when clearing cache. You might need to clear the cache directory /var/cache/redmine/${lInstance}/ manually." Kind regards Vince -- System Information: Debian Release: 7.8 APT prefers oldstable APT policy: (990, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org