Unix Technical Forum

How to remove old bos.rte.bosinst fileset after AIX upgrade

This is a discussion on How to remove old bos.rte.bosinst fileset after AIX upgrade within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, I have just migrated an AIX 4.3 ML11 server to AIX 5.2 ML4. When check my filesets (lppchk ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 08:33 AM
cdwells
 
Posts: n/a
Default How to remove old bos.rte.bosinst fileset after AIX upgrade

Hi,

I have just migrated an AIX 4.3 ML11 server to AIX 5.2 ML4. When check
my filesets (lppchk -v), I get the following:

lppchk: The following filesets need to be installed or corrected to
bring
the system to a consistent state:

bos.rte.bosinst v=4 (not installed; requisite
fileset)
bos.rte.bosinst 4.3.3.77 (usr: not installed, root:
COMMITTED)

Can anyone tell me how to safely remove this old fileset without
affecting the 5.2 bos.rte.bosinst? Or even how this could have
happened? I chose Migration as my upgrade method.

Thanks in advance!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 08:33 AM
vlad.zam@gmail.com
 
Posts: n/a
Default Re: How to remove old bos.rte.bosinst fileset after AIX upgrade

lppchk -v -m3 to find out what filesets depends on bos.rte.bosinst v=4,
most likely you have some 3rd party s/w that needs earlier version of
bos.rte.bosinst which also would tell you that you probably would need
to upgrade that s/w to the one supported(or builded for) on 5.x

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 08:33 AM
Nathan
 
Posts: n/a
Default Re: How to remove old bos.rte.bosinst fileset after AIX upgrade

cdwells wrote:

> Hi,
>
> I have just migrated an AIX 4.3 ML11 server to AIX 5.2 ML4. When check
> my filesets (lppchk -v), I get the following:
>
> lppchk: The following filesets need to be installed or corrected to
> bring
> the system to a consistent state:
>
> bos.rte.bosinst v=4 (not installed; requisite
> fileset)
> bos.rte.bosinst 4.3.3.77 (usr: not installed, root:
> COMMITTED)
>
> Can anyone tell me how to safely remove this old fileset without
> affecting the 5.2 bos.rte.bosinst? Or even how this could have
> happened? I chose Migration as my upgrade method.
>
> Thanks in advance!
>


This will remove it:
installp -ug <fileset name>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 08:37 AM
cdwells
 
Posts: n/a
Default Re: How to remove old bos.rte.bosinst fileset after AIX upgrade

lppchk -vm3 gives me this:

Fileset sysback.rte 4.2.1.13 requires:
bos.rte.bosinst v=4

Fileset sysback.rte 4.2.1.15 requires:
bos.rte.bosinst v=4

Fileset sysback.rte 4.2.1.36 requires:
bos.rte.bosinst v=4


I was able to remove sysback.rte but still get errors and when I check
for my bosinst filesets, it looks like the old 4.3 bos.rte.bosinst is
still installed as well as the 5.2:

(/)> lslpp -l | grep bos.rte.bosinst
bos.rte.bosinst 5.2.0.40 COMMITTED Base OS Install
Commands
bos.rte.bosinst 4.3.3.77 COMMITTED Base OS Install
Commands


Is there any way to safely remove the 4.3.3.77 bos.rte.bosinst???

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 08:37 AM
cdwells
 
Posts: n/a
Default Re: How to remove old bos.rte.bosinst fileset after AIX upgrade

lppchk -vm3 gives me this:

Fileset sysback.rte 4.2.1.13 requires:
bos.rte.bosinst v=4

Fileset sysback.rte 4.2.1.15 requires:
bos.rte.bosinst v=4

Fileset sysback.rte 4.2.1.36 requires:
bos.rte.bosinst v=4


I was able to remove sysback.rte but still get errors and when I check
for my bosinst filesets, it looks like the old 4.3 bos.rte.bosinst is
still installed as well as the 5.2:

(/)> lslpp -l | grep bos.rte.bosinst
bos.rte.bosinst 5.2.0.40 COMMITTED Base OS Install
Commands
bos.rte.bosinst 4.3.3.77 COMMITTED Base OS Install
Commands


Is there any way to safely remove the 4.3.3.77 bos.rte.bosinst???

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 08:39 AM
cdwells
 
Posts: n/a
Default Re: How to remove old bos.rte.bosinst fileset after AIX upgrade

Hey all, I found the solution in the technical help DB for AIX. It
seems there's a bug in media released before the ML release in the
first half of 2003 for 5.1 and 5.2 which affects 4.3 systems running
bos.rte.bosinst at 4.3.3.77 (ML11). I took the following steps to
clean up my lppchk errors:

Fix your ODM directory: export ODMDIR=/etc/objrepos
Back up your ODM files before doing anything else:
cd /etc/objrepos
mkdir save_odm
cp * ./save_odm
ls save_odm (you should see your ODM files in there)
Fix the ODM:
LPP_ID=`LANG=C odmget -q name=bos.rte.bosinst lpp | grep lpp_id | awk
{'print $3'}`
odmdelete -q name=bos.rte.bosinst -o lpp
odmdelete -q lpp_name=bos.rte.bosinst -o product
odmdelete -q lpp_id=$LPP_ID -o history
odmdelete -q lpp_id=$LPP_ID -o inventory
Verify with lppchk -v (should now come back clean).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:09 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com