amaxwell / tlutility

TeX Live Utility, a Mac OS GUI for the TeX Live Manager
http://amaxwell.github.io/tlutility/
BSD 3-Clause "New" or "Revised" License
306 stars 17 forks source link

Tex Update Failed ... what should I look for? #133

Closed VintageRoses closed 1 year ago

VintageRoses commented 1 year ago

I've had a recurring problem when attempting to run the Tex Live Update. The last few entries in the log are as follows:

2022-12-16 2:04:48 am +0000 Notice tlu_ipctask[25765] child process pid = 25766 exited 2022-12-16 2:04:49 am +0000 Notice tlu_ipctask[25765] exit status of pid = 25766 was 1 2022-12-16 2:04:49 am +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][16061] exit status of pid = 25765 was 1 2022-12-16 2:04:49 am +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][16061] kqueue noted that tlu_ipctask (pid = 25765) exited with status 1

Due to prior hacks, I've locked down my Mac running macOS Catalina, version 10.15.7 pretty tightly, perhaps too tight to run Tex Live Update.

Any thoughts on where I should look to allow Tex Live Update to run would be helpful, and/or additional info that may be needed to properly diagnose. Thanks!

amaxwell commented 1 year ago

I need more (preferably all) log output to diagnose this, as the snippet here could be anything.

If you want to diagnose it yourself, try running tlmgr from the command line and see if it works.

VintageRoses commented 1 year ago

Hi,

Thank you for your response.

FYI, I have run tlmgr from the command line, and it works fine, but the Tex Live Utility itself does not, which is why I posted.

As requested, here is the entire log file entryfrom the Tex Live Utility app for today, 16/12/2022:


