Skip to content

Error while updating world-file when v1-installing cabal-install #7244

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

Closed
andreasabel opened this issue Jan 12, 2021 · 2 comments
Closed

Error while updating world-file when v1-installing cabal-install #7244

andreasabel opened this issue Jan 12, 2021 · 2 comments

Comments

@andreasabel
Copy link
Member

cabal-3.5.0.0 (master) crashes with garbled error message after v1-installing cabal-install:

$ cabal-3.5.0.0 v1-install cabal-install
Resolving dependencies...
Downloading  Cabal-3.2.1.0
...
Installing executable cabal in /Users/abel/.cabal/bin
Completed    cabal-install-3.2.0.0
Error while Error while updating world-file. : dieVerbatim: user error (cabal-3.5.0.0: Could not parse world file.
)

System information

  • Operating system: macOS Mojave
  • cabal 3.5.0.0
  • ghc 8.8.4

Additional context
I invoked above command to downgrade from cabal-master to cabal-released (3.2.x).

@fgaz
Copy link
Member

fgaz commented Jan 12, 2021

v1- is unsupported in currently maintained cabal-install versions

I should mention that we don't test any of v1- commands anymore.
The code is there, and if it works it is good, but if it doesn't,
we wont actively pursue fixing it (rather concentrating on whatever
issues are holding you from migration to v1-build).

Doesn't v2-install work for you?

@fgaz
Copy link
Member

fgaz commented Jan 14, 2021

I'll close this, but please open another issue if v2-install isn't working too.

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

No branches or pull requests

2 participants