SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-11-2008, 01:13 PM
 
Posts: n/a
Default AIX packaging issue (LPP)

Hi,

So far, I have not found a way how to find out the following from
within a pre_i script :

a) If the fileset is that is currently being installed, is already
installed
b) If it is already installed, with what version

It seems that as soon as the pre_i script is executed, the ODM (both
product and lpp repositories) is already updated with the new version
of the fileset.
Hopefully anyone can help me out in this one.

Thanks!


Mark
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-11-2008, 01:13 PM
Paul Landay
 
Posts: n/a
Default Re: AIX packaging issue (LPP)

[email protected] wrote:

> Hi,
>
> So far, I have not found a way how to find out the following from
> within a pre_i script :
>
> a) If the fileset is that is currently being installed, is already
> installed
> b) If it is already installed, with what version
>
> It seems that as soon as the pre_i script is executed, the ODM (both
> product and lpp repositories) is already updated with the new version
> of the fileset.
> Hopefully anyone can help me out in this one.
>
> Thanks!
>
>
> Mark


Have you considered using the pre_rm script instead
of pre_i for those tests? See the section titled
'Processing for the Apply Operation' at:
http://publib.boulder.ibm.com/infoce...cNode=int_9268
and you will see that the pre_rm comes early in the
processing order. And the section titled
'Optional Executable Files Contained in the liblpp.a File'
at that same URL implies the pre_rm happens before
the pre_i.

Paul Landay
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-11-2008, 01:13 PM
Hajo Ehlers
 
Posts: n/a
Default Re: AIX packaging issue (LPP)

On Jan 11, 2:03 pm, [email protected] wrote:
> Hi,
>
> So far, I have not found a way how to find out the following from
> within a pre_i script :
>
> a) If the fileset is that is currently being installed, is already
> installed
> b) If it is already installed, with what version
>


What is the reason for that requirement ?

regards
Hajo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 07:31 AM
Mark van Huijstee
 
Posts: n/a
Default Re: AIX packaging issue (LPP)



"Paul Landay" <[email protected]> wrote in message
news:[email protected]...
> [email protected] wrote:
>
>> Hi,
>>
>> So far, I have not found a way how to find out the following from
>> within a pre_i script :
>>
>> a) If the fileset is that is currently being installed, is already
>> installed
>> b) If it is already installed, with what version
>>
>> It seems that as soon as the pre_i script is executed, the ODM (both
>> product and lpp repositories) is already updated with the new version
>> of the fileset.
>> Hopefully anyone can help me out in this one.
>>
>> Thanks!
>>
>>
>> Mark

>
> Have you considered using the pre_rm script instead
> of pre_i for those tests? See the section titled
> 'Processing for the Apply Operation' at:
> http://publib.b