Skip to content

Post install fails for shared-mime-info on mojave #38213

@Say-XKCD

Description

@Say-XKCD

I ran brew update and brew upgrade, and while the upgrade was running the shared mime-info package showed the following:

==> Pouring shared-mime-info-1.12.mojave.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall shared-mime-info`

I tried the command as suggested and got the same result. The other packages installed successfully, so I believe this is an issue with the shared-mime-info code in particular.

I tried removing the downloaded packages (from ~/Library/Caches/Homebrew/downloads/) and running brew cleanup then repeated my update and upgrade commands, however still get this error.

The following is the output from brew doctor

$ 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!

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libEioPal.dylib
  /usr/local/lib/libTCMsgSrv2.dylib
  /usr/local/lib/libTCMsgSvr2.dylib

I have not removed them because it looks like those might be for my sound card, and I get a warning about permissions when I try (and I don't want to break anything). Below is the output from brew gist-logs

$ brew gist-logs shared-mime-info
Error: No logs.

I am able to reproduce this by running brew reinstall shared-mime-info

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedPR was locked due to age

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions