meta_init_db meta_init_tmpdir meta_rm_tmpdir
It initializes directories required for package management.It requires ROOT to be set.Following Global variables are set:
ADM_DIR the admininstration dir (ROOT/var/log) ZENPAKT_TMPDIR the temporary directory (ADM_DIR/setup/tmp/random-numbers)
Following Directories are created under ADM_DIR:
- packages/
- scripts/
- removed_packages/
- removed_scripts/
- setup/tmp
- partial_packages/
- ZENPAKT_TMPDIR
The partial_packages directories should hold the package index for packages whose install/upgrade was interrupted unexpectedly.You should reinstall or remove those packages.The information for these shall be obtainable via via pkgdb --partial partial|-p partial in future
- 0 success
- >0 error