From: Martin DeMello <martindemello@gmail.com>
To: OCaml List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] is this an opam bug or something i'm doing wrong?
Date: Wed, 27 Aug 2014 00:45:35 -0700 [thread overview]
Message-ID: <CAFrFfuFrEcbCAovYXqBdrWL936roo_AQ7fBkwCkiq2jpNLfQzQ@mail.gmail.com> (raw)
In-Reply-To: <CAFrFfuHqMWZYWmKCCLHgVO2wHctw4ULyMBOCn-Hu-63PuzX_tg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2478 bytes --]
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 <martindemello@gmail.com>
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
>
>
[-- Attachment #2: Type: text/html, Size: 4038 bytes --]
next prev parent reply other threads:[~2014-08-27 7:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-27 7:18 Martin DeMello
2014-08-27 7:45 ` Martin DeMello [this message]
2014-08-27 7:59 ` Martin DeMello
2014-08-27 9:27 ` Daniel Bünzli
2014-08-27 20:28 ` Martin DeMello
2014-08-27 22:48 ` Anil Madhavapeddy
2014-08-27 23:02 ` Martin DeMello
2014-08-28 6:55 ` Vincent B.
2014-08-28 7:04 ` Martin DeMello
2014-08-27 12:53 ` Ashish Agarwal
2014-08-27 20:26 ` Martin DeMello
2014-08-27 22:55 ` Ashish Agarwal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFrFfuFrEcbCAovYXqBdrWL936roo_AQ7fBkwCkiq2jpNLfQzQ@mail.gmail.com \
--to=martindemello@gmail.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).