When installing brew install graphviz, there was a problem with:
tar: Error opening archive: Failed to open ‘/Users/xxx/Library/Caches/Homebrew/downloads/348a16e5fedb24cb14fe4fd5c72caa96074c7b4e21ce4d2f7a89eb4b638c830f–gd-2.3.2.arm64_big_sur.bottle.tar.gz’
Error: Failure while executing; tar --extract --no-same-owner --file /Users/xxx/Library/Caches/Homebrew/downloads/348a16e5fedb24cb14fe4fd5c72caa96074c7b4e21ce4d2f7a89eb4b638c830f--gd-2.3.2.arm64_big_sur.bottle.tar.gz --directory /private/tmp/d20210927-26485-nzi2qo
exited with 1. Here’s the output:
tar: Error opening archive: Failed to open ‘/Users/xxx/Library/Caches/Homebrew/downloads/348a16e5fedb24cb14fe4fd5c72caa96074c7b4e21ce4d2f7a89eb4b638c830f–gd-2.3.2.arm64_big_sur.bottle.tar.gz
A closer look reveals that there was a problem installing the dependency at this step: the
So, the solution: install the dependency brew install gd separately
Once done, just install graphviz again, and if the same type of error occurs again during this process, continue installing the dependency where the error occurred.
Read More:
- [Solved] Brew Install ffmpeg Error: tar: Error opening archive: Failed to open
- [Solved] Error: Failure while executing; `tar –extract –no-same-owner –file /Users/wangchuangyan/Library/C
- docker load Error processing tar file(exit status 1): archive/tar: invalid tar header
- flutter | W/zipro(12512): Error opening archive D:\…Invalid file ERROR: dump failed because…
- Linux: tar Unpack .tar.bz2 File Error tar: Child returned status 2 tar: Error is not recoverable: exiting now
- MAC uses homebrew to install wget error [How to Solve]
- [Solved] Mac homebrew error: Error: homebrew-core is a shallow clone.
- Failed to copy files Error processing tar file [How to Solve]
- How to Solve Error: homebrew-core is a shallow clone.
- [Solved] torchvision.models.resnet18() Error: PytorchStreamReader failed reading zip archive: failed finding…
- [Solved] Mac Install homebrew Error: error: Not a valid ref: refs/remotes/origin/master
- Error (active) e1696 cannot open source file “errno.H” rpgworld problems encountered in installing visual studio 2017
- Failed to transform file ‘xxx‘ to match attributes [How to Solve]
- [Solved] Labelimg Open an image Error: Error opening file
- [ubuntu14.04]Tensorflow: Could not find any downloads that satisfy the requirement
- [Solved] Oracle Delete the Archive Error: RMAN-08137
- QSP License error: Submit failed! Message: ERROR -Locator 304511e2e493 is already associated to another license
- [Solved] keil5 Error: Error: L6915E: Library reports error: __use_no_semihosting was requested
- [Solved] KeyCloak users check their profile error: “failed to initialize keycloak”
- [Solved] prometheus Exception Exit Error: opening storage failed