Whenever I use 'apt-get' for anything (Install, Update, Upgrade ect.) I get this error:
Code:
Setting up dradis (3.6.0-0kali1) ...
Warning: The home dir /var/lib/dradis you specified already exists.
The system user `dradis' already exists. Exiting.
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from require at /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:91)
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from require at /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:91)
Faraday::Builder is now Faraday::RackBuilder.
== 20120212153131 AddPostionToNode: migrating =================================
-- add_column(:nodes, :position, :integer)
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: no such table: nodes: ALTER TABLE "nodes" ADD "position" integer
bin/rails:4:in `require'
bin/rails:4:in `<main>'
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: nodes: ALTER TABLE "nodes" ADD "position" integer
bin/rails:4:in `require'
bin/rails:4:in `<main>'
SQLite3::SQLException: no such table: nodes
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
dpkg: error processing package dradis (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
dradis
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried using apt-get --fix-missing and that makex no difference. I also did 'apt-get remove dradis' and then 'apt-get install dradis' and got the same error.
Anything I try to install automatically has this error on the bottom of it. I think that it is also causing other errors throughout my version of Kali.
Thanks for any help and advice you can give me.