Sponsored Content
Operating Systems AIX How to avoid errors when moving files in a bff? Post 303042905 by kevinl on Friday 10th of January 2020 06:25:58 AM
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 :

Code:
Package Name: svr_exForum
Package VRMF: 7.2
Update: N
Fileset
        Fileset Name: svr_exForum.rte
        Fileset VRMF: 7.2
        USRLIBLPPFiles
                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
        EOUSRLIBLPPFiles
        USRFiles
                /exForum7/
                /exForum7/full/
                /exForum7/full/exForum7
                /exForum7/exForum7up
        EOUSRFiles
        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
        Requisites:
        ROOT Part: N
        ROOTLIBLPPFiles
        EOROOTLIBLPPFiles
        ROOTFiles
        EOROOTFiles
        Relocatable: N
        OVERRIDE_INVENTORY: /lppdir/lpp/exForum/svr_exForum.override
EOFileset

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 :

Code:
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
yum-verify(1)															     yum-verify(1)

NAME
yum verify plugin SYNOPSIS
yum [options] verify [package ...] DESCRIPTION
This plugin extends yum with some commands that give verification information on the installed system, much like rpm -V. You can change how the verification is done and which files it applies to. added yum commands are: * verify * verify-rpm * verify-all all of which take the same arguments as the list yum command, obviously you can only verify packages that are installed on the system. verify Is the generic verification command, and is intended to give the most useful output. It removes all false matches due to multilib and ignores changes to configuration files by default. verify-rpm Is meant to be 100% compatible with rpm -V output, and any differences should be considered as bugs. verify-all Is used to list all the differences, including some that rpm itself will ignore. GENERAL OPTIONS
These are the options added to yum that are available in the verify commands. They are: --verify-filenames This option is used to limit the filenames that the packages will perform verification. --verify-configuration-files This option is only useful in the generic verify command, and will enable/disable verification of files that are tagged as configu- ration files. EXAMPLES
To do the same as rpm -Va, use: yum verify-rpm To verify the packages starting with the name yum, use: yum verify 'yum*' To verify the binaries that are in a bin directory, use: yum verify --verify-filenames='*bin/*' To verify all include files, Eg. for multilib problems, use: yum verify-all --verify-filenames='/usr/include/*' SEE ALSO
yum (8) yum.conf (5) the verify.conf file in /etc/yum/plugins.d AUTHORS
James Antill <james.antill@redhat.com>. BUGS
Currently yum-verify does not do verify-script checking or dependency checking, only file checking. Should you find any other bugs, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. James Antill 01 March 2008 yum-verify(1)
All times are GMT -4. The time now is 10:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy