Apt-get update broke Kali installation of dradis


#1

Getting the following error after I performed a apt-get update; apt-get upgrade on Kali…

Warning: The home dir /var/lib/dradis you specified already exists.
The system user dradis' already exists. Exiting. /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:194:inblock in initialize’: undefined method add_root_vertex' for Molinillo::DependencyGraph:[]:Molinillo::DependencyGraph (NoMethodError) from /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:194:ininitialize’
from /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:181:in new' from /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:181:inresolve’
from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:200:in resolve' from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:140:inspecs’
from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:185:in specs_for' from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:174:inrequested_specs’
from /usr/lib/ruby/vendor_ruby/bundler/environment.rb:18:in requested_specs' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:13:insetup’
from /usr/lib/ruby/vendor_ruby/bundler.rb:127:in setup' from /usr/lib/ruby/vendor_ruby/bundler/setup.rb:8:in<top (required)>‘
from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in require' from /usr/local/lib/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:inrequire’
from /usr/lib/dradis/config/boot.rb:3:in <top (required)>' from bin/rake:2:inrequire_relative’
from bin/rake:2:in `’

dpkg: error processing package dradis (–configure):
subprocess installed post-installation script returned error exit status 1
Setting up redis-tools (2:3.2.3-1) …
Setting up redis-server (2:3.2.3-1) …
update-rc.d: We have no instructions for the redis-server init script.
update-rc.d: It looks like a non-network service, we enable it.
Processing triggers for libc-bin (2.23-4) …
Processing triggers for systemd (230-7) …
Errors were encountered while processing:
dradis
E: Sub-process /usr/bin/dpkg returned an error code (1)


#2

Hi @f00dl3,
Thanks for reaching out on this one! I did a quick search and came across this thread on StackExchange that looks identical to your error: http://askubuntu.com/questions/795232/dpkg-error-processing-package-dradis
Do any of the fixes there work for you? Keep us posted with any updates!

We’re recommending using the git install on Kali so you may want to check out this guide for more detailed installation instructions after you’ve resolved this error: http://dradisframework.org/documentation/install_kali.html