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

    cpio: Malformed number

    CK

    2010-02-18 02:02

    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
    
    • Newer posts
    • Older posts
    Contents © 2025 CK - Powered by Nikola