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:
- How to Solve Xmind Install Error in Ubuntu System
- System has not been booted with systemd as init system (PID 1). Can‘t operate
- [Solved] docker Error: System has not been booted with systemd as init system (PID 1). Can‘t operate. Failed to con
- Error report when executing ifconfig under centos7
- How to Use Apt get Command Under Mac OSX
- Mac opens Terminal and reports an error -bash:: command not found
- Ubuntu update source error: E: Problem executing scripts APT::Update::Post-Invoke-Success…
- [Solved] Ubuntu: su Switch root Error: Authentication failure
- [Solved] Ubuntu Server 18.4 System /etc/sudoers: syntax error near line 32
- [Solve] Yinhe Qilin V10 System Error: Failed to download metadata for repo ‘ks10-adv-os‘
- Using JWT of distributed deployment services Error: JWT check failure:
- [Solved] Ubuntu 20.04 Error: curl: (23) Failure writing output to destination
- ERROR: This system does not support “RDRAND“ [How to Solve]
- See system logs and ‘systemctl status docker.service‘ for details
- Parse error in ubantu/Linux system [How to Solve]
- [Solved] Linux startup jar package error: Communications link failure
- WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- Setting up automatic networking alias for Mac Terminal
- [Solved] Virtual Machine Error: FAILURE: Build failed with an exception.Flutter
- [Solved] Esxi Warning: System Management Software 1 SEL Fullness