I am facing this problem where I can not update MikTeX 21.2 right after installation. I have uninstalled and reinstalled MikTeX to no avail. I do not have any apps open but my computer is connected to OneDrive when I updated. After I updated I can not compile my LaTeX files in TexStudio as it generates an error message. I saw a similar question here to mine but there was no definite answer, I think. Please do help
This is the error message that I get in MikTeX when I try to update.
fileName="C:\Users\bells\AppData\Local\Programs\MiKTeX\miktex\bin\x64\miktex-fc-cache.exe", exitCode="1"
GENERAL MIKTEX INFORMATION
ReportDate: 2021-04-15 16:10:27
CurrentVersion: 21.2
SetupDate: 2021-04-15 15:59:00
SetupVersion: 21.2
Configuration: Regular
GitInfo: 7a7e645 / 2021-02-20 10:38:14
OS: Windows 10 Home, 64-bit, build 19042
SharedSetup: no
LinkTargetDirectory: C:\Users\bells\AppData\Local\Programs\MiKTeX\miktex\bin\x64
PathOkay: no
LastUpdateCheck: 2021-04-15 16:00:30
LastUpdate: 2021-04-15 16:09:50
LastUpdateDb: 2021-04-15 16:00:22
SystemAdmin: yes
RootPrivileges: no
AdminMode: no
Root0: C:\Users\bells\AppData\Roaming\MiKTeX
Root1: C:\Users\bells\AppData\Local\MiKTeX
Root2: C:\Users\bells\AppData\Local\Programs\MiKTeX
Root3: C:\ProgramData\MiKTeX
Root4: C:\Program Files\MiKTeX
UserInstall: C:\Users\bells\AppData\Local\Programs\MiKTeX
UserConfig: C:\Users\bells\AppData\Roaming\MiKTeX
UserData: C:\Users\bells\AppData\Local\MiKTeX
CommonInstall: C:\Program Files\MiKTeX
CommonConfig: C:\ProgramData\MiKTeX
CommonData: C:\ProgramData\MiKTeX
Invokers: non-existing/cmd
ERROR DETAILS
Program: miktex-fc-cache.exe
Error: The executed process did not succeed.
Details:
fileName: C:\Users\bells\AppData\Local\Programs\MiKTeX\miktex\bin\x64\miktex-fc-cache.exe
exitCode: 1
fc-cache -v
on a command line?C:\Users\bells>fc-cache -v C:/WINDOWS/fonts: caching, new cache contents: 1154 fonts, 0 dirs C:/WINDOWS/fonts: failed to write cache C:/WINDOWS/Cache/Fontcache: not cleaning non-existent cache directory fc-cache: failed
C:/WINDOWS/Cache/Fontcache
sounds very odd. Open an issue at the miktex github.