Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if there is a No such file or directory error when using zip

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

In this article, the editor introduces in detail "how to use zip to report errors in No such file or directory", the content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to use zip to report errors in No such file or directory" can help you solve your doubts.

Tar (child): bzip2: Cannot exec: No such file or directory error phenomenon: [root@open_source ~] # tar-jxf postgresql-10.12.tar.bz2 tar (child): bzip2: Cannot exec: No such file or directorytar (child): Error is not recoverable: exiting nowtar: Child returned status 2tar: Error is not recoverable: exiting now cause of problem:

Bzip2 package is not installed

[root@open_source ~] # rpm-qa | grep bzipbzip2-libs-1.0.6-13.el7.x86_64 solution:

Install the bzip package

[root@open_source] # yum install-y bzip2Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-managerThis system is not registered with an entitlement server. You can use subscription-manager to register.Loading mirror speeds from cached hostfilebase | 2.8kB 00:00:00 Resolving Dependencies-- > Running transaction check--- > Package bzip2.x86_64 0virtual 1.0.6-13.el7 will be installed-- > Finished Dependency Resolution Dependencies Resolved = Package Arch Version Repository Size=Installing: bzip2 x86 million 64 1.0.6-13.el7 base 52 k Transaction Summary=Install 1 Package Total download size: 52 kInstalled size: 86 kDownloading packages:Running transaction checkRunning transaction testTransaction test succeededRunning transaction Installing: bzip2-1.0.6-13.el7.x86_64 1 Verifying 1 Verifying: bzip2-1.0.6-13.el7.x86_64 1 13.el7 1 Installed: bzip2.x86_64 0 Vera 1.0.6-13.el7 Complete! [root@open_source ~] # rpm-qa | grep bzipbzip2-1.0.6-13.el7.x86_64bzip2-libs-1.0.6-13.el7.x86_64 verification:

The problem has been resolved:

[root@open_source] # tar-jxf postgresql-10.12.tar.bz2 [root@open_source ~] # ls-rld postgresql-10.12drwxrwxrwx 6 1107 1107 273 Feb 10 17:32 postgresql-10.12 has read this article "how to report an error in No such file or directory when using zip" has been introduced. If you want to master the knowledge of this article, you still need to practice and use it before you can understand it. If you want to know more about related articles, Welcome to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report