TLCockpit says "Loading updates" forever
Greetings,
During my last TeXLive update using TLCockpit, my terminal unexpectedly closed during the post-action phase of the update process. As a result, the TLCockpit window now shows "Loading updates" indefinitely. The 'Tlmgr status' is marked as 'Idle,' and I received the following messages in the terminal output:
--
07:57:38 [JavaFX Application Thread] WARN TLCockpit.ApplicationMain$ - Build and run versions disagree: build: 14, run: 17, trying anyway! 07:57:38 [JavaFX Application Thread] INFO TLCockpit.ApplicationMain$ - Running on Java Version 17 Exception in thread "JavaFX Application Thread" java.lang.NumberFormatException: For input string: "-" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) at java.base/java.lang.Long.parseLong(Long.java:701) at java.base/java.lang.Long.parseLong(Long.java:836) at scala.collection.immutable.StringLike.toLong(StringLike.scala:309) at scala.collection.immutable.StringLike.toLong$(StringLike.scala:309) at scala.collection.immutable.StringOps.toLong(StringOps.scala:33) at TLCockpit.ApplicationMain$.parse_one_update_line(ApplicationMain.scala:850) at TLCockpit.ApplicationMain$.$anonfun$load_updates_update_upds_view$3(ApplicationMain.scala:881) at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:273) at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36) at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33) at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198) at scala.collection.TraversableLike.map(TraversableLike.scala:273) at scala.collection.TraversableLike.map$(TraversableLike.scala:266) at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:198) at TLCockpit.ApplicationMain$.$anonfun$load_updates_update_upds_view$1(ApplicationMain.scala:880) at TLCockpit.ApplicationMain$.$anonfun$load_updates_update_upds_view$1$adapted(ApplicationMain.scala:871) at TLCockpit.ApplicationMain$.$anonfun$tlmgr_run_one_cmd$3(ApplicationMain.scala:1642) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at scalafx.application.Platform$$anon$1.run(Platform.scala:147) at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277) at java.base/java.lang.Thread.run(Thread.java:840)
--
And TLCockpit log is:
--
D:no translations available for en_us (nor en_us); falling back to English D:tlmgr version 73493 (2025-01-17 23:28:29 +0100) D:maintree=/usr/local/texlive/2024 D:appending to package log file: /usr/local/texlive/2024/texmf-var/web2c/tlmgr.log D:appending to command log file: /usr/local/texlive/2024/texmf-var/web2c/tlmgr-commands.log D:Setting env var HTTPS_CA_FILE to /usr/local/texlive/2024/tlpkg/installer/curl/curl-ca-bundle.crt D:tlmgr:main: ::tldownload_server hash:: {enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x55f38ae80e70)} D:setup_programs: preferring system versions D:program df found in path D:program curl found in path D:program wget found in path D:TLUtils::setup_programs: checking for ssl enabled wget D:TLUtils::setup_programs: wget has ssl, final wget args: --no-check-certificate --user-agent=texlive/wget --tries=4 --timeout=30 -q -O D:program lz4 found in path D:program gzip found in path D:program xz found in path D:Using checksum method digest::sha D:Testing for gpg in gpg D: ... gpg ok! [gpg --version >/dev/null 2>&1] D:gpg command line: gpg --homedir "/usr/local/texlive/2024/tlpkg/gpg" --no-secmem-warning --no-permission-warning --lock-never D:will verify cryptographic signatures start load https://ctan.dcc.uchile.cl/systems/texlive/tlnet D:persistent connection set up, trying to get https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 (for /tmp/OMxDQxfD51/gE3hePUtbK) D:TLUtils::download_file: downloading using lwp succeeded D:persistent connection set up, trying to get https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc (for /tmp/OMxDQxfD51/8mkKuIVmd6) D:TLUtils::download_file: downloading using lwp succeeded D:STATUS OUTPUT [GNUPG:] NEWSIG [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] SIG_ID LkV9WDbnp5ZCOs1iRGpS/J8QDi4 2025-02-06 1738802926 [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] GOODSIG 4CE1877E19438C70 TeX Live Distribution [email protected] [GNUPG:] VALIDSIG D8F2F86057A857E42A88106A4CE1877E19438C70 2025-02-06 1738802926 0 4 0 1 10 01 C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] TRUST_ULTIMATE 0 pgp [GNUPG:] VERIFICATION_COMPLIANCE_MODE 23D:verification succeeded, output: gpg: Signature made Wed 05 Feb 2025 09:48:46 PM -03 gpg: using RSA key D8F2F86057A857E42A88106A4CE1877E19438C70 gpg: Good signature from "TeX Live Distribution [email protected]" [ultimate]
D:cryptographic signature of https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 verified D:verify_checksum: found remote digest 4d19bc8d216c49ae5a226d63c76db3be8bdca8474868ab269a43946b38b8cdb8d5ab7327cd66877702593b9b24b8976403ba0ee1c5c213dcd4bd8bd767eac476 from /tmp/OMxDQxfD51/gE3hePUtbK for /usr/local/texlive/2024/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34 and https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 D:tlchecksum(/usr/local/texlive/2024/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34): ===4d19bc8d216c49ae5a226d63c76db3be8bdca8474868ab269a43946b38b8cdb8d5ab7327cd66877702593b9b24b8976403ba0ee1c5c213dcd4bd8bd767eac476=== D:verify_checksum: local_digest = 4d19bc8d216c49ae5a226d63c76db3be8bdca8474868ab269a43946b38b8cdb8d5ab7327cd66877702593b9b24b8976403ba0ee1c5c213dcd4bd8bd767eac476 D:checksum of local copy identical with remote hash D:texlive-scripts remote revision 73744, texlive-scripts local revision 73744 finish load https://ctan.dcc.uchile.cl/systems/texlive/tlnet D:start load https://mirrors.mit.edu/CTAN/systems/texlive/tlnet/ D:persistent connection set up, trying to get https://mirrors.mit.edu/CTAN/systems/texlive/tlnet//tlpkg/texlive.tlpdb.sha512 (for /tmp/OMxDQxfD51/dsoMMboEDR) D:TLUtils::download_file: downloading using lwp succeeded D:persistent connection set up, trying to get https://mirrors.mit.edu/CTAN/systems/texlive/tlnet//tlpkg/texlive.tlpdb.sha512.asc (for /tmp/OMxDQxfD51/0yMix8gV6C) D:TLUtils::download_file: downloading using lwp succeeded D:STATUS OUTPUT [GNUPG:] NEWSIG [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] SIG_ID 7tflGwbv91dX+dGVKNrbXopnqg4 2025-02-05 1738716439 [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] GOODSIG 4CE1877E19438C70 TeX Live Distribution [email protected] [GNUPG:] VALIDSIG D8F2F86057A857E42A88106A4CE1877E19438C70 2025-02-05 1738716439 0 4 0 1 10 01 C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] TRUST_ULTIMATE 0 pgp [GNUPG:] VERIFICATION_COMPLIANCE_MODE 23D:verification succeeded, output: gpg: Signature made Tue 04 Feb 2025 09:47:19 PM -03 gpg: using RSA key D8F2F86057A857E42A88106A4CE1877E19438C70 gpg: Good signature from "TeX Live Distribution [email protected]" [ultimate]
D:cryptographic signature of https://mirrors.mit.edu/CTAN/systems/texlive/tlnet//tlpkg/texlive.tlpdb.sha512 verified D:verify_checksum: found remote digest fa5663a25502d077534b6228563b7019ad64b18daa9314daa71660fe15627eee06f9105ae39c7415de9685a308ce537c1ddd6d0bafdc022aad6106999dc6673c from /tmp/OMxDQxfD51/dsoMMboEDR for /usr/local/texlive/2024/tlpkg/texlive.tlpdb.4501700b4c91182c0351b0eebcf3a17c and https://mirrors.mit.edu/CTAN/systems/texlive/tlnet//tlpkg/texlive.tlpdb.sha512 D:tlchecksum(/usr/local/texlive/2024/tlpkg/texlive.tlpdb.4501700b4c91182c0351b0eebcf3a17c): ===fa5663a25502d077534b6228563b7019ad64b18daa9314daa71660fe15627eee06f9105ae39c7415de9685a308ce537c1ddd6d0bafdc022aad6106999dc6673c=== D:verify_checksum: local_digest = fa5663a25502d077534b6228563b7019ad64b18daa9314daa71660fe15627eee06f9105ae39c7415de9685a308ce537c1ddd6d0bafdc022aad6106999dc6673c D:checksum of local copy identical with remote hash finish load https://mirrors.mit.edu/CTAN/systems/texlive/tlnet/ D:D:trying to load pinning file /usr/local/texlive/texmf-local/tlpkg/pinning.txt D:D:Testing for gpg in gpg D: ... gpg ok! [gpg --version >/dev/null 2>&1] D:gpg command line: gpg --homedir "/usr/local/texlive/2024/tlpkg/gpg" --no-secmem-warning --no-permission-warning --lock-never D:will verify cryptographic signatures start load https://ctan.dcc.uchile.cl/systems/texlive/tlnet D:persistent connection set up, trying to get https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 (for /tmp/OMxDQxfD51/O7kauUjNEX) D:TLUtils::download_file: downloading using lwp succeeded D:persistent connection set up, trying to get https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc (for /tmp/OMxDQxfD51/myp_9X_CHy) D:TLUtils::download_file: downloading using lwp succeeded D:STATUS OUTPUT [GNUPG:] NEWSIG [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] SIG_ID LkV9WDbnp5ZCOs1iRGpS/J8QDi4 2025-02-06 1738802926 [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] GOODSIG 4CE1877E19438C70 TeX Live Distribution [email protected] [GNUPG:] VALIDSIG D8F2F86057A857E42A88106A4CE1877E19438C70 2025-02-06 1738802926 0 4 0 1 10 01 C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] TRUST_ULTIMATE 0 pgp [GNUPG:] VERIFICATION_COMPLIANCE_MODE 23D:verification succeeded, output: gpg: Signature made Wed 05 Feb 2025 09:48:46 PM -03 gpg: using RSA key D8F2F86057A857E42A88106A4CE1877E19438C70 gpg: Good signature from "TeX Live Distribution [email protected]" [ultimate]
D:cryptographic signature of https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 verified D:verify_checksum: found remote digest 4d19bc8d216c49ae5a226d63c76db3be8bdca8474868ab269a43946b38b8cdb8d5ab7327cd66877702593b9b24b8976403ba0ee1c5c213dcd4bd8bd767eac476 from /tmp/OMxDQxfD51/O7kauUjNEX for /usr/local/texlive/2024/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34 and https://ctan.dcc.uchile.cl/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 D:tlchecksum(/usr/local/texlive/2024/tlpkg/texlive.tlpdb.main.602f87c2c45bb0a25d888908b9120b34): ===4d19bc8d216c49ae5a226d63c76db3be8bdca8474868ab269a43946b38b8cdb8d5ab7327cd66877702593b9b24b8976403ba0ee1c5c213dcd4bd8bd767eac476=== D:verify_checksum: local_digest = 4d19bc8d216c49ae5a226d63c76db3be8bdca8474868ab269a43946b38b8cdb8d5ab7327cd66877702593b9b24b8976403ba0ee1c5c213dcd4bd8bd767eac476 D:checksum of local copy identical with remote hash D:texlive-scripts remote revision 73744, texlive-scripts local revision 73744 finish load https://ctan.dcc.uchile.cl/systems/texlive/tlnet D:start load https://mirrors.mit.edu/CTAN/systems/texlive/tlnet/ D:persistent connection set up, trying to get https://mirrors.mit.edu/CTAN/systems/texlive/tlnet//tlpkg/texlive.tlpdb.sha512 (for /tmp/OMxDQxfD51/CBgjl3voRY) D:TLUtils::download_file: downloading using lwp succeeded D:persistent connection set up, trying to get https://mirrors.mit.edu/CTAN/systems/texlive/tlnet//tlpkg/texlive.tlpdb.sha512.asc (for /tmp/OMxDQxfD51/lOOdTQez7v) D:TLUtils::download_file: downloading using lwp succeeded D:STATUS OUTPUT [GNUPG:] NEWSIG [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] SIG_ID 7tflGwbv91dX+dGVKNrbXopnqg4 2025-02-05 1738716439 [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] GOODSIG 4CE1877E19438C70 TeX Live Distribution [email protected] [GNUPG:] VALIDSIG D8F2F86057A857E42A88106A4CE1877E19438C70 2025-02-05 1738716439 0 4 0 1 10 01 C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] KEY_CONSIDERED C78B82D8C79512F79CC0D7C80D5E5D9106BAB6BC 0 [GNUPG:] TRUST_ULTIMATE 0 pgp [GNUPG:] VERIFICATION_COMPLIANCE_MODE 23D:verification succeeded, output: gpg: Signature made Tue 04 Feb 2025 09:47:19 PM -03 gpg: using RSA key D8F2F86057A857E42A88106A4CE1877E19438C70 gpg: Good signature from "TeX Live Distribution [email protected]" [ultimate]
D:cryptographic signature of https://mirrors.mit.edu/CTAN/systems/texlive/tlnet//tlpkg/texlive.tlpdb.sha512 verified D:verify_checksum: found remote digest fa5663a25502d077534b6228563b7019ad64b18daa9314daa71660fe15627eee06f9105ae39c7415de9685a308ce537c1ddd6d0bafdc022aad6106999dc6673c from /tmp/OMxDQxfD51/CBgjl3voRY for /usr/local/texlive/2024/tlpkg/texlive.tlpdb.4501700b4c91182c0351b0eebcf3a17c and https://mirrors.mit.edu/CTAN/systems/texlive/tlnet//tlpkg/texlive.tlpdb.sha512 D:tlchecksum(/usr/local/texlive/2024/tlpkg/texlive.tlpdb.4501700b4c91182c0351b0eebcf3a17c): ===fa5663a25502d077534b6228563b7019ad64b18daa9314daa71660fe15627eee06f9105ae39c7415de9685a308ce537c1ddd6d0bafdc022aad6106999dc6673c=== D:verify_checksum: local_digest = fa5663a25502d077534b6228563b7019ad64b18daa9314daa71660fe15627eee06f9105ae39c7415de9685a308ce537c1ddd6d0bafdc022aad6106999dc6673c D:checksum of local copy identical with remote hash finish load https://mirrors.mit.edu/CTAN/systems/texlive/tlnet/ D:D:trying to load pinning file /usr/local/texlive/texmf-local/tlpkg/pinning.txt D:D:Automatic backups activated, keeping 1 backups. D:tlmgr: new pkgs: D:tlmgr: deleted : D:tlmgr: forced : simpleicons D:starting handle_execute_actions D:finished handle_execute_actions, errors=0
--
Could you please provide a solution for this issue?
Is there any way to solve this?
[ ]'s,
J.
@jotagah Can you please open a terminal, and run
tlmgr --machine-readable update --list
The hiccup happens when parsing the output of that. Thanks.
How to fix it? Simply kill and restart the TLCockpit process.
Run the command gives:
start load https://ctan.dcc.uchile.cl/systems/texlive/tlnet finish load https://ctan.dcc.uchile.cl/systems/texlive/tlnet start load https://mirrors.mit.edu/CTAN/systems/texlive/tlnet/ finish load https://mirrors.mit.edu/CTAN/systems/texlive/tlnet/ location-url https://ctan.dcc.uchile.cl/systems/texlive/tlnet https://mirrors.mit.edu/CTAN/systems/texlive/tlnet/ total-bytes 0 end-of-header simpleicons f - - - - - - - - end-of-updates
And simple "kill and restart TLCockpit" does not solve the issue.
J.
Ah, a forcibly removed package. Seems that I have written the tlcockpit code before I implemented the forcibl removed state, and tlcockpit does not support it. Good catch. Best way to fix is to call
tlmgr update --all --reinstall-forcibly-removed
It worked, thanks.
I guess the issue was caused by my last crashed update.
[ ]'s,
J.