您的位置:首页 > 其它

7za命令报错Error: xxx is not supported archive

2018-07-28 12:14 387 查看

问题:

执行7za命令时报错:Error: xxx is not supported archive  

原因:

当前7za版本过低   直接执行7za可以看到当前版本: 7-Zip (A) [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18 p7zip Version 9.20 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,24 CPUs)   Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...]        [<@listfiles...>]   <Commands>  

解决方法:

重新安装7za到高版本
yum install p7zip
  此时再看版本: 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,24 CPUs Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz (306E4),ASM,AES-NI)   Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...]        [<@listfiles...>]   <Commands>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