每次我使用brew安装某些东西时都会出现错误的文件描述符
为什么每次我尝试使用 homebrew 错误日志安装任何应用程序时,为什么我总是收到错误的文件描述符错误
:-
Error: Failure while executing; `cp -pR /private/tmp/d20220226-3322-2zsx5k/ca-certificates/. /usr/local/Cellar/ca-certificates` exited with 1. Here's the output:
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/.: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/.: Bad file descriptor
cp: /usr/local/Cellar/ca-certificates/./2022-02-01: Permission denied
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/./2022-02-01: Permission denied
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/.brew: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew/ca-certificates.rb: No such file or directory
cp: setattrlist: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: chown: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: chmod: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: chflags: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/.brew: unable to copy ACL to /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/share: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/share/ca-certificates: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates/cacert.pem: No such file or directory
cp: setattrlist: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: chown: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: chmod: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: chflags: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/share/ca-certificates: unable to copy ACL to /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: setattrlist: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: chown: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: chmod: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: chflags: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/share: unable to copy ACL to /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: setattrlist: /usr/local/Cellar/ca-certificates/./2022-02-01: No such file or directory
cp: chown: /usr/local/Cellar/ca-certificates/./2022-02-01: No such file or directory
cp: chmod: /usr/local/Cellar/ca-certificates/./2022-02-01: No such file or directory
cp: chflags: /usr/local/Cellar/ca-certificates/./2022-02-01: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01: unable to copy ACL to /usr/local/Cellar/ca-certificates/./2022-02-01: Permission denied
cp: setattrlist: /usr/local/Cellar/ca-certificates/.: Permission denied
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/.: unable to copy ACL to /usr/local/Cellar/ca-certificates/.: Bad file descriptor
我尝试更新和升级brew,但收到相同的错误文件描述符错误
Why am I always getting bad file descriptor error, everytime I try to install any application using homebrew
Error Logs:-
Error: Failure while executing; `cp -pR /private/tmp/d20220226-3322-2zsx5k/ca-certificates/. /usr/local/Cellar/ca-certificates` exited with 1. Here's the output:
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/.: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/.: Bad file descriptor
cp: /usr/local/Cellar/ca-certificates/./2022-02-01: Permission denied
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/./2022-02-01: Permission denied
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/.brew: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew/ca-certificates.rb: No such file or directory
cp: setattrlist: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: chown: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: chmod: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: chflags: /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/.brew: unable to copy ACL to /usr/local/Cellar/ca-certificates/./2022-02-01/.brew: No such file or directory
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/share: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/share/ca-certificates: unable to copy extended attributes to /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates/cacert.pem: No such file or directory
cp: setattrlist: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: chown: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: chmod: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: chflags: /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/share/ca-certificates: unable to copy ACL to /usr/local/Cellar/ca-certificates/./2022-02-01/share/ca-certificates: No such file or directory
cp: setattrlist: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: chown: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: chmod: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: chflags: /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01/share: unable to copy ACL to /usr/local/Cellar/ca-certificates/./2022-02-01/share: No such file or directory
cp: setattrlist: /usr/local/Cellar/ca-certificates/./2022-02-01: No such file or directory
cp: chown: /usr/local/Cellar/ca-certificates/./2022-02-01: No such file or directory
cp: chmod: /usr/local/Cellar/ca-certificates/./2022-02-01: No such file or directory
cp: chflags: /usr/local/Cellar/ca-certificates/./2022-02-01: No such file or directory
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/./2022-02-01: unable to copy ACL to /usr/local/Cellar/ca-certificates/./2022-02-01: Permission denied
cp: setattrlist: /usr/local/Cellar/ca-certificates/.: Permission denied
cp: /private/tmp/d20220226-3322-2zsx5k/ca-certificates/.: unable to copy ACL to /usr/local/Cellar/ca-certificates/.: Bad file descriptor
I tried to update and upgrade brew, but getting same error of Bad File Descriptor
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为我修好了
Fixed for me