Re: [SLUG] RPMs and queries

From: Norbert Cartagena (niccademous@yahoo.com)
Date: Mon May 14 2001 - 10:12:57 EDT


> Norbert Cartagena wrote:
> >
> > I just downloaded some of the video drivers for my Inspiron from Dell.
> > The drivers are in RPM format. They are built for Red Hat 7.0 but I'm
> > wanting to use them for my SuSE system. Is there any way that I can test
> > of it would, say kill X, or if I could use it safely (it would give
> > 1024x768 instead of just 1400x1050). Is there any way I could tear down
> > the RPM and look at the config files or scripts myself?
> >
Ed Centanni wrote:
>
> rpm -qlpv <target.rpm> to look at (list) the files
> rpm -qp --scripts <target.rpm> to look at the scripts
>
> you can combine the above to look a both
> rpm -qlpv --scripts <target.rpm>

Well, I tried both the MC and the rpm <options> but this is what came
up:

norb@yoda:~/dell > rpm -qp --scripts atimp314.rpm
postinstall script (through /bin/sh):
ln -sf /usr/X11R6/bin/XFree86 /etc/X11/X

norb@yoda:~/dell > rpm -qlpv atimp314.rpm
-rw-r--r-- root root 605 Aug 30 2000 /dell/X11/README
-rw-r--r-- root root 1225 Aug 30 2000 /dell/X11/XF86Config-1400
-rw-r--r-- root root 1225 Aug 30 2000 /etc/X11/XF86Config-4

I did a check on /usr/X11R6/bin/XFree86 and /etc/X11/X and, as far as
SuSE goes, these files don't exist. Now, does this mean that the scripts
are looking for these files or... well, what does the first output mean?
I mean, it looks like it's linking one to the other, but since they
don't exists... Also, when I went inside using MC, I saw a couple of
scripts and READMEs in the *.cpio file, but when I tried to read me, it
complained to me about "wrong filesystem" or something like that. I also
tried

rpm --test

but, oddly enough, this option doesn't exist (even though it in the man
page).

Any hints?

Thanks,
Norb

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:03:25 EDT