2022-12-16 8:32:51 am +0000 Notice +[TLMEnvironment initialize][3301] Welcome to TeX Live Utility 1.53, running under Mac OS X Version 10.15.7 (Build 19H2026) with 8/8 processors active and 16.0 GB physical memory. 2022-12-16 8:32:51 am +0000 Notice +[TLMEnvironment _checkProcessUmask][3301] Process umask = 022 2022-12-16 8:32:51 am +0000 Notice +[TLMEnvironment updateEnvironment][3301] Setting up a new environment for /usr/local/texlive/2022… 2022-12-16 8:32:51 am +0000 Notice +[TLMEnvironment updatePathEnvironment][3301] Using PATH = "( "/Library/TeX/texbin", "/usr/bin", "/bin", "/usr/sbin", "/sbin" )" 2022-12-16 8:32:51 am +0000 Notice +[TLMEnvironment _checkSystemPythonMajorVersion:minorVersion:][3301] Using python at '/Applications/TeX Live Utility.app/Contents/Frameworks/Python.framework/Versions/3.9/bin/python3' 2022-12-16 8:32:51 am +0000 Notice +[TLMEnvironment _checkSystemPythonMajorVersion:minorVersion:][3301] Python version is 3.9.10 (v3.9.10:f2f3f53782, Jan 13 2022, 16:55:46) [Clang 13.0.0 (clang-1300.0.29.30)] 2022-12-16 8:32:51 am +0000 Notice +[TLMEnvironment updateEnvironment][3301] Nothing to update for /usr/local/texlive/2022 2022-12-16 8:32:51 am +0000 Notice -[TLMDatabase _downloadDatabaseHead][3301] Checking the repository version. Please be patient. 2022-12-16 8:32:51 am +0000 Notice -[TLMDatabase _downloadDatabaseHead][3301] Downloading at least 2048 bytes of tlpdb for a version check… 2022-12-16 8:32:51 am +0000 Notice -[TLMDatabase _downloadDatabaseHead][3301] Downloaded 786432 bytes of tlpdb for version check 2022-12-16 8:32:52 am +0000 Notice -[TLMEnvironment initWithInstallDirectory:][3301] Looks like you're using TeX Live 2022 2022-12-16 8:32:52 am +0000 Notice -[TLMEnvironment _checkForRootPrivileges][3301] Recursive check of installation privileges. This will happen once per launch, and may be slow if /usr/local/texlive/2022 is on a network filesystem… 2022-12-16 8:32:52 am +0000 Notice -[TLMEnvironment _checkForRootPrivileges][3301] WARNING mixed permissions found. Install directory /usr/local/texlive/2022 is writeable by this user, but child directory /usr/local/texlive/2022/texmf-var/tex is not writeable. 2022-12-16 8:32:52 am +0000 Notice -[TLMEnvironment _checkForRootPrivileges][3301] Recursive check completed in 0.0 seconds. Root privileges are required. 2022-12-16 8:32:52 am +0000 Notice +[TLMEnvironment _logEnvironment][3301] Current environment from /usr/bin/env: __CF_USER_TEXT_ENCODING=0x1F7:0x0:0x0 CC_FOR_BUILD=no_compiler_found HOME=/Users/leftcoast LOGNAME=leftcoast PATH=/Library/TeX/texbin:/usr/bin:/bin:/usr/sbin:/sbin SHELL=/bin/zsh SQLITE_EXEMPT_PATH_FROM_VNODE_GUARDS=/Users/leftcoast/Library/WebKit/Databases SSH_AUTHSOCK=/private/tmp/com.apple.launchd.iAlt5wzpkd/Listeners TMPDIR=/var/folders/j/rngsz6254952cwwgcxfzyrp80000gq/T/ USER=leftcoast XPC_FLAGS=0x0 XPC_SERVICE_NAME=0 2022-12-16 8:32:52 am +0000 Notice -[TLMLogWindowController awakeFromNib][3301] Loaded log window controller 2022-12-16 8:32:52 am +0000 Notice -[TLMDatabase _reloadFromLocalFile][3301] Reloading local tlpdb from file:///usr/local/texlive/2022/tlpkg/texlive.tlpdb 2022-12-16 8:32:55 am +0000 Notice -[TLMDatabase _reloadFromLocalFile][3301] Took 3.61 seconds to reload local tlpdb 2022-12-16 8:32:55 am +0000 Notice -[TLMDatabase _downloadDatabaseHead][3301] Checking the repository version. Please be patient. 2022-12-16 8:32:55 am +0000 Notice -[TLMDatabase _downloadDatabaseHead][3301] Downloading at least 2048 bytes of tlpdb for a version check… 2022-12-16 8:32:57 am +0000 Notice -[TLMDatabase _downloadDatabaseHead][3301] Downloaded 32533 bytes of tlpdb for version check 2022-12-16 8:32:57 am +0000 Notice -[TLMEnvironment _getValidServerURL:repositoryYear:fromURL:][3301] Repository version appears to be 2022; a young TeX Live 2022-12-16 8:32:57 am +0000 Notice -[TLMFaviconCache downloadIconForURL:delegate:][3301] Will look for favicon at https://ctan.mirror.norbert-ruehl.de/favicon.ico 2022-12-16 8:32:57 am +0000 Notice -[TLMFaviconCache downloadIconForURL:delegate:][3301] Will look for favicon at https://ctan.mirror.norbert-ruehl.de/favicon.ico 2022-12-16 8:32:57 am +0000 Notice -[TLMFaviconCache downloadIconForURL:delegate:][3301] Will look for favicon at https://ctan.mirror.norbert-ruehl.de/favicon.ico 2022-12-16 8:32:57 am +0000 Notice -[TLMFaviconCache downloadIconForURL:delegate:][3301] Will look for favicon at https://ctan.mirror.norbert-ruehl.de/favicon.ico 2022-12-16 8:32:57 am +0000 Notice -[TLMMainWindowController _refreshUpdatedPackageListFromLocation:][3301] Refreshing list of updated packages… 2022-12-16 8:32:58 am +0000 Notice -[TLMFaviconCache connectionDidFinishLoading:][3301] Finished downloading favicon of length 341 2022-12-16 8:33:01 am +0000 Notice -[TLMMainWindowController _paperSizeCheckTerminated:][3301] System paper size = a4, pdftex paper size = a4 2022-12-16 8:33:06 am +0000 Notice -[TLMOperation main][3301] Successfully executed /Library/TeX/texbin/tlmgr --machine-readable --repository https://www.preining.info/tlgpg/ update --list --all 2022-12-16 8:33:06 am +0000 Notice -[TLMOperation main][3301] start load https://www.preining.info/tlgpg/ finish load https://www.preining.info/tlgpg/ 2022-12-16 8:33:06 am +0000 Notice -[TLMMainWindowController _handleListGPGUpdatesFinishedNotification:][3301] Found 0 tlgpg packages to update from https://www.preining.info/tlgpg/ 2022-12-16 8:33:21 am +0000 Notice -[TLMOperation main][3301] Successfully executed /Library/TeX/texbin/tlmgr --machine-readable --repository https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet update --list --all 2022-12-16 8:33:21 am +0000 Notice -[TLMOperation main][3301] start load https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet finish load https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet 2022-12-16 8:33:49 am +0000 Notice -[TLMMainWindowController _isCorrectDatabaseVersionAtURL:][3301] Checking database version in case preferences have been changed… 2022-12-16 8:33:49 am +0000 Notice -[TLMMainWindowController _updateAllPackagesFromRepository:][3301] Beginning update of all packages from https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet 2022-12-16 8:33:49 am +0000 Notice -[TLMAuthorizedOperation main][3301] Checking code signature before running tlu_ipctask as root… 2022-12-16 8:33:49 am +0000 Notice /usr/bin/codesign[3301] /Applications/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: valid on disk /Applications/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: satisfies its Designated Requirement 2022-12-16 8:33:49 am +0000 Notice -[TLMAuthorizedOperation main][3301] Signature was valid, okay to run tlu_ipctask 2022-12-16 8:33:58 am +0000 Notice -[TLMAuthorizedOperation main][3301] Invoking privileged task via AuthorizationExecuteWithPrivileges 2022-12-16 8:33:58 am +0000 Notice tlu_ipctask[3727] dropped privileges to user nobody 2022-12-16 8:33:59 am +0000 Notice -[TLMAuthorizedOperation setWrapperPID:][3301] tlu_ipctask checking in: tlu_ipctask pid = 3727 2022-12-16 8:34:00 am +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][3301] tlu_ipctask checking in: pid = 3728 (/Library/TeX/texbin/tlmgr --repository https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet --machine-readable --persistent-downloads update --all) 2022-12-16 8:34:00 am +0000 Notice tlu_ipctask[3727] tlu_ipctask: child HOME = '/var/root' 2022-12-16 8:34:00 am +0000 Notice tlu_ipctask[3727] tlu_ipctask: current HOME = '/var/empty' 2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] start load https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet 2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] 2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] /Library/TeX/texbin/tlmgr: TLPDB::from_file could not initialize from: https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet/tlpkg/texlive.tlpdb 2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] /Library/TeX/texbin/tlmgr: Maybe the repository setting should be changed. 2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] /Library/TeX/texbin/tlmgr: More info: https://tug.org/texlive/acquire.html 2022-12-16 8:34:02 am +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][3301] kqueue noted that pid 3728 exited (/Library/TeX/texbin/tlmgr --repository https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet --machine-readable --persistent-downloads update --all) 2022-12-16 8:34:02 am +0000 Notice tlu_ipctask[3727] child process pid = 3728 exited 2022-12-16 8:34:03 am +0000 Notice tlu_ipctask[3727] exit status of pid = 3728 was 1 2022-12-16 8:34:03 am +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][3301] exit status of pid = 3727 was 12022-12-16 8:34:03 am +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][3301] kqueue noted that tlu_ipctask (pid = 3727) exited with status 1


Let me know if there is anything else I can provide you.

Thank you!

@.***

------- Original Message ------- On Thursday, December 15th, 2022 at 7:09 PM, amaxwell @.***> wrote:

I need more (preferably all) log output to diagnose this, as the snippet here could be anything.

If you want to diagnose it yourself, try running tlmgr from the command line and see if it works.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

amaxwell commented 1 year ago

Try switching to a different repository; you can do this using the Configure->Manage Repositories menu. Everything looks good until tlmgr starts trying to download:

2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] /Library/TeX/texbin/tlmgr: TLPDB::from_file could not initialize from: https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet/tlpkg/texlive.tlpdb 2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] /Library/TeX/texbin/tlmgr: Maybe the repository setting should be changed.

VintageRoses commented 1 year ago

Hi,

Thank you for getting back.

Although I've tried switching Repositories in my attempt at fining a solution, I will try a few more times to see if that can make a difference.

If that fails, I'll look into deleting the entire Tex Live Utility app and code, and reinstalling the entire application to see if that helps.

Thank you again for responding.

Have a wonderful holiday!

@.***

------- Original Message ------- On Friday, December 16th, 2022 at 7:49 AM, amaxwell @.***> wrote:

Try switching to a different repository; you can do this using the Configure->Manage Repositories menu. Everything looks good until tlmgr starts trying to download:

2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] /Library/TeX/texbin/tlmgr: TLPDB::from_file could not initialize from: https://ctan.mirror.norbert-ruehl.de/systems/texlive/tlnet/tlpkg/texlive.tlpdb 2022-12-16 8:34:02 am +0000 Warning tlu_ipctask[3727] /Library/TeX/texbin/tlmgr: Maybe the repository setting should be changed.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

amaxwell commented 1 year ago

Feel free to reopen if this problem crops up again. Assuming it's fixed.