View Issue Details

IDProjectCategoryView StatusLast Update
0000204Kali LinuxTool Upgrade Requestpublic2020-12-01 10:48
ReporterPlastico Assigned Tobrandont  
Status resolvedResolutionfixed 
Platformx86OSKaliOS Version1.0
Summary0000204: Msfupdate - doesn't update?

When i run the msfupdate command, it ALWAYS says that there is no update available, but when i try this command on other distros, it ALWAYS updates something in Metasploit.

Steps To Reproduce

run "msfupdate"




2013-03-28 15:00

reporter   ~0000258

What version of metasploit is installed? Can you provide the output of:
dpkg -l | grep metasploit

The Metasploit packages for Kali are updated once per week from Rapid7's stable update tree. If you prefer bleeding edge git updates, you can use git to clone the open source framework from



2013-03-28 17:30

reporter   ~0000264


ii metasploit 4.5.3-2013032001-1kali0 i386 Penetration testing and exploit development tool with web-based interface
ii metasploit-framework 4.5.3-2013032001-1kali4 i386 Framework for exploit development and vulnerability research



2013-03-28 17:31

reporter   ~0000266

A new update was just released ( Can you try msfupdate now and see if it works?



2013-03-28 17:43

reporter   ~0000267

I tried msfupdate. As usual, the output is:

] Attempting to update the Metasploit Framework...

[] Checking for updates
] No updates available



2013-03-28 17:47

reporter   ~0000269

Thanks for the quick response. Can you run:

apt-get update

and then copy and paste the output of:

apt-cache policy metasploit-framework metasploit

In Kali, msfupdate looks at the difference between the currently installed version and the candidate version.



2013-03-28 17:54

reporter   ~0000270


Instalado: 4.5.3-2013032001-1kali4
Candidato: 4.5.3-2013032001-1kali4
Tabela de Versão:
4.5.3-2013032001-1kali4 0
500 kali/main i386 Packages
100 /var/lib/dpkg/status
Instalado: 4.5.3-2013032001-1kali0
Candidato: 4.5.3-2013032001-1kali0
Tabela de Versão:
4.5.3-2013032001-1kali0 0
500 kali/non-free i386 Packages
100 /var/lib/dpkg/status

Sorry, it's in portuguese

Instalado = Installed
Candidato = Candidate
Tabela de Versão = Version Table



2013-03-28 18:25

reporter   ~0000271

Thank you for your patience and quick feedback. There are two problems:

1) There is an error in the msfupdate code when the system language is not English. This will be fixed in next week's Metasploit update. A temporary workaround would be to run msfupdate in english:
LANG="en_US.UTF-8" msfupdate

2) On your install, apt-get update is not pulling the latest updates from the Kali server. When you run
apt-get update
you should see output similar to:
Hit kali/contrib Sources
Hit kali/non-free amd64 Packages
If you do not see this, ensure that your /etc/apt/sources.list file contains the following:
deb kali main contrib non-free
deb-src kali main contrib non-free
deb kali/updates main contrib non-free
deb-src kali/updates main contrib non-free



2013-03-28 18:31

reporter   ~0000272

No problem, i want to help improving kali!

1) It doesn't seem to work for me!

2) Output of apt-get update:
Hit kali-bleeding-edge InRelease
Hit kali-bleeding-edge/main i386 Packages
Hit kali InRelease
Hit kali/updates InRelease
Hit kali/main Sources
Hit kali/updates/main Sources
Hit kali/contrib Sources
Hit kali/updates/contrib Sources
Hit kali/non-free Sources
Hit kali/updates/non-free Sources
Hit kali/main i386 Packages
Hit kali/updates/main i386 Packages
Ign kali-bleeding-edge/main Translation-en_US
Hit kali/contrib i386 Packages
Ign kali-bleeding-edge/main Translation-en
Hit kali/updates/contrib i386 Packages
Hit kali/non-free i386 Packages
Hit kali/updates/non-free i386 Packages
Ign kali/updates/contrib Translation-en_US
Ign kali/updates/contrib Translation-en
Ign kali/updates/main Translation-en_US
Ign kali/contrib Translation-en_US
Ign kali/updates/main Translation-en
Ign kali/contrib Translation-en
Ign kali/updates/non-free Translation-en_US
Ign kali/main Translation-en_US
Ign kali/updates/non-free Translation-en
Ign kali/main Translation-en
Ign kali/non-free Translation-en_US
Ign kali/non-free Translation-en
Reading package lists... Done

Seems everything's fine right?

3) nano /etc/apt/sources.list :

deb kali main contrib non-free
deb-src kali main contrib non-free
deb kali/updates main contrib non-free
deb-src kali/updates main contrib non-free
deb kali-bleeding-edge main

Again, everything seems fine, right?



2013-04-03 17:48

reporter   ~0000317

This has been fixed in metasploit-framework 4.5.3-2013040301. Since msfupdate is broken for non-english locales prior to 2013040301, users should use apt to update:

apt-get update
apt-get install metasploit-framework metasploit

Plastico, we still need to understand why your apt cache isn't updating. Hopefully this was a timing issue and it is fixed now?

Issue History

Date Modified Username Field Change
2013-03-27 23:54 Plastico New Issue
2013-03-28 08:08 muts Assigned To => brandont
2013-03-28 08:08 muts Status new => assigned
2013-03-28 15:00 brandont Note Added: 0000258
2013-03-28 15:00 brandont Status assigned => feedback
2013-03-28 17:30 Plastico Note Added: 0000264
2013-03-28 17:30 Plastico Status feedback => assigned
2013-03-28 17:31 brandont Note Added: 0000266
2013-03-28 17:31 brandont Status assigned => feedback
2013-03-28 17:43 Plastico Note Added: 0000267
2013-03-28 17:43 Plastico Status feedback => assigned
2013-03-28 17:47 brandont Note Added: 0000269
2013-03-28 17:47 brandont Status assigned => feedback
2013-03-28 17:54 Plastico Note Added: 0000270
2013-03-28 17:54 Plastico Status feedback => assigned
2013-03-28 18:25 brandont Note Added: 0000271
2013-03-28 18:31 Plastico Note Added: 0000272
2013-04-03 17:48 brandont Note Added: 0000317
2013-04-03 17:48 brandont Status assigned => resolved
2013-04-03 17:48 brandont Resolution open => fixed
2020-12-01 10:48 g0tmi1k Priority high => normal
2021-05-31 13:37 rhertzog Category Tool Upgrade => Tool Upgrade Request