-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Transition from pkg-config
to pkgconf
not displayed in brew update
/brew outdated
/brew upgrade
#18788
Comments
The Usually what we do is add a rename. In this case we didn't and instead deleted Maybe one enhancement we could make here is to hide things from the "Deleted Installed Formulae" list if we detect it still exists as an alias. All the other output apart from that seems mostly correct. |
It's good to have some more background! Thanks for explaining. With regards to what I think should change, I think that what # brew outdated
pkgconf (0.29.2_3) < 2.3.0_1
# brew upgrade
==> Upgrading 1 outdated package:
pkg-config 2.3.0_1
...
==> Upgrading pkg-config
-> 2.3.0_1 It's a little confusing because I would expect the output to look like the following, which would be more internally consistent: # brew outdated
pkgconf (0.29.2_3) < 2.3.0_1
# brew upgrade
==> Upgrading 1 outdated package:
pkg-config 0.29.2_3 -> 2.3.0_1
...
==> Upgrading pkg-config
0.29.2_3 -> 2.3.0_1 That way, it at least shows both the version before and after. Something that I feel would be ideal is to show that a package replacement occurred: # brew outdated
pkgconf (0.29.2_3) < 2.3.0_1
# brew upgrade
==> Upgrading 1 outdated package:
pkg-config 0.29.2_3 -> pkgconf 2.3.0_1
...
==> Upgrading pkg-config
pkg-config 0.29.2_3 -> pkgconf 2.3.0_1 However, that would be a lot more complicated and possibly not worth the effort of implementing. |
Ah right didn't notice the broken It looks at |
@cho-m Could you take a look? Thanks! |
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 running
brew update
andbrew upgrade
, which I do most days to keep my install up-to-date.What happened (include all command output)?
When I updated my formulae last week, Homebrew did not properly express that it was replacing
pkg-config
withpkgconf
:What did you expect to happen?
I expected it to be clear that
pkg-config
was migrated topkgconf
, but the outputbrew update
,brew outdated
, andbrew upgrade
all provided different information, and none of it made clear what happened.I was only able to figure out what happened from Homebrew/homebrew-core@0c35794, and I should not need to go into the commit history to figure out what version
pkgconf
upgraded from.Step-by-step reproduction instructions (by running
brew
commands)Create a
Dockerfile
with the following contents:Build and run the OCI image with the following commands:
docker build --platform linux/amd64 --tag brew - <Dockerfile docker run --rm -it --platform linux/amd64 brew
Run the following commands to reproduce the output provided above:
The text was updated successfully, but these errors were encountered: