-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Homebrew cleanup message appearing after every command #17869
Comments
So does Also, what's the output of |
@gromgit Sorry for not mentioning in the original bug report, but I also ran those commands as well: brew --version
Homebrew 4.3.10
Usage: brew cleanup [options] [formula|cask ...]
Remove stale lock files and outdated downloads for all formulae and casks, and
remove old versions of installed formulae. If arguments are specified, only do
this for the given formulae and casks. Removes all downloads more than 120 days
old. This can be adjusted with HOMEBREW_CLEANUP_MAX_AGE_DAYS.
--prune Remove all cache files older than specified
days. If you want to remove everything, use
--prune=all.
-n, --dry-run Show what would be removed, but do not
actually remove anything.
-s, --scrub Scrub the cache, including downloads for even
the latest versions. Note that downloads for
any installed formulae or casks will still
not be deleted. If you want to delete those
too: rm -rf "$(brew --cache)"
--prune-prefix Only prune the symlinks and directories from
the prefix and remove no other files.
-d, --debug Display any debugging information.
-q, --quiet Make some output more quiet.
-v, --verbose Make some output more verbose.
-h, --help Show this message.
Error: invalid option: -l type brew
brew is /opt/homebrew/bin/brew
Usage: brew cleanup [options] [formula|cask ...]
Remove stale lock files and outdated downloads for all formulae and casks, and
remove old versions of installed formulae. If arguments are specified, only do
this for the given formulae and casks. Removes all downloads more than 120 days
old. This can be adjusted with HOMEBREW_CLEANUP_MAX_AGE_DAYS.
--prune Remove all cache files older than specified
days. If you want to remove everything, use
--prune=all.
-n, --dry-run Show what would be removed, but do not
actually remove anything.
-s, --scrub Scrub the cache, including downloads for even
the latest versions. Note that downloads for
any installed formulae or casks will still
not be deleted. If you want to delete those
too: rm -rf "$(brew --cache)"
--prune-prefix Only prune the symlinks and directories from
the prefix and remove no other files.
-d, --debug Display any debugging information.
-q, --quiet Make some output more quiet.
-v, --verbose Make some output more verbose.
-h, --help Show this message.
Error: invalid option: -l I think this is a one-time thing. No one else reported it. I tried downgrading but still got the |
OK, so your
|
|
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I was trying to use various commands for normal day-to-day operations:
cd sandbox
code .
brew config
What happened (include all command output)?
After every command, regardless of its purpose or success, the following message appears:
What did you expect to happen?
I expected commands to execute normally without this cleanup message appearing every time.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: