Mailinglist Archive: opensuse (1872 mails)

< Previous Next >
Re: [opensuse] How to unpack an RPM without installing?
  • From: Bogdan Cristea <cristeab@xxxxxxxxx>
  • Date: Wed, 5 Nov 2008 15:04:50 +0200
  • Message-id: <200811051504.51409.bogdan.cristea@xxxxxxxxx>
On Wednesday 05 November 2008 14:56:53 Joachim Schrod wrote:

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?
In case you want to try it yourself:

I called rpm2cpio both on a 10.0 and a 10.3 system with identical
results; I don't have 11.0 running at the moment.

Thanks in advance for any answer,


Joachim Schrod Email: jschrod@xxxxxxx
Roedermark, Germany

You could convert your rpm to tgz

Bogdan Cristea
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >