Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opam 2.0.0~rc2 says it is version 2.0.0~rc #3388

Closed
RalfJung opened this issue Jun 4, 2018 · 2 comments
Closed

opam 2.0.0~rc2 says it is version 2.0.0~rc #3388

RalfJung opened this issue Jun 4, 2018 · 2 comments

Comments

@RalfJung
Copy link

RalfJung commented Jun 4, 2018

I tried to upgrade to opam 2 rc2. First I did opam update && opam upgrade, but that did not actually decide to update opam-devel. So I did opam install opam-devel.2.0.0~rc2, which did a bunch of stuff and then succeeded. However:

$ /home/r/.opam/system/lib/opam-devel/opam --version
2.0.0~rc

I tried opam reinstall opam-devel and even uninstall followed by install, to no avail -- opam still claims it is the old version. Did the upgrade fail, or is the version number just wrong? I think it is the latter, because opam --reinit is talking about these shell hooks that got added in the rc2.

$ opam config report
# opam config report
# opam-version      2.0.0~rc 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=testing
# 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              8
# repositories      4 (http), 5 (local), 1 (version-controlled) (default repo at 61536b7f)
# pinned            1 (rsync)
# current-switch    system
@AltGr
Copy link
Member

AltGr commented Jun 4, 2018

Sorry! It's indeed an error in the reported version, and if you get the option --reinit, it's definitely the `rc2. Thanks for reporting!

@RalfJung
Copy link
Author

With the release having happened, this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants