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

MiKTeX setup error at CI in master #4005

Closed
StrikerRUS opened this issue Feb 20, 2021 · 15 comments
Closed

MiKTeX setup error at CI in master #4005

StrikerRUS opened this issue Feb 20, 2021 · 15 comments

Comments

@StrikerRUS
Copy link
Collaborator

Setting up MiKTeX
miktexsetup.exe: The remote package repository is outdated. You have to choose another repository.
miktexsetup.exe: Data: url="https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/"

$env:CTAN_MIRROR = "https://ctan.math.illinois.edu/systems/win32/miktex"

Only for Windows.
Full logs: https://github.com/microsoft/LightGBM/runs/1941681116

cc @jameslamb

@jameslamb
Copy link
Collaborator

jameslamb commented Feb 20, 2021

haha NOOOOO we had been doing so well for so long!

I remember that the last time this happened, it went away on its own after a day.

#3454 (comment)

I think this is just a thing that happens with CTAN a few times a year and we have to wait another day for it to hopefully improve :/

I'll try manually re-running the R jobs on master few times over the next few hours, let's see if it resolves itself. If that doesn't work, tomorrow morning I'll try investigating.

@StrikerRUS it's fine with me if you want to merge things with administrator powers if only R Windows CI is broken and you think changes you're merging likely are unrelated to the R package.

@jameslamb jameslamb self-assigned this Feb 20, 2021
@StrikerRUS
Copy link
Collaborator Author

it's fine with me if you want to merge things with administrator powers

I don't have them.

@jameslamb
Copy link
Collaborator

ah I see, my mistake. Well I'm busy for the next few hours, but can look at this tonight if it isn't resolved just by waiting.

@jameslamb
Copy link
Collaborator

I just started https://github.com/microsoft/LightGBM/runs/1943021929 and I'm hopeful about it, because it looks like the math.illinois.edu mirror was updated within the last hour

http://dante.ctan.org/mirmon/

image

@jameslamb
Copy link
Collaborator

nope, sad, same failure

miktexsetup.exe: The remote package repository is outdated. You have to choose another repository.
miktexsetup.exe: Data: url="https://ctan.math.illinois.edu/systems/win32/miktex/tm/packages/"
Error: Process completed with exit code -1.

ok, I'll check back in a few hours

@StrikerRUS
Copy link
Collaborator Author

Thank you! I'll try to re-run master too.

@jameslamb
Copy link
Collaborator

@StrikerRUS looks like others have been reporting this too :/

MiKTeX/miktex#720

first report on that issue was 16 hours ago, and maintainers there said

the mirrors are behind the master repository. This is usually self-healing, i.e., it should be okay tomorrow.

So this should be fixed tomorrow, I hope. That's what happened with #3454 back in October as well.

Separately, I'm experimenting with TinyTex on my fork (jameslamb#40). If we can get that working, we could avoid running into this problem every few months.

@StrikerRUS
Copy link
Collaborator Author

Seems the issue is gone now.

@StrikerRUS
Copy link
Collaborator Author

But now we have another error with data.table: #4008. 👿

@jameslamb
Copy link
Collaborator

this is happening again 🙃

Same progression as we've seen before:

  1. A bunch of R-package CI jobs start failing with the error "remote package repository is outdated" (example recent failing build)
  2. MikTeX maintainers say "this is fixed" (The remote package repository is outdated. MiKTeX/miktex#980 (comment))
  3. more than a day later, more reports that it has not yet actually been fixed (The remote package repository is outdated. MiKTeX/miktex#980 (comment))

Based on past experiences with this particular issue, I think we just have to wait for the ctan.math.illinois.edu mirror to get updated and I think we can expect that to happen in the next day.

@StrikerRUS
Copy link
Collaborator Author

Seems to be resolved for the master branch.

@jameslamb
Copy link
Collaborator

Great! I look forward to coming back to this in a few months 😂

@jameslamb
Copy link
Collaborator

this is happening again 🙃

Did a little searching to try to learn more about this so we can consider actions other than "just wait and hopefully it will go away".

Here is the code where MiKTeX throws that error:

https://github.com/MiKTeX/miktex/blob/35dfb29cda6a3648d2f18a346caf9bf0f41456ef/Libraries/MiKTeX/PackageManager/RestRemoteService.cpp#L288

https://github.com/MiKTeX/miktex/blob/35dfb29cda6a3648d2f18a346caf9bf0f41456ef/Libraries/MiKTeX/PackageManager/RestRemoteService.cpp#L252

I tried walking back through that code but couldn't find anything that suggested how to ignore this check with an environment variable or command-line flag.

@jameslamb jameslamb reopened this Dec 6, 2021
@jameslamb
Copy link
Collaborator

just pushed an empty commit to re-trigger CI jobs on #4860.

R package CI jobs seem happy again: https://github.com/microsoft/LightGBM/runs/4432231740?check_suite_focus=true

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot removed the blocking label Aug 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants