-
Notifications
You must be signed in to change notification settings - Fork 841
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
"The following package identifiers were not found in your indices" #3033
Comments
I could indeed reproduce this when you opened it, however, it seems to have resolved itself! Indeed likely due to something like hackage maintenance or s3 downtime. |
I'm seeing similar exceptions once more:
(Note the very long last line) Should I delete some stale cache files or something? |
I haven't seen these issues anymore since I executed Otherwise the user is just stuck with an unclear exception message and no obvious way to make the command succeed. |
Strange! Not sure what could lead to that, possibly a bug in hackage-security? We might consider detecting when it isn't finding anything in the indices, and try deleting them in that case. (not sure that's happening here, but seems like it) |
It seems possible that I still had some funky index/cache data hanging around from haskell/hackage-server#573.
As we don't really understand what's going on we could ask users to make a bug report and append an archive of their |
i just saw the same problem (probably after i deleted the lock in |
Seeing the same issue and removing indices does indeed fix the problem:
|
A couple possibilities here:
I'm thinking (1) seems plausible. Potential fix: After updating the package index reports no updates, check if the timestamp of the index is newer than the cache. If so, delete the cache. I've opened #3324 with this approach. |
Hopefully this is fixed now. Closing. Probably good to open a new issue if it comes back. |
I'm seeing the similar problem just after pushing schematic-0.3.0.0 to hackage, not sure it's the same though:
|
Update: removing |
@dredozubov What version are you using? Note that the fix above is not in any released versions. The behavior you're seeing is consistent with what could happen before the fix. |
This seems to be still an issue on 1.6.1 I just hit the issue (See commercialhaskell/lts-haskell#81) and deleting the indices solved it for me. |
I'm not sure I can still reproduce it, I don't exactly remember the context
and the version I was using.
чт, 14 дек. 2017 г. в 23:46, AndreasPK <[email protected]>:
… This seems to be still an issue on 1.6.1
I just hit the issue (See commercialhaskell/lts-haskell#81
<commercialhaskell/lts-haskell#81>) and deleting the indices
solved it for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3033 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIBKJHOpXCzW9zawT8s73vQbYFVnpD5ks5tAYkNgaJpZM4MPL2s>
.
|
I'm seeing this error as well, but I don't know if it is due to trying to build with a very old version. Steps to reproduce: git clone [email protected]:capitanbatata/argon.git
cd argon
stack --stack-yaml=stack-7.8.yaml build Maybe I'm not using |
I'm using stack version 1.7.1, with ltc-12.4 and getting:
I tried deleting |
@erikd: I'm wondering if the missing |
That's interesting, afaik everything on Stackage has to be on Hackage too. |
@mihaimaruseac Your assumption seems to be false. I'm experiencing this issue today with resolver nightly-2018-11-14. My package is trying to use On Stackage, array reports the following:
and on Hackage, indeed, the latest version is 0.5.2.0. |
This might be related to the recent Hackage maintenance or the S3 downtime. I have notified the Hackage maintainers here.
It would be nice if
stack
could handle this better or at least make a suggestion like "report a bug".The text was updated successfully, but these errors were encountered: