Can
Can

Reputation: 39

Extract RPM package cpio

i am getting and error while extract rpm package which is below. 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 ?

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

cpio: premature end of file

Upvotes: 0

Views: 3594

Answers (1)

Can
Can

Reputation: 39

Ok. I solved it. when transfer the rpm file, some of the files can be missing. be sure your rpm file is not corrupt. try another way to tranfer the file. Thanks.

Upvotes: 1

Related Questions