Looks like 0.6.1 is the latest version that doesn't have a "depends" field, which would at least hint at why that one in particular got picked. but switching to 4.02.0+rc1 and trying again drops me back to 0.1.0. $ opam list Installed packages for 4.02.0+rc1: base-bigarray base Bigarray library distributed with the OCaml compiler base-threads base Threads library distributed with the OCaml compiler base-unix base Unix library distributed with the OCaml compiler ocp-indent 0.1.0 A simple tool to indent OCaml programs which according to opam show shouldn't even be an option: $ opam show ocp-indent package: ocp-indent version: 0.1.0 upstream-url: https://github.com/OCamlPro/ocp-indent/archive/0.1.0.tar.gz upstream-kind: http upstream-checksum: d8f4050700a12f77c0d157ac931cac5f homepage: https://github.com/OCamlPro/ocp-indent installed-version: ocp-indent.0.1.0 [4.02.0+rc1] available-versions: 0.6.0, 0.6.1, 0.6.2, 0.9.0, 0.9.2, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1 description: A simple tool to indent OCaml programs martin On Wed, Aug 27, 2014 at 12:18 AM, Martin DeMello wrote: > I installed opam from a fresh start (reinstalled opam itself, deleted my > .opam), ran "opam switch 4.01.0", and then tried to install ocp-indent, > which installed version 0.1.0. So I tried opam upgrade, which wanted to > install 0.6.1 even though there are later versions available: > > $ opam upgrade > The following actions will be performed: > - upgrade ocp-indent.0.1.0 to 0.6.1 > 0 to install | 0 to reinstall | 1 to upgrade | 0 to downgrade | 0 to remove > > =-=-= Removing Packages =-=-= > Removing ocp-indent.0.1.0. > ./configure --prefix=/home/martin/.opam/4.01.0 > make uninstall > > =-=-= Installing ocp-indent.0.6.1 =-=-= > > ..... > > $ opam install ocp-indent > [NOTE] Package ocp-indent is already installed (current version is 0.6.1). > > $ opam install ocp-indent.1.4.1 > The following actions will be performed: > - install ocamlfind.1.5.2 [required by ocp-indent] > - install cmdliner.0.9.5 [required by ocp-indent] > - install typerex.1.99.6-beta [required by ocp-indent] > - install ocp-build.1.99.6-beta [required by ocp-indent] > - upgrade ocp-indent.0.6.1 to 1.4.1 > 4 to install | 0 to reinstall | 1 to upgrade | 0 to downgrade | 0 to remove > Do you want to continue ? [Y/n] y > >