Results 1 to 4 of 4

Thread: Can't Update Metasploit Framework

  1. #1
    Junior Member
    Join Date
    May 2017
    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
    Senior Member
    Join Date
    Apr 2013
    Location
    in a computer
    Posts
    685
    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
    Senior Member
    Join Date
    Dec 2016
    Posts
    112
    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
    Junior Member
    Join Date
    May 2017
    Posts
    2
    Thank for your help.

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
  •