2

I have a Task Scheduler in Windows 10 to update MikTeX weekly.

mpm --update

And now I get this warning:

Warning: --update: this option has been deprecated;
it will be removed from a future version of MiKTeX

Is any replacement for --update?

4
  • 1
    Try miktex packages update instead of mpm --update. Apr 8 at 7:11
  • 1
    @hair-splitter Thanks a lot. Is working!
    – Mafsi
    Apr 8 at 9:44
  • @hair-splitter Want to make that an answer?
    – schtandard
    Apr 21 at 16:40
  • @schtandard Thanks for saying it, I forgot. Apr 21 at 20:52

1 Answer 1

2

In the current version of MiKTeX, the --update option has been removed from the mpm (although still temporarily usable): https://docs.miktex.org/manual/mpm.html

This function has been taken over by the update command of miktex-packages program: https://docs.miktex.org/manual/miktex-packages.html

To update MiKTeX packages, you should use

miktex packages update

instead of mpm --update.

2
  • Is there a variant of this command with miktex administrator privilege?
    – Diaa
    Apr 21 at 21:08
  • @Diaa Yes: miktex --admin packages update, see here Apr 22 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.