Article 5G4MW rpm2tgz - .rpm is not an RPM

rpm2tgz - .rpm is not an RPM

by
TurboBlaze
from LinuxQuestions.org on (#5G4MW)
Hi.

I am not able to convert ALT Linux RPM packages to txz packages
http://ftp.altlinux.org/pub/distribu...lt1.x86_64.rpm
http://ftp.altlinux.org/pub/distribu...lt1.x86_64.rpm

Code:# file libpackagekit-glib-1.2.2-alt1.x86_64.rpm
libpackagekit-glib-1.2.2-alt1.x86_64.rpm: RPM v3.0 bin i386/x86_64

# file -i libpackagekit-glib-1.2.2-alt1.x86_64.rpm
libpackagekit-glib-1.2.2-alt1.x86_64.rpm: application/x-rpm; charset=binary

# rpm2tgz libpackagekit-glib-1.2.2-alt1.x86_64.rpm libpackagekit-glib-1.2.2-alt1.x86_64.txz
ERROR: rpm2cpio failed. (maybe libpackagekit-glib-1.2.2-alt1.x86_64.rpm is not an RPM?)
ERROR: rpm2cpio failed. (maybe libpackagekit-glib-1.2.2-alt1.x86_64.txz is not an RPM?)

# for i in `find . -type f | fgrep .rpm | sort`; do rpm2cpio $i | cpio -idmv &>/dev/null; done
error: ./libpackagekit-glib-1.2.2-alt1.x86_64.rpm: invalid signature tag Archivesize (1046)
error reading header from packageAnybody able to do this?

Thanks.latest?d=yIl2AUoC8zA latest?i=E64yF669NpI:vQpefTQ8QZA:F7zBnMy latest?i=E64yF669NpI:vQpefTQ8QZA:V_sGLiP latest?d=qj6IDK7rITs latest?i=E64yF669NpI:vQpefTQ8QZA:gIN9vFwE64yF669NpI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments