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!
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!
FS#77479 - [metasploit] 6.2.36-1 error: unable to normalize alternate object
Attached to Project:
Community Packages
Opened by temp (temp) - Monday, 13 February 2023, 11:06 GMT
Last edited by kpcyrd (kpcyrd) - Wednesday, 15 February 2023, 18:58 GMT
Opened by temp (temp) - Monday, 13 February 2023, 11:06 GMT
Last edited by kpcyrd (kpcyrd) - Wednesday, 15 February 2023, 18:58 GMT
|
DetailsDescription:
metasploit : error: unable to normalize alternate object Additional info: * package version(s) : community/metasploit 6.2.36-1 Steps to reproduce: yay -S metasploit msfconsole error: unable to normalize alternate object path: /srcdest/metasploit-framework/objects |
This task depends upon
Closed by kpcyrd (kpcyrd)
Wednesday, 15 February 2023, 18:58 GMT
Reason for closing: Fixed
Additional comments about closing: metasploit-6.3.2-1-x86_64.pkg.tar.zst
Wednesday, 15 February 2023, 18:58 GMT
Reason for closing: Fixed
Additional comments about closing: metasploit-6.3.2-1-x86_64.pkg.tar.zst
[1] https://github.com/rapid7/metasploit-framework/issues/17604
% msfconsole -q
fatal: detected dubious ownership in repository at '/opt/metasploit'
To add an exception for this directory, call:
git config --global --add safe.directory /opt/metasploit
msf6 >
I can reproduce the nasm-shell error from the upstream issue:
% /opt/metasploit/tools/exploit/nasm_shell.rb
fatal: detected dubious ownership in repository at '/opt/metasploit'
To add an exception for this directory, call:
git config --global --add safe.directory /opt/metasploit
/opt/metasploit/lib/rex/ui/text/shell/history_manager.rb:63:in `clear_readline': uninitialized constant #<Class:#<HistoryManager stack size: 0>>::Readline (NameError)
from /opt/metasploit/lib/rex/ui/text/shell/history_manager.rb:99:in `switch_context'
from /opt/metasploit/lib/rex/ui/text/shell/history_manager.rb:29:in `push_context'
from /opt/metasploit/lib/rex/ui/text/shell.rb:133:in `run'
from /opt/metasploit/.tools/exploit/nasm_shell.rb:44:in `<main>'
% cat /opt/metasploit/.git/objects/info/alternates
/srcdest/metasploit-framework/objects
Are you running msfconsole as root, by chance?