简体   繁体   English

提取 RPM 包 cpio

[英]Extract RPM package cpio

i am getting and error while extract rpm package which is below.我在提取下面的 rpm 包时遇到错误。 I run this command many times before but this time it shows me an error.我之前多次运行此命令,但这次它显示了一个错误。 I try to run this command on Oracle Linux 7. What should i do ?我尝试在 Oracle Linux 7 上运行此命令。我该怎么办?

rpm2cpio couchbase-server-enterprise-6.5.0-oel7.x86_64.rpm | cpio --extract --make-directories --no-absolute-filenames

cpio: premature end of file

Ok.好的。 I solved it.我解决了。 when transfer the rpm file, some of the files can be missing.传输 rpm 文件时,某些文件可能会丢失。 be sure your rpm file is not corrupt.确保您的 rpm 文件没有损坏。 try another way to tranfer the file.尝试另一种传输文件的方法。 Thanks.谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM