MiKTeX / miktex

the MiKTeX source code
https://miktex.org
Other
800 stars 95 forks source link

Updates with MiKTeX 23.10 Fails #1423

Closed virsto closed 10 months ago

virsto commented 10 months ago

Discussed in https://github.com/MiKTeX/miktex/discussions/1422

Originally posted by **virsto** December 28, 2023 I have installed **basic-miktex-23.10-x64** without any obvious problems and this gave me MiKTeX Setup Service 5.5 (MiKTex 25.10), MiKTeX Console 4.9. It was strongly suggested that I update my packages (105) and this started fine but stopped at 15% when trying to install **miktex-doc** At this point the console window was "dead" - it could not be closed or moved. I took fjrom the log file what I believe to be relevant for understanding and of course fixing this problem: C:\Users\vs\AppData\Local\MiKTeX\miktex\log\miktex-console.log: ** 2023-12-28 17:53:07,922+0100 INFO mainwindow - 0.10 MB, 5.96 Mbit/s 2023-12-28 17:53:07,978+0100 INFO mainwindow - extracting files from miktex-bibtex8bit-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:08,009+0100 INFO miktex-console.packagemanager - installing package miktex-bzip2-bin-x64-2.9 2023-12-28 17:53:08,010+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-bzip2-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:08,010+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-bzip2-bin-x64-2.9.tar.lzma 2023-12-28 17:53:08,124+0100 INFO mainwindow - 0.03 MB, 2.22 Mbit/s 2023-12-28 17:53:08,146+0100 ERROR miktex-console.core - Access is denied. 2023-12-28 17:53:08,146+0100 ERROR miktex-console.core - Function: DeleteFileW 2023-12-28 17:53:08,147+0100 ERROR miktex-console.core - Result: 5 2023-12-28 17:53:08,147+0100 ERROR miktex-console.core - Data: path="C:\Users\vs\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX231000-bzip2.dll" 2023-12-28 17:53:08,147+0100 ERROR miktex-console.core - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp:320 2023-12-28 17:53:08,186+0100 INFO mainwindow - extracting files from miktex-bzip2-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:08,251+0100 INFO miktex-console.packagemanager - installing package miktex-cairo-bin-x64-2.9 2023-12-28 17:53:08,254+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-cairo-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:08,254+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-cairo-bin-x64-2.9.tar.lzma 2023-12-28 17:53:08,441+0100 INFO mainwindow - 0.40 MB, 17.09 Mbit/s 2023-12-28 17:53:08,500+0100 INFO mainwindow - extracting files from miktex-cairo-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:08,570+0100 INFO miktex-console.packagemanager - installing package miktex-chktex-bin-x64-2.9 2023-12-28 17:53:08,573+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-chktex-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:08,573+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-chktex-bin-x64-2.9.tar.lzma 2023-12-28 17:53:08,711+0100 INFO mainwindow - 0.04 MB, 2.34 Mbit/s 2023-12-28 17:53:08,754+0100 INFO mainwindow - extracting files from miktex-chktex-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:08,790+0100 INFO miktex-console.packagemanager - installing package miktex-cjkutils-bin-x64-2.9 2023-12-28 17:53:08,791+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-cjkutils-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:08,791+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-cjkutils-bin-x64-2.9.tar.lzma 2023-12-28 17:53:08,927+0100 INFO mainwindow - 0.06 MB, 3.52 Mbit/s 2023-12-28 17:53:09,023+0100 INFO mainwindow - extracting files from miktex-cjkutils-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:09,056+0100 INFO miktex-console.packagemanager - installing package miktex-console-bin-x64-2.9 2023-12-28 17:53:09,058+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-console-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:09,058+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-console-bin-x64-2.9.tar.lzma 2023-12-28 17:53:09,215+0100 INFO mainwindow - 0.27 MB, 14.01 Mbit/s 2023-12-28 17:53:09,225+0100 ERROR miktex-console.core - Access is denied. 2023-12-28 17:53:09,225+0100 ERROR miktex-console.core - Function: DeleteFileW 2023-12-28 17:53:09,225+0100 ERROR miktex-console.core - Result: 5 2023-12-28 17:53:09,225+0100 ERROR miktex-console.core - Data: path="C:\Users\vs\AppData\Local\Programs\MiKTeX\miktex\bin\x64\miktex-console.exe" 2023-12-28 17:53:09,226+0100 ERROR miktex-console.core - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp:320 2023-12-28 17:53:09,249+0100 INFO mainwindow - extracting files from miktex-console-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:09,291+0100 INFO miktex-console.packagemanager - installing package miktex-curl-bin-x64-2.9 2023-12-28 17:53:09,292+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-curl-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:09,292+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-curl-bin-x64-2.9.tar.lzma 2023-12-28 17:53:09,484+0100 INFO mainwindow - 0.24 MB, 10.06 Mbit/s 2023-12-28 17:53:09,508+0100 ERROR miktex-console.core - Access is denied. 2023-12-28 17:53:09,509+0100 ERROR miktex-console.core - Function: DeleteFileW 2023-12-28 17:53:09,509+0100 ERROR miktex-console.core - Result: 5 2023-12-28 17:53:09,509+0100 ERROR miktex-console.core - Data: path="C:\Users\vs\AppData\Local\Programs\MiKTeX\miktex\bin\x64\MiKTeX231000-curl.dll" 2023-12-28 17:53:09,509+0100 ERROR miktex-console.core - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp:320 2023-12-28 17:53:09,550+0100 INFO mainwindow - extracting files from miktex-curl-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:09,599+0100 INFO miktex-console.packagemanager - installing package miktex-cweb-bin-x64-2.9 2023-12-28 17:53:09,600+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-cweb-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:09,600+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-cweb-bin-x64-2.9.tar.lzma 2023-12-28 17:53:09,734+0100 INFO mainwindow - 0.11 MB, 6.43 Mbit/s 2023-12-28 17:53:09,818+0100 INFO mainwindow - extracting files from miktex-cweb-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:09,856+0100 INFO miktex-console.packagemanager - installing package miktex-devnag-bin-x64-2.9 2023-12-28 17:53:09,857+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-devnag-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:09,857+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-devnag-bin-x64-2.9.tar.lzma 2023-12-28 17:53:10,014+0100 INFO mainwindow - 0.03 MB, 1.32 Mbit/s 2023-12-28 17:53:10,058+0100 INFO mainwindow - extracting files from miktex-devnag-bin-x64-2.9.tar.lzma... 2023-12-28 17:53:10,104+0100 INFO miktex-console.packagemanager - installing package miktex-doc 2023-12-28 17:53:10,107+0100 INFO mainwindow - downloading https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-doc.tar.lzma... 2023-12-28 17:53:10,108+0100 INFO miktex-console.packagemanager - going to download https://mirrors.mit.edu/CTAN/systems/win32/miktex/tm/packages/miktex-doc.tar.lzma 2023-12-28 17:53:10,259+0100 INFO mainwindow - 0.47 MB, 25.61 Mbit/s 2023-12-28 17:53:10,709+0100 INFO mainwindow - extracting files from miktex-doc.tar.lzma...** Help to fix this problem would be greatly appreciated!
virsto commented 10 months ago

I have tried reinstallation several times with administrator privileges on a Windows 10 platform -- same problem always.

edocevoli commented 10 months ago

An update is not possible because some files cannot be removed; this is a system-dependent issue, i.e., not a general MiKTeX bug