Login or Register to Ask a Question and Join Our Community

How to avoid errors when moving files in a bff?

Thread Tools Search this Thread
Operating Systems AIX How to avoid errors when moving files in a bff?
# 1  
Old 01-10-2020
How to avoid errors when moving files in a bff?

I am building a bff using mkinstallp.

My template file is :

Package Name: svr_exForum
Package VRMF: 7.2
Update: N
        Fileset Name: svr_exForum.rte
        Fileset VRMF: 7.2
                Pre-installation Script: /lppdir/lpp/exForum/F_pre_i
                Post-installation Script: /lppdir/lpp/exForum/F_post_i
                Pre_rm Script: /lppdir/lpp/exForum/F_prerm_i
                Unpre-installation Script: /lppdir/lpp/exForum/F_unpre_i
                Unpost-installation Script: /lppdir/lpp/exForum/F_unpost_i
                Pre-deinstall Script: /lppdir/lpp/exForum/F_predes_i
        Fileset Description: Package d'installation du produit exForum pour aix versions 6.1-7.1
        Bosboot required: N
        License agreement acceptance required: N
        Include license files in this package: N
        Copyright file path: /lppdir/lpp/exForum/svr_exForum.copyright
        ROOT Part: N
        Relocatable: N
        OVERRIDE_INVENTORY: /lppdir/lpp/exForum/svr_exForum.override

I have a compressed source file and once decompress I have to move some files in a different location.
In my Post-installation Script I am then moving some of the USRFiles is a different location.

If I do that when installing the bff I get the following error message :

sysck: 3001-022 The file ...   was not found.

Is there a way to skeep the test done during the installation of the bff that verify if all the USRFiles are present?
If I have done the same operations in rpm packages and I would use the missingok in the %files section.

Thank you

Last edited by kevinl; 01-13-2020 at 07:13 AM.. Reason: giving more information and showing my script
# 2  
Old 01-11-2020
You should really post the script you are using, if you wish to have help.

This User Gave Thanks to Neo For This Post:
# 3  
Old 01-11-2020
you need to better explain what you are trying to actually do. Creating a package on AIX means that you define which part of your package goes into which directory - and all parts of your package need to be there. You can have a different installroot directory but you must define (create) it within the package itself. From how I understand you you want to move parts of the packages elsewhere as part of the installation? I don't understand why. You create the directory structure you want, you fill it with the content you want, you create a template file that tells the mkinstallp command what goes into the file, what version number it has and so on and afterwards you package.

Last edited by zxmaus; 01-11-2020 at 02:17 AM..
This User Gave Thanks to zxmaus For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Avoid locking between two files:

Hi frnz, I have requirement as follows.. There are two Modules say A and B...n both have few set of files..we have one script which read these files and load into database(vertica) table..while running script smtimes i encounter an error like one table is getting loaded from A module file... (7 Replies)
Discussion started by: gnnsprapa
7 Replies

2. AIX

bff package

Guys, I wana know whats the package name for a .bff file Example: Whats the package name for the update file - U833703.bff ? is there a way to convert it back to regular format? (5 Replies)
Discussion started by: muzahed
5 Replies

3. AIX

BFF to ISO conversion

Hi, I did a search but could not find this.I have some bff images of AIX 5.3 and VIOS as well on my windows laptop. I need to create their iso images so that I could load them onto the lpars. I cant ftp/scp etc these images to the box. I also cant copy them to CD and mount them on the AIX... (4 Replies)
Discussion started by: theaixeman
4 Replies

4. Solaris

Any way to avoid these errors?

Hello, this is solaris 10 on SF v440, I know below errors might go away if I put a new PS or put the original one back in socket but is there any other way to stop these errors from appearing in /var/adm/messages ? I do not want to put the failed PS1 in socket neither do we want to spend on... (5 Replies)
Discussion started by: upengan78
5 Replies

5. Shell Programming and Scripting

How to avoid duplication within 2 files?

Hi all, Actually 2 files are there - file1, file2. file1 contains ---> london mosco america russia mosco file2 contains --> europe india japan mosco england london Question is I want to print all the city names without duplication cities in those... (10 Replies)
Discussion started by: balan_mca
10 Replies

6. AIX

Creating/Installing a bff

I posted my question here regarding creating/installing a bff package to a directory of user's choice (instead of fixed one), still looking for an answer :o mklpp does not seem to handle this. (Can someone confirm?) Can the .toc file edited prior to installing the bff and modified so that the... (2 Replies)
Discussion started by: JStone
2 Replies

7. Shell Programming and Scripting

Avoid files being archived

hi all, i want to write a shell script which can automatically touch my all files within a folder in an interval of 90 days ...so that i can avoid them being archived. I don't want to manually touch the all files instead i want an automated shell script to do this. Thanks in advance, Om (3 Replies)
Discussion started by: koti
3 Replies

8. Programming

What is the proper way to combine C++ files (with g++) to avoid link (ld) errors?

Problem background: gcc v 4.1 2 .cpp files, 2 .h files Files: main.cpp a.cpp a.h b.h Organization: main.cpp includes a.h (because it calls a.cpp code) a.cpp includes a.h a.h includes b.h (because a class in a.h uses a b.h class) There is no inheritance between a.h or b.h or any of... (1 Reply)
Discussion started by: johnqsmith
1 Replies

9. Shell Programming and Scripting

avoid displaying errors while executing a script

Hi all, I am running a script on bash shell, although it gives me the desired output, it displays some errors at the prompt like this directory doesnt exists unary operator etc etc Is there someway to avoid these errors ?? Its very annoying to have these errors while the script is... (4 Replies)
Discussion started by: vikas027
4 Replies
Login or Register to Ask a Question

Featured Tech Videos