GZIP:stdin:不以GZIP格式错误,我得到

发布于 2025-02-08 16:24:52 字数 344 浏览 1 评论 0 原文

我已经在我的Ubuntu实例下安装了Apache-Cassandra-3.11.13-bin.tar.gz。当我试图运行此命令 tar xzvf apache-cassandra-3.11.13-bin.tar.gz 它正在抛出错误 GZIP:stdin:不采用GZIP格式 焦油:儿童返回状态1 焦油:错误是无法恢复的:现在退出

我试图通过运行文件apache-cassandra-3.11.13-bin.tar.gz 来检查文件类型 它告诉我 Apache-Cassandra-3.11.13-bin.tar.gz:HTML文档,ASCII文本,线很长 有人可以帮助我如何提取这个问题吗?

I have installed apache-cassandra-3.11.13-bin.tar.gz under my ubuntu instances. When I am trying to run this command tar xzvf apache-cassandra-3.11.13-bin.tar.gz it is throwing error like
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

I tried to check the file type by running file apache-cassandra-3.11.13-bin.tar.gz
it shows me
apache-cassandra-3.11.13-bin.tar.gz: HTML document, ASCII text, with very long line
Can anybody helped me how to extract this ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寒冷纷飞旳雪 2025-02-15 16:24:52

通过将PC上的浏览器复制到VM上的Bash终端中,我在VM上安装软件包时也遇到了同样的问题,然后使用 curl

curl https://URL1...

我阅读了您的帖子并使用了文件...

<a href="https://URL_NOT_1...">Found</a>

我收集浏览器自动处理此重定向。事实证明, wget 也是如此,所以 curl 在这样的终端进行复制时。

I had the same issue when installing a package on a vm by copying the hyperlink target from the browser on my PC into the bash terminal on the vm, then using curl:

curl https://URL1...

I read your post and used file ... to get

<a href="https://URL_NOT_1...">Found</a>

I gather browsers handle this redirect automatically. Turns out, so does wget, so forget curl when doing copy-paste into the terminal like this.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文