无法使用 tar 提取:错误无法恢复:立即退出
有人能帮我解决这个问题吗?
Log4j2 下载关联
wget https://www.apache.org/dyn/closer.lua/logging/log4j/2.17.1/apache-log4j-2.17.1-bin.tar.gz
下载密钥 -
wget https://www.apache.org/dist/logging/KEYS
下载签名
wget https://downloads.apache.org/logging/log4j/2.17.1/apache-log4j-2.17.1-bin.tar.gz.asc
root@ip-172-31-18-202:/tmp# gpg --import KEYS
gpg: key 12B287580C7C4F05: "Mark Dwayne Womack <[email protected]>" not changed
gpg: key 266191C37C037D42: "Yoav Shapira <[email protected]>" not changed
gpg: key BE16C95D2E114322: "Curt Arnold <[email protected]>" not changed
gpg: key D3EC499070C9C3D0: "[email protected] (CODE SIGNING KEY) <[email protected]>" not changed
gpg: key B35E96D747C4113E: "Jacob Kjome <[email protected]>" not changed
gpg: key 0DD1EC2A914A4D28: "Nicko Cadell <[email protected]>" not changed
gpg: key 3595395EB3D8E1BA: "Ralph Goers (CODE SIGNING KEY) <[email protected]>" not changed
gpg: key 86E02C5A42196CA8: 2 signatures not checked due to missing keys
gpg: key 86E02C5A42196CA8: "Christian Grobmeier (Apache Codesigning) <[email protected]>" not changed
gpg: key C140F70BED446286: "Nicholas Scott Williams (For signing NWTS Java Code) <[email protected]>" not changed
gpg: key 6C45F247A303D55F: "Nicholas Scott Williams (For ASF Code Signing Purposes Only) <[email protected]>" not changed
gpg: key C264130FA5CC90DB: 1 signature not checked due to a missing key
gpg: key C264130FA5CC90DB: "Christian Grobmeier <[email protected]>" not changed
gpg: key F6492CB4778C3033: "Thorsten Schöning <[email protected]>" not changed
gpg: key 1E4B1D05B095DD52: "Robert Middleton <[email protected]>" not changed
gpg: key D7C92B70FA1C814D: 19 signatures not checked due to missing keys
gpg: key D7C92B70FA1C814D: "Matt Sicker (Apache Software Foundation) <[email protected]>" not changed
gpg: key 47B1D6AD0E682C9C: "Davyd McColl <[email protected]>" not changed
gpg: key 17745EF55497A907: 6 signatures not checked due to missing keys
gpg: key 17745EF55497A907: "Dominik Psenner <[email protected]>" not changed
gpg: key D37D4387C9BD368E: "Volkan Yazici (vy) <[email protected]>" not changed
gpg: key 1E6F62D27A7A9A1E: "Carter Kozak (YubiKey 5C NFC 17031888) <[email protected]>" not changed
gpg: key 85917FEBF6651A65: "Carter Kozak (YubiKey 5C NFC 17031890) <[email protected]>" not changed
gpg: Total number processed: 19
gpg: unchanged: 19
root@ip-172-31-18-202:/tmp# gpg --verify apache-log4j-2.17.1-bin.tar.gz.asc
gpg: assuming signed data in 'apache-log4j-2.17.1-bin.tar.gz'
gpg: Signature made Mon Dec 27 23:29:29 2021 UTC
gpg: using RSA key 9D0A56AAA0D60E0C0C7DCCC0B4C70893B62BABE8
gpg: issuer "[email protected]"
gpg: BAD signature from "Matt Sicker (Apache Software Foundation) <[email protected]>" [unknown]
root@ip-172-31-18-202:/tmp# tar -xvf apache-log4j-2.17.1-bin.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now