Skip to main content
nerdbynature
  • Archives
  • Tags
  • RSS feed
  • Atom feed
  • Imprint
  • Source

cpio: Malformed number

2010-02-18 02:02

Source

This one time I have to deal with rpm packages and this happens:

$ rpm2cpio file.rpm | cpio -id
cpio: Malformed number
....and only garbage is being passed to cpio. Since RPM now comes with XZ/LZMA compression support, we have to prepare this for cpio until rpm2cpio will be fixed:
$ rpm2cpio file.rpm | lzma -d | cpio -id
7090 blocks
  • bits
  • Previous post
  • Next post
Contents © 2023 - Powered by Nikola