问题描述
我的MacOS App Store 无法正常工作.无法从商店安装更新或安装应用程序.
My MacOS App Store does not work correctly. It is not possible to install updates or install apps from the store.
我怀疑它与以下错误消息有关,该错误消息在/var/log/install.log中重复了几次.
I suspect it has something todo with the following error message, which is repeated several times in /var/log/install.log.
2019-03-26 21:26:08+01 My-MBP softwareupdated[27061]: softwareupdated: Starting with build 10.13.6 (17G65)
2019-03-26 21:26:08+01 My-MBP softwareupdated[27061]: Couldn't retrieve private cache directory path: 5.
在我看来,cli softwareupdate
也不起作用.与mas
相同( https://formulae.brew.sh/formula/mas#default ).
An indication is as well in my eyes, that the cli softwareupdate
also does not work. Same for mas
(https://formulae.brew.sh/formula/mas#default).
所有程序:App Store,softwareupdate和mas的行为基本相同.开始之后,什么都没有发生.例如:
All programms: App Store, softwareupdate, mas behave basically in the same way. After the start nothings happens. E.g:
启动.当我单击图标更新时,将出现彩虹微调器",并且该应用程序冻结.尝试安装应用程序时相同.我只有执行killall "App Store"
starts up. When I click on the icon updates the "rainbow spinner" appears and the app freezes. Same when I try to install an App. I can close the App Store only if I do a killall "App Store"
mas install 425424353
==> Downloading The Unarchiver
# Nothing happens
软件更新:
softwareupdate -l
Software Update Tool
Finding available software
# Nothing happens
有人暗示,我如何解决缺少专用缓存目录的问题?
一些信息:
- OSX 10.13.6(在2011年初的Macbook上)
- App Store 2.4(658.1)
- 软件已更新:从内部版本10.13.6(17G65)
推荐答案
检查/var/log/system.log
我发现以下行:
Aug 11 09:50:33 My-MBP softwareupdated[516]: libcoreservices: _dirhelper: 666: mkdir: path=/var/folders/zz/zyxvpxvq6csfxvn_n00000s0000068/C/softwareupdated/ modes[2]=0700: Permission denied
我做了一个chmod -R 777 /var/folders/zz
,现在可以了.我可以更新我的系统.此外,chmod ...
修复了我在Mac上遇到的另一个问题.
I did a chmod -R 777 /var/folders/zz
and now it works. I could update my system. Furthermore the chmod ...
fixed another issue I had with my mac.
这篇关于MacOS软件已更新[26959]:无法检索专用缓存目录路径:5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!