3

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

1 Answer 1

4

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, 2022 at 21:08
  • @Diaa Yes: miktex --admin packages update, see here Apr 22, 2022 at 6:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .