Re: Query Regarding RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <chinnakka.batakurki@xxxxxxxxxx> 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: chinnakka.batakurki@xxxxxxxxxx
Mobile: +91-9845704118



            "manjunath k"
            <kmanjunat@gmail.
            com>                                                       To
            Sent by:                  "RPM Package Manager"
            rpm-list-bounces@         <rpm-list@xxxxxxxxxx>
            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 <chinnakka.batakurki@xxxxxxxxxx> 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: chinnakka.batakurki@xxxxxxxxxx
>  Mobile: +91-9845704118
>
>  _______________________________________________
>  Rpm-list mailing list
>  Rpm-list@xxxxxxxxxx
>  https://www.redhat.com/mailman/listinfo/rpm-list
>

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux