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

Installation: stack command fails with "specified targets matched no packages" #39

Open
Charlweed opened this issue Feb 9, 2023 · 0 comments

Comments

@Charlweed
Copy link

Attempting a first-time install on ubuntu 22.04. The installation instructions did not mention that users need to clone the adblock2privoxy repo first, and then run the script in the README.me from within the cloned repository. However, once I figured that out, I found that this installation failed at the "stack" phase. The stack error is:

stack install --local-bin-path /usr/local/bin --allow-different-user
Error: [S-8506]
Error parsing targets: The specified targets matched no packages.
Perhaps you need to run 'stack init'?

I then ran stack init but that gave the error:

Error: [S-2422]
       Snapshot https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/10.yaml does not have all the packages to match
       your requirements.

           parsec-permutation not found
               - adblock2privoxy requires >=0.1.2.0

       This may be resolved by:
       * Using --omit-packages to exclude mismatching package(s).
       * Using --resolver to specify a matching snapshot/resolver.

And does not resolve the specified targets matched no packages error.

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

1 participant