Re: Query Regarding RPM

devzero2000 <[email protected]> Fri, 20 Jun 2008 10:11:41 +0200
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
If you want attribute the package ownership, so  you can  find  later,  to
the  shar  utility that have installed the package you
can, but it is only an idea, to define in your spec file

Packager (or Vendor): <your shar file>

So you can later query for example

rpm -qa --qf 'Package %{name}-%{version}-%{release}.%{arch} was installed by
%{packager} \n"

Sure, look as an hack, and it is. In fact, some better rpm tags would  be
more "right" to use : Vendor or Packager have other use.

hth

On Fri, Jun 20, 2008 at 5:35 AM, Chinnakka K Batakurki <
[email protected]> wrote:

> Thanks a lot for the response, but it did not give me the shar file name
> To make my query more clear, we have created shell archive of the rpm files
> I want to know  which shell archive file is used,  after installation
>
> Thanks!
>
> Regards
> -----------------------
> Chinnakka Batakurki
> IBM Internet Security Systems,
> IBM India Private Limited,
> FTP - 4 - 39, EPIP (Whitefield) Industrial Area, Bangalore - 560066
> Tel: +91-80-2266 9885
> Mob: +91-9845704118
> Email: [email protected]
> Mobile: +91-9845704118
>
>
>
>              "manjunath k"
>             <kmanjunat@gmail.
>             com>                                                       To
>             Sent by:                  "RPM Package Manager"
>             rpm-list-bounces@         <[email protected]>
>             redhat.com                                                 cc
>
>                                                                   Subject
>             19/06/2008 18:29          Re: Query Regarding RPM
>
>
>             Please respond to
>                RPM Package
>                  Manager
>             <rpm-list@redhat.
>                   com>
>
>
>
>
>
>
> Hi chinna,
>
>  Im not very sure about your query but I will suggest you a command that
> will qive the entire list of the binaries and the shared libraries
> that is being installed
> by a package.
>
>  The command is rpm -qlp xyz.rpm
>
> Regards,
> Manjunath.K
>
> On 6/19/08, Chinnakka K Batakurki <[email protected]> wrote:
> >
> >  Hi,
> >
> >  We are creating the shar file and running it on the target to install
> the
> >  package,
> >  Is there any command to know from which shar file(install script) the
> >  package has been installed
> >
> >  I am able to get the package name by querying as RPM -qa |grep ...
> >  but I want to know the shar file also
> >
> >  Thanks a lot!
> >
> >  Regards
> >  -----------------------
> >  Chinnakka Batakurki
> >  IBM Internet Security Systems,
> >  IBM India Private Limited,
> >  FTP - 4 - 39, EPIP (Whitefield) Industrial Area, Bangalore - 560066
> >  Tel: +91-80-2266 9885
> >  Mob: +91-9845704118
> >  Email: [email protected]
> >  Mobile: +91-9845704118
> >
> >  _______________________________________________
> >  Rpm-list mailing list
> >  [email protected]
> >  https://www.redhat.com/mailman/listinfo/rpm-list
> >
>
> _______________________________________________
> Rpm-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rpm-list
>
>
> _______________________________________________
> Rpm-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rpm-list
>

_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list