Results 1 to 2 of 2

Thread: Error when using apt-get

  1. #1
    Join Date
    2016-Mar
    Posts
    5

    Error when using apt-get

    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.

  2. #2
    Join Date
    2017-Jun
    Posts
    1
    Code:
    apt-get remove dradis && apt-get purge dradis
    rm -rf /var/lib/dradis
    apt-get install dradis
    That should fix the issues with any psuedo package like "kali-linux-full" you may be having as well.

Similar Threads

  1. Replies: 2
    Last Post: 2022-08-11, 20:10
  2. Replies: 1
    Last Post: 2022-01-14, 02:18
  3. Replies: 0
    Last Post: 2021-12-20, 21:35
  4. Replies: 0
    Last Post: 2016-05-09, 12:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •