[Tex/LaTex] Problems installing package using MikTeX

miktextexstudio

After re-installation of MikTex (I had troubles of pdflatex.exe not found at startup of TexStudio), I am now trying to reinstall my packages for my documents.

I am promted to install the first package encountered in my TexStudio script (natbib): TexStudio asks for:

enter image description here

It asks to install the package from my selected repository:
http://vesta.informatik.rwth-aachen.de/ftp/pub/mirror/ctan/systems/win32/miktex/tm/packages/

But when I select to install it (and MikTex installer gets launced), TexStudio gives the error:

enter image description here

So I tried open the MikTex package manager (both the non- and Admin version), searching for natbib, and installing it. However then I get the error:

The remote package repository is outdated. You have to choose another repository.

Now, I have tried several repositories, and I always get prompted with the same error?

I don't know if this could be the cause, but daylight-saving just changed in belgium, which seemed to be a problem last year?

I keep being told the remote package repository is outdated

I also had a similar issue myself earlier:

titlesec.sty not found

Back then, I could solve it by doing a synchronize on the repository. However, again I'm prompted with:

The remote package repository is outdated. You have to choose another repository.

Would appreciate all help.

Best Answer

The problem resolved itself this morning, apparently the last CTAN update failed, quoting developer and maintainer of MiKTeX, Christian Schenk:

"I am afraid that all repositories are currently out-of-date because the last CTAN upload was unsuccessful. The next CTAN upload is scheduled, ETA is 20171031T0600 (UTC)."

https://github.com/MiKTeX/miktex/issues/27#issuecomment-340549770