Closed gozes closed 3 years ago
Run
brew update-reset
then try again.
You seem to have deleted Formula/orgalorg.rb
. Did you do that on purpose, or are you running anti-virus software? If it's the latter, your anti-virus picked up a false positive with Formula/orgalorg.rb
.
@carlocab I have no clue whole Formula/orgalorg.rb thing is. I have not touch the brew git repo, I never do, so it may have been eset
Yes looks like eset is delating Formula/orgalorg.rb.
not much I can do because i don't control the eset sethings
so I did that update reest and the error when trying to run update whent away. that said I mare concern about the python error as it something I use every day. any reason why it happened or how can I fix it without braking my system
Actually even after running
brew update-reset
I'm still getting
Warning: You have uncommitted modifications to Homebrew/homebrew-core.
If this is a surprise to you, then you should stash these modifications.
Stashing returns Homebrew to a pristine state but can be undone
should you later need to do so for some reason.
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash && git clean -d -f
Uncommitted files:
D Formula/orgalorg.rb
when running brew doctor again
Please see the message from brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
If things are working for you, you can ignore the warnings. Note that many of the warnings also give you instructions on how to fix them if desired.
Hi, same issue for me, Eset antivirus finds Ruby/CoinMiner malware in this same file and moves it to quarantine on attempts to update brew.
That's a false positive. See discussion at https://github.com/Homebrew/discussions/discussions/1214.
Or you can have a look in the file yourself to check whether there is any bitcoin mining going on in the formula.
It seems the original poster at https://github.com/Homebrew/discussions/discussions/1214 reported to Eset that orgalorg.rb
was malware.
I'm not sure what they were trying to achieve with that, but you should probably report to Eset that the file is not malware, and the report was mistaken.
Thanks Carlo, makes sense
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputThe
brew doctor
above contains no "Warning" lines.What were you trying to do (and why)?
running brew update
What happened (include all command output)?
ESET gets trigger and the following output is displayed
error: cannot rebase: You have unstaged changes. error: Please commit or stash them. To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core, run: cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash pop
What did you expect to happen?
brew to update or tell me that is up to date
Step-by-step reproduction instructions (by running
brew
commands)