Oracle Solaris System Administration (MOSC)

MOSC Banner

rpm2cpio error "Error: header not recognized" reading red hat rpm

edited Mar 26, 2012 11:09PM in Oracle Solaris System Administration (MOSC) 5 commentsAnswered ✓
Hi,
Having an issue on my solaris servers (x86) trying to read a red hat rpm with rpm2cpio

-bash-3.2# rpm2cpio crontabs-1.10-32.1.el6.noarch.rpm | cpio -itv
Error: header not recognized
cpio: Can't read input:  end of file encountered prior to expected end of archive.

1 errors
-bash-3.2# rpm2cpio crontabs-1.10-32.1.el6.noarch.rpm > mh.cpio
Error: header not recognized

Doesn't matter which rpm I try. I can read them on a red hat box, so the rpms themselves are ok.

Version of OS is 5.10 Generic_147441-01 i86pc i386 i86pc

Any help would be appreciated.

Thanks

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center