Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75353 - [metasploit] msfconsole does not work

Attached to Project: Community Packages
Opened by Tommy Zhang (T-J-M) - Sunday, 17 July 2022, 11:28 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 18 July 2022, 19:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After recent system upgrades, msfconsole stopped working. This might be a result of ruby-reline with version 0.3.1 breaking dependencies of reline (0.2.5) specified in /opt/metasploit/Gemfile.lock

Additional info:
* package version(s) metasploit 6.2.5-1 ruby-reline 0.3.1-1
* config and/or log files etc.
```
[tjm@ArchPad metasploit]$ msfconsole
Could not find reline-0.2.5 in any of the sources
Run `bundle install` to install missing gems.
[tjm@ArchPad metasploit]$
```

Steps to reproduce:
1. Install Metasploit from pacman
2. Run command `msfconsole`
This task depends upon

Closed by  Levente Polyak (anthraxx)
Monday, 18 July 2022, 19:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  6.2.7-1
Comment by Levente Polyak (anthraxx) - Monday, 18 July 2022, 17:57 GMT
The error message is misleading and has to do with devendoring reline from ruby into dedicated stdlib meta packages. For vendored dependencies, bundler assumed them as system provided and did not vendor them into metasploit. The fix is a simple rebuild of metasploit, which makes bundler pick up reline and bake it into the vendor dir of metasploit

Loading...