Skip to content
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

mysql package is not install but "brew list" still see it #18484

Open
quantrpeter opened this issue Oct 3, 2024 · 1 comment
Open

mysql package is not install but "brew list" still see it #18484

quantrpeter opened this issue Oct 3, 2024 · 1 comment
Labels
bug Reproducible Homebrew/brew bug

Comments

@quantrpeter
Copy link

brew doctor output

mysql package is not install but "brew list" still see it


/Users/peter>brew list |grep mysql
mysql
[email protected]
/Users/peter>brew list mysql      
Error: No such keg: /usr/local/Cellar/mysql
/Users/peter>brew remove mysql
Error: No such keg: /usr/local/Cellar/mysql


### Verification

- [X] My "`brew doctor` output" above says `Your system is ready to brew.` and am still able to reproduce my issue.
- [X] I ran `brew update` twice and am still able to reproduce my issue.
- [X] This issue's title and/or description do not reference a single formula e.g. `brew install wget`. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

### `brew config` output

```shell
HOMEBREW_VERSION: 4.4.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 84c31175f11860129a9aaed40a13c549625e2db1
Last commit: 2 days ago
Core tap JSON: 03 Oct 08:03 UTC
Core cask tap JSON: 03 Oct 08:03 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.MFgsSL8mfs/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.3.5 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby
CPU: octa-core 64-bit skylake
Clang: 14.0.0 build 1400
Git: 2.46.2 => /usr/local/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 12.7.6-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2

What were you trying to do (and why)?

trying to list installed package and i see mysql, but it is not installed

What happened (include all command output)?

brew list | grep mysql

What did you expect to happen?

nothing

Step-by-step reproduction instructions (by running brew commands)

/Users/peter>brew list |grep mysql
mysql
[email protected]
/Users/peter>brew list mysql      
Error: No such keg: /usr/local/Cellar/mysql
/Users/peter>brew remove mysql
Error: No such keg: /usr/local/Cellar/mysql
@quantrpeter quantrpeter added the bug Reproducible Homebrew/brew bug label Oct 3, 2024
@carlocab
Copy link
Member

carlocab commented Oct 3, 2024

What's the output of brew doctor? And ls -la $(brew --cellar)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/brew bug
Projects
None yet
Development

No branches or pull requests

2 participants