Debian 0.7.5->0.7.6 upgrade: Use of uninitialized value -------------------------------------------------------
Key: CASSANDRA-2665 URL: https://issues.apache.org/jira/browse/CASSANDRA-2665 Project: Cassandra Issue Type: Bug Components: Packaging Affects Versions: 0.7.6 Environment: Debian 5.0.8 Reporter: Viliam Holub When trying to upgrade Cassandra from 0.7.5 to 0.7.6 I'm getting this error message: Setting up cassandra (0.7.6) ... Installing new version of config file /etc/init.d/cassandra ... Use of uninitialized value $level in string ne at /usr/sbin/update-rc.d line 199. Use of uninitialized value $level in pattern match (m//) at /usr/sbin/update-rc.d line 200. update-rc.d: error: expected runlevel [0-9S] (did you forget "." ?) usage: update-rc.d [-n] [-f] <basename> remove update-rc.d [-n] <basename> defaults [NN | SS KK] update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] . -n: not really -f: force dpkg: error processing cassandra (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: cassandra E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up cassandra (0.7.6) ... Use of uninitialized value $level in string ne at /usr/sbin/update-rc.d line 199. Use of uninitialized value $level in pattern match (m//) at /usr/sbin/update-rc.d line 200. update-rc.d: error: expected runlevel [0-9S] (did you forget "." ?) usage: update-rc.d [-n] [-f] <basename> remove update-rc.d [-n] <basename> defaults [NN | SS KK] update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] . -n: not really -f: force dpkg: error processing cassandra (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: cassandra -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira