On 11/05/2008 08:56 PM, Joachim Schrod wrote:
Hi,
I try to unpack postgresql-server-8.3.4-1.9.i586.rpm from factory without installing it. (I want to look if an error in the 10.3 init.d script is still there.) No problem, I think:
rpm2cpio postgresql-server-8.3.4-1.9.i586.rpm >p.cpio
Well, just, except: No error message, but the produced file is no cpio file either. (file p.cpio outputs just "data".) I'm rather sure that the RPM file is OK: rpm -ql on that file produces no error, and I downloaded it twice to make sure that I don't got an error on a mirror.
Can anybody give me a hint, either why rpm2cpio is not working or how one can unpack a RPM file in other ways?
I would suggest using mc. This can enter and view the files inside the rpm, viewing not just the directory structure, but the init script itself. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org