Results 1 to 3 of 3

Thread: Can't find or install Metasploit using apt-get or aptitude

  1. #1
    Join Date
    2013-Nov
    Posts
    3

    Can't find or install Metasploit using apt-get or aptitude

    Hello,

    My metasploit instance was having trouble, so i tried to purge it and then reinstall. The purge was successful, but I could not reinstall metasploit because apt-get and aptitude seem to think te package does not exist.

    So then I used "apt-get remove metasploit" to completely remove metasploit. I am trying to reinstall it from scratch but I run into the following errors (msf doesnt exist):

    root@Imperiax:~#
    root@Imperiax:~# apt-get install metasploit
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package metasploit
    root@Imperiax:~# apt-get install metasploit-framework
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package metasploit-framework is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'metasploit-framework' has no installation candidate

    root@Imperiax:~# aptitude install metasploit
    Couldn't find any package matching "metasploit". However, the following
    packages contain "metasploit" in their description:
    w3af-console hexorbase w3af
    Couldn't find any package matching "metasploit". However, the following
    packages contain "metasploit" in their description:
    w3af-console hexorbase w3af
    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 candidate version found for metasploit-framework
    No candidate version found for 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:~#





    Thoughts? I am at a loss here, short of completely rebuilding my Kali image from original ISO. FYI, I am using the "bleeding edge" updates. However, this problem occured prior to me enabling that today.

  2. #2
    What does your source file look like?
    You may wish to read over this: http://docs.kali.org/general-use/kal...t-repositories

    Code:
    root@kali~$ cat /etc/apt/sources.list
    # 
    
    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42]/ kali contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130723-13:42]/ kali contrib main non-free
    
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    
    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    root@kali~$

  3. #3
    Join Date
    2013-Nov
    Location
    Behind The Scene
    Posts
    5
    You might want to use the git clone for metasploit installation over kali,give it a shot.
    The quieter you become, the more you can hear!

Similar Threads

  1. Install cannot find install media. USB install
    By PaulK in forum Installing Archive
    Replies: 3
    Last Post: 2022-08-04, 16:53
  2. Replies: 0
    Last Post: 2016-07-14, 13:24
  3. Replies: 1
    Last Post: 2015-04-02, 21:13
  4. Replies: 1
    Last Post: 2013-05-20, 06:55

Posting Permissions

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