Results 1 to 3 of 3

Thread: problems installing metasploit

  1. #1
    Join Date
    2021-May
    Posts
    4

    problems installing metasploit

    Hello, i am unsing kali-rolling 2024.23 and system is "up to date". I want to install metasploit with "sudo apt install metasploit-framework". This is resulting in the following error: Preparing to unpack .../13-metasploit-framework_6.4.30-0kali1_amd64.deb ... Unpacking metasploit-framework (6.4.30-0kali1) ... dpkg: error processing archive /tmp/apt-dpkg-install-DvXbZM/13-metasploit-framework_6.4.30-0kali1_amd64.deb (--unpack): unable to open '/usr/share/metasploit-framework/data/eicar.com.dpkg-new': No such file or directory Errors were encountered while processing: /tmp/apt-dpkg-install-DvXbZM/13-metasploit-framework_6.4.30-0kali1_amd64.deb Error: Sub-process /usr/bin/dpkg returned an error code (1) i unpacked the .deb file and the "eicar.com.dpkg-new" seems to be missing. Also i tested to install from rapid7 directly but with different result. Am i missing something???

  2. #2
    Join Date
    2021-Apr
    Posts
    1
    I asked a friend about this. Here's what he said:

    1. File System Issues or Corruption: There might be a file system issue preventing the creation of the necessary file during the installation. Running df -h can help check if the file system is full or nearly full.

    2. Permissions: There could be permission issues preventing the package manager from writing to the /usr/share directory. Running sudo ensures the necessary privileges are provided, but there could still be file ownership or permission misconfigurations.

    3. Broken Package or Dependencies: The package might be broken or there could be an issue with the downloaded .deb file. You could try the following commands to fix potential package or dependency issues:

    sudo apt --fix-broken install
    sudo dpkg --configure -a

    4. Conflicting Package Sources: The error message shows the package metasploit-framework_6.4.30-0kali1 is being installed from the Kali Linux repository. If this system is not running Kali or if conflicting repositories are enabled, this could be causing the issue. It may be worth checking which repositories are being used.

    5. Corrupted Download: The package might have been corrupted during download. Cleaning the package cache and reinstalling could help:

    sudo apt clean
    sudo apt update
    sudo apt install metasploit-framework

  3. #3
    Join Date
    2015-Nov
    Location
    CT
    Posts
    2
    sounds like you might have forgotten to chmod +x before you ran it?

Similar Threads

  1. metasploit start up problems
    By davey@500 in forum How-To Archive
    Replies: 2
    Last Post: 2020-02-19, 19:24

Tags for this Thread

Posting Permissions

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