Skip to content

Opam keep reinstalling conf-libX11 #4800

@fdagnat

Description

@fdagnat

Hello,

Since the upgrade to opam 2.1, each time I run opam upgrade, it wants to reinstall conf-libX11.

It seems there is a problem in the check of the presence of xquartz (I am on a mac). Because it is already installed:

brew install xquartz
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 1 cask.

Warning: Cask 'xquartz' is already installed.

To re-install xquartz, run:
  brew reinstall xquartz

And opam still want me to install it.

I tried reinstalling xquartz but this does not solve the problem.

opam config report

# opam config report
# opam-version         2.1.0
# self-upgrade         no
# system               arch=x86_64 os=macos os-distribution=homebrew os-version=10.14.6
# solver               builtin-mccs+glpk
# install-criteria     -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed
# upgrade-criteria     -removed,-count[avoid-version,changed],-count[version-lag,solution],-count[missing-depexts,changed],-new
# jobs                 7
# repositories         2 (http) (default repo at 12141eb0)
# pinned               0
# current-switch       4.10.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /Users/fdagnat/.opam/4.10.1/lib/ocaml/stublibs:/Users/fdagnat/.opam/4.10.1/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.10.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions