在 x86_64 GNU/Linux 上升级 PEAR
当我运行 sudo pear Upgrade pear 时,它以以下错误结束:
ERROR: unable to unpack /tmp/tmpsozA4Q/Structures_Graph-1.0.4.tgz
有人以前遇到过类似的情况吗?您对如何解决此问题有任何建议吗?它让我彻夜难眠。
When I run sudo pear upgrade pear
, it ends with the following error:
ERROR: unable to unpack /tmp/tmpsozA4Q/Structures_Graph-1.0.4.tgz
Has anyone run into something like this before and do you have any suggestions on how to resolve this issue? It's been keeping me up all night.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,此错误是由于非常过时的 pear 版本导致的,该版本甚至无法再与 pear 服务器通信并下载 HTML 页面而不是真正的存档。
要解决此问题,您需要手动更新 pear。
并按照“系统安装”说明进行操作。
除此之外,
可能意味着您无法提取 gzip 存档或
/tmp/
磁盘已满或相关的东西。这不太可能,但在这些情况下:将下载 .tar 而不是 .tgz
Usually this error arises due to a very outdated pear version that can't even talk to the pear server anymore and downloads a HTML page instead of the real archive.
To fix this you need to update pear by hand.
And follow the "system install" instructions.
Apart from that
could mean that you don't have the ability to extract gzip archives or that the
/tmp/
disk is full or something related. It's not all that likely but in those cases:will download the .tar and not the .tgz