Skip to content

Could not update local repository on mac #3639

@feihong

Description

@feihong

Problem is identical to that described in #3433, but on Mac OS X instead of OpenBSD. My fix was to run brew install gpatch, after which opam update worked without issue. Perhaps you could update the Mac section of the install docs?

$ opam config report
# opam config report
# opam-version      2.0.0
# self-upgrade      no
# system            arch=x86_64 os=macos os-distribution=homebrew os-version=10.13.6
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              3
# repositories      1 (http), 2 (version-controlled) (default repo at 3e5ac5b0)
# pinned            1 (git)
# current-switch    /Users/fhsu/work/cool-project

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions