[Tex/LaTex] Miktex 2.9 problem installing dsfont.sty

installingmiktexpackages

Today I installed Miktex 2.9 and now I am having problems trying to compile a file which uses dsfont package. When running, I am asked to install dstroke package. I press yes which results in getting '! LaTeX Error: File `dsfont.sty' not found.'

Here are 2 lines from the logs which might be of interest (I tried other mirrors too, not only Texas):

2016-08-13 19:21:02,171+0300 INFO pdflatex – mpm: downloading ftp://mirror.utexas.edu/pub/ctan/systems/win32/miktex/tm/packages/next/dstroke.cab
2016-08-13 19:21:05,977+0300 FATAL pdflatex – Remote file not found

How can I solve this problem?

EDIT As suggested in teh comment by Ulrike Fisher, tried to use MikTex package manager to synchronize and download packages. Got another error 'unknown archive file size'. Ended up just copying the .sty file to the directory of the tex file.

Best Answer

It's a little bit messy!

First, go to Miktex package manager (admin) and Miketex package manager and under the tab Repository click on Synchronize.

Then, go back to Miktex package manager (admin) and search for doublestroke package.

After installing this package, it is fine to use \usepackage{dsfont} (not \usepackage{doublestroke}).