Results 1 to 4 of 4

Thread: Can't Update Metasploit Framework

  1. #1
    Join Date
    2017-May
    Posts
    2

    Can't Update Metasploit Framework

    Hi, all!

    Please help me, to update my Metasploit Framework,

    my sources list:

    Code:
    # deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ $
    
    #deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ k$
    
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    # deb-src http://http.kali.org/kali kali-rolling main non-free contrib
    Version OS:

    Code:
    root@kaliVM:~# lsb_release -a
    No LSB modules are available.
    Distributor ID:	Kali
    Description:	Kali GNU/Linux Rolling
    Release:	kali-rolling
    Codename:	kali-rolling
    root@kaliVM:~# uname -a
    Linux kaliVM 4.9.0-kali4-amd64 #1 SMP Debian 4.9.25-1kali1 (2017-05-04) x86_64 GNU/Linux
    root@kaliVM:~#
    Error i encounter:

    Code:
    root@kaliVM:~# msfupdate [*][*] Attempting to update the Metasploit Framework...[*]
    [*] Checking for updates via the APT repository[*] Note: expect weekly(ish) updates using this method
    /usr/bin/msfupdate:275:in `update_apt!': undefined method `blank?' for nil:NilClass (NoMethodError)
    	from /usr/bin/msfupdate:140:in `block in run!'
    	from /usr/bin/msfupdate:134:in `chdir'
    	from /usr/bin/msfupdate:134:in `run!'
    	from /usr/bin/msfupdate:326:in `<main>'
    Please help me in resolving the issue.

  2. #2
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    You normally don't need to run msfupdate, as the Kali repos keep MSF pretty up to date.

    That said, I'm seeing the same error as you. I'd report this bug over at the MSF github page.

  3. #3
    Join Date
    2016-Dec
    Posts
    806
    Don't use msfupdate, it was meant for distro that don't have metasploit packages as you can see in this bug report: https://bugs.kali.org/view.php?id=4039

  4. #4
    Join Date
    2017-May
    Posts
    2
    Thank for your help.

Similar Threads

  1. Metasploit & Veil Framework
    By Artnet in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2020-01-12, 12:52
  2. Replies: 0
    Last Post: 2016-04-21, 17:20
  3. Replies: 3
    Last Post: 2015-03-31, 14:50
  4. Metasploit Framework won't update!
    By murdoc in forum General Archive
    Replies: 1
    Last Post: 2014-11-03, 09:39

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
  •