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#76160 - [metasploit] dependencie issue: irb

Attached to Project: Community Packages
Opened by Alexandre ZANNI (noraj) - Monday, 10 October 2022, 13:39 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 11 October 2022, 20:48 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 0
Private No

Details

Description:

Launching msfconsole results in the following error:

```
$ msfconsole
Could not find irb-1.4.1 in locally installed gems
Run `bundle install` to install missing gems.
```

`/opt/metasploit/Gemfile.lock` clearly requires irb 1.4.1.

```
$ grep -r irb /opt/metasploit/**/Gemfile.lock
/opt/metasploit/Gemfile.lock: irb
/opt/metasploit/Gemfile.lock: irb (1.4.1)
```

ruby-irb (https://archlinux.org/packages/community/any/ruby-irb/) was recently updated to 1.4.2.

Seems like /opt/metasploit/Gemfile.lock should be updated.

There is no irb in `/opt/metasploit/vendor/` so to me it seems like it's rely on system irb.

Additional info:
* package version(s) : 6.2.17-2


This task depends upon

Closed by  Levente Polyak (anthraxx)
Tuesday, 11 October 2022, 20:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  6.2.21-1
Comment by Alexandre ZANNI (noraj) - Monday, 10 October 2022, 13:53 GMT
So, as far as I understand, either irb should be deployed by bundle in `/opt/metasploit/vendor/` or ruby-irb package should be listed as a dependency in the PKGBUILD and the lock file rebuilt after every bundler or irb update.
Comment by Toolybird (Toolybird) - Tuesday, 11 October 2022, 05:55 GMT
metasploit was just updated to 6.2.21-1

msfconsole seems to run fine in a clean chroot. i.e. I cannot repro. Could you please update and check?
Comment by Alexandre ZANNI (noraj) - Tuesday, 11 October 2022, 09:42 GMT
Solved with the release of 6.2.21-1

Loading...