Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
None
-
Debian 5.0.8
-
Normal
Description
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