Error when installing Apache http server on Mac, brew install httpd
The error message is as follows:
==> Installing httpd dependency: nghttp2
==> Pouring nghttp2-1.44.0.big_sur.bottle.tar.gz
tar: Error opening archive: Failed to open ‘/Users/zhaopengkang/Library/Caches/Homebrew/downloads/727a7b871748b95a1fa9008831d439c4f999a5d065e3da3fe1e80b82d53c3e07–nghttp2-1.44.0.big_sur.bottle.tar.gz’
Error: Failure while executing; `tar –extract –no-same-owner –file /Users/zhaopengkang/Library/Caches/Homebrew/downloads/727a7b871748b95a1fa9008831d439c4f999a5d065e3da3fe1e80b82d53c3e07–nghttp2-1.44.0.big_sur.bottle.tar.gz –directory /private/tmp/d20211015-52303-1xq0k1l` exited with 1.
The error means: Error opening the archive file:
727a7b871748b95a1fa9008831d439c4f999a5d065e3da3fe1e80b82d53c3e07–nghttp2-1.44.0.big_sur.bottle.tar.gz,Then run the tar command to give you another backup.
All similar cases like this, directly install brew install XXX manually, and then re-execute the previous command.
I reported an error here run brew install nghttp2, re-execute brew install httpd, install successfully problem solved.
Read More:
- [Solved] Git Error: GnuTLS recv error (-54): Error in the pull function
- [Solved] httpd:httpd:Could not reliably determine the server‘s fully qualif domain name,using ::1 for Se
- How to Use Apt get Command Under Mac OSX
- Apache Cannot Start: SSL Library Error: -8181 Certificate has expired
- [Solved] Homebrew Error: xcrun: error: invalid active developer path
- [Solved] CentOS Use Yum to install dependency: error: rpmdb open failed
- How to Solve Ubuntu “Failed to fetch” Error
- How to Uncompress 7z files on Ubuntu, Debian, Fedora
- Runtime error – [xcodeproj] unknown object version. [How to Solve]
- CentOS 7 composer install error: phpunit/phpunit 4.8.35 requires ext-dom *
- Linux: How to Solve sudo operate Error
- Opensuse12.3 installation of VirtualBox error resolution
- Apex library Install Error: amp not installed error [How to Solve]
- Linux: How to Solve vim ~/.bashrc Execute Error
- Linux Nagios failed to log in to internal server error (Fixed)
- [Solved] Yum Install Software Error: Invalid configuration value: failovermethod=priority…
- [Solved] ERROR: Command errored out with exit status 128: git clone -q
- error while loading shared libraries [How to Solve]
- [Solved] CRITICAL:yum.cli:Config error: Error accessing file for config file:///opt/++
- [Solved] Error reported using telnet command in Centos7: telnet: error while loading shared libraries: libtinfo.so.6