brew install libusb не удалось woth Нет такой бочки: / usr / local / Cellar / libusb - PullRequest
0 голосов
/ 19 октября 2019
brew ls libusb

Error: No such keg: /usr/local/Cellar/libusb

juergenschubert@~ $ brew rm libusb --force

juergenschubert@~ $ brew uninstall --force libusb

juergenschubert@~ $ brew cleanup --force -s libusb

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.

        --prune                      Remove all cache files older than specified
                                     days.
    -n, --dry-run                    Show what would be removed, but do not
                                     actually remove anything.
    -s                               Scrub the cache, including downloads for
                                     even the latest versions. Note downloads
                                     for any installed formula or cask 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.
    -v, --verbose                    Make some output more verbose.
    -d, --debug                      Display any debugging information.
    -h, --help                       Show this message.
Error: invalid option: --force

brew --prune

Error: Unknown command: --prune

juergenschubert@/Library/Developer/CommandLineTools/Packages $ brew cleanup -s libusb

juergenschubert@/Library/Developer/CommandLineTools/Packages $ brew libusb
Error: Unknown command: libusb

juergenschubert@/Library/Developer/CommandLineTools/Packages $ brew prune
Error: Unknown command: prune

juergenschubert@/Library/Developer/CommandLineTools/Packages $ brew install libusb

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
No changes to formulae.

Error: /usr/local/opt/libusb is not a valid keg

juergenschubert@/Library/Developer/CommandLineTools/Packages $ brew install libusb
Error: /usr/local/opt/libusb is not a valid keg

juergenschubert@/Library/Developer/CommandLineTools/Packages $ 

Как мне установить libusb с brew?

...