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

More ?? on converting from solaris native packaging to RPM



On the outset, James thanks for the timely response.But I have
some more issues and also need some clarification on the command
:- rpm -qp name_rpm.This command uses the package rpm and not
the database.I want an equivalent for :- pkginfo -p (Display
information for partially installed packages).Is there one in
RPM?? 

The additional questions are :

Q1. How can I get the ARCH of the installed package?
Q2. Is there an equivalent for pkgchk -n (Do not check volatile
or editable files' contents)

TIA.
Ravee.


> 
> Hi,
>   I am converting a native solaris package to an RPM package
and
> in doing so encountered some issues.Basically the questions I
> have are : 
> Q1. Can I extract files from a binary rpm other than by
> installing the package?
man rpm2cpio.

> Q2. Is there an equivalent for "pkginfo -p" in rpm - for
getting
> information about partially installed packages.
rpm -qp name_rpm

In other words "man rpm" and look for the query section.

> Q3.Can I run other scripts in the %pre,%post section? If YES
> where should these scripts be available in the host system.
>
If it is in the %post section, it can be anything on the box. 
If it
is in the %pre section I am not absolutely sure, but certainly
you
can run things that are on the box.  I am not sure if rpm has a
mechanism
like Solaris packages have to have metafiles that are not
installed but
can be ran.
...james




__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com





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