Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ removef(1M) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

compver(4)

copyright(4)

depend(4)

installf(1M)

pkgadd(1M)

pkgask(1M)

pkgchk(1M)

pkginfo(1)

pkginfo(4)

pkgmap(4)

pkgmk(1)

pkgproto(1)

pkgtrans(1)

space(4)






       removef(1M)                                              removef(1M)


       NAME
             removef - remove a file from software database

       SYNOPSIS
             removef pkginst path1 [path2 . . .]
             removef pkginst -
             removef -f pkginst

       DESCRIPTION
             removef informs the system that the user, or software, intends
             to remove a pathname.  Output from removef is the list of
             input pathnames that may be safely removed (no other packages
             have a dependency on them).

             When the second synopsis is used, the pathname descriptions
             will be read from standard input. These descriptions are the
             same as would be given in the first synopsis, but the
             information is given in the form of a list.

             After all files have been processed, removef should be invoked
             with the -f option to indicate the removal phase is complete.

             pkginst   Name of package instance with which the pathname
                       should be associated.

             -f        Indicates the removal phase is complete.  This
                       option is used with removef when all files have been
                       processed.

       EXAMPLES
             The following shows the use of removef in an optional post-
             install script:

                   echo "The following files are no longer part of this package \
                         and are being removed."
                   removef $PKGINST /dev/xt[0-9][0-9][0-9] |
                   while read pathname
                   do
                         echo "$pathname"
                         rm -f $pathname
                   done
                   removef -f $PKGINST || exit 2

          Exit Codes




                           Copyright 1994 Novell, Inc.               Page 1













      removef(1M)                                              removef(1M)


            0     Successful completion of script.

            1     Fatal error. Installation process is terminated at this
                  point.

            99    Internal error.

      NOTICES
            Using multiple invocations is discouraged if standard input
            style invocations can be used with a list of files.  This will
            be much faster because the contents file must be searched for
            each entry.

            /usr/lib/locale/locale/LC_MESSAGES/uxpkg
                  language-specific message file [See LANG on environ(5).]

      REFERENCES
            compver(4), copyright(4), depend(4), installf(1M), pkgadd(1M),
            pkgask(1M), pkgchk(1M), pkginfo(1), pkginfo(4), pkgmap(4),
            pkgmk(1), pkgproto(1), pkgtrans(1), space(4)




























                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026