Results 1 to 5 of 5

Thread: updating Metasploit fails

  1. #1
    Join Date
    2013-Aug
    Posts
    5

    updating Metasploit fails

    Hello,

    I'm using Kali and update regularly. Since a few weeks updating Metasploit keeps failing and hanging. That's annoying but also the cause why dist-upgrade keeps failing.

    I'm running Kali in a VMware (Vmware fusion on OS X) which works fine so far. The following is what I get when trying to install or upgrade Metasploit:

    Code:
    root@kali:~# apt-get install metasploit
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      metasploit-framework
    The following packages will be upgraded:
      metasploit metasploit-framework
    2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 66.0 MB/208 MB of archives.
    After this operation, 202 MB of additional disk space will be used.
    Do you want to continue [Y/n]? 
    0% [Waiting for headers]
    I've read it could have something todo with metasploit switching from svn to git. Rapid7 writes in their blog (https://community.rapid7.com/thread/3622) about that, that in kali apt-get update should suffice. Unfortunately it does not. I haven't messed around with sources.list, just added the bleeding edge sources.

    Is there something I can do to repair this? My only other options seems to remove Metasploit and pull in the lastest git version.

    Thanks.

  2. #2
    Join Date
    2013-Mar
    Posts
    354
    Try removing it or reinstall it.

    I would first try to reinstall it:
    aptitude reinstall metasploit.

    If it still hangs or fails to work as intended, remove it:
    aptitude purge metasploit

    and then install it again:
    aptitude update
    aptitude install metasploit
    Last edited by maverik35; 2013-10-03 at 18:06.

  3. #3
    Join Date
    2013-Aug
    Posts
    5
    Tried reinstalling it, bit that didn't work. Purged is and tried to install it fresh. The packages just don't download and keep hanging:

    root@kali:/opt# aptitude install metasploit
    The following NEW packages will be installed:
    metasploit metasploit-framework{a} postgresql{a} wkhtmltopdf{a}
    0 packages upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
    Need to get 66.3 MB/210 MB of archives. After unpacking 462 MB will be used.
    Do you want to continue? [Y/n/?] y
    0% [Waiting for headers]

  4. #4
    Join Date
    2013-Aug
    Posts
    5
    I tried another way. Downloaded th VM version of Kali from the website. Staretd it up in VMWare fusion and updated and upgraded everything with aptitude. Metasploit won't upgrade in that either with th following message:

    root@kali:~# aptitude upgrade
    The following packages will be upgraded:
    metasploit metasploit-framework
    2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 66.1 MB/210 MB of archives. After unpacking 186 MB will be used.
    Do you want to continue? [Y/n/?]
    Err http://http.kali.org/kali/ kali/main metasploit-framework i386 4.7.2-2013101601-1kali0
    Connection failed [IP: 109.72.87.236 80]
    0% [Working]^C

  5. #5
    Join Date
    2013-Nov
    Posts
    3
    I am having the same problem. I tried purging and re-installing. The purge was successful, but the install command fails with both apt-get and aptitude. It seems metasploit-framework is the official name, but it still does not work.

    root@Imperiax:~# service metasploit start
    metasploit: unrecognized service

    root@Imperiax:~# aptitude install metasploit
    Couldn't find package "metasploit". However, the following
    packages contain "metasploit" in their name:
    metasploit-framework
    Couldn't find package "metasploit". However, the following
    packages contain "metasploit" in their name:
    metasploit-framework
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.

    root@Imperiax:~# aptitude install metasploit-framework
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.

    Any ideas?

Similar Threads

  1. Replies: 0
    Last Post: 2015-11-05, 22:52
  2. GRUB2 (sdb /sdb1) Fails.. AMD fails.. Airodump-bugs..
    By silencio in forum Installing Archive
    Replies: 1
    Last Post: 2014-04-29, 15:54
  3. Updating Metasploit requires fresh download
    By MegaMind in forum General Archive
    Replies: 0
    Last Post: 2013-11-24, 13:36

Posting Permissions

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