Invalid package ID: <...>

382 views
Skip to first unread message

reverenhomer

unread,
Feb 27, 2017, 4:47:57 AM2/27/17
to haskell-stack
Hi all!

I cannot build "simple" package on ubuntu 16.04.1 with stack. What did I do:
  • install stack via "sudo apt install haskell-stack"
  • fetched template "simple" via "stack new simple"
  • execute "stack setup" from the "simple" directory because of compiler version mismatch ("simple wants lts-8.3 resolver while ubuntu has ghc-7.10.3 in the repo")
  • execute "stack build" to compile the project

And I got an error "Invalid package ID: "array-0.5.1.1 base-4.9.1.0 binary-0.8.3.0 bytestring-0.10.8.1"". And now I cannot even run "stack repl", I am getting the same error.

Can anybody help me with this?

Simon Jakobi

unread,
Feb 27, 2017, 5:04:48 AM2/27/17
to reverenhomer, haskell-stack
What's your "stack --version"?

--
You received this message because you are subscribed to the Google Groups "haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscribe@googlegroups.com.
To post to this group, send email to haskel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/d5b99aa5-16ed-4a48-b67a-3aca42f39f40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

reverenhomer

unread,
Feb 27, 2017, 5:11:27 AM2/27/17
to haskell-stack
Oops, sorry for the noise! Actually, I did upgrade of the stack, but because of $PATH I executed /usr/bin/stack every time instead of $HOME/.local/bin/stack. After removing haskell-stack package from the system the problem was solved. Thank you!


On Monday, 27 February 2017 13:04:48 UTC+3, Simon Jakobi wrote:
What's your "stack --version"?
2017-02-27 10:46 GMT+01:00 reverenhomer <mk.43...@gmail.com>:
Hi all!

I cannot build "simple" package on ubuntu 16.04.1 with stack. What did I do:
  • install stack via "sudo apt install haskell-stack"
  • fetched template "simple" via "stack new simple"
  • execute "stack setup" from the "simple" directory because of compiler version mismatch ("simple wants lts-8.3 resolver while ubuntu has ghc-7.10.3 in the repo")
  • execute "stack build" to compile the project

And I got an error "Invalid package ID: "array-0.5.1.1 base-4.9.1.0 binary-0.8.3.0 bytestring-0.10.8.1"". And now I cannot even run "stack repl", I am getting the same error.

Can anybody help me with this?

--
You received this message because you are subscribed to the Google Groups "haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stac...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages