dpkg 1.21.11
|
#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <fcntl.h>
#include <dirent.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/pkg-list.h>
#include <dpkg/pkg-queue.h>
#include <dpkg/options.h>
#include <dpkg/db-ctrl.h>
#include <dpkg/db-fsys.h>
#include "main.h"
Enumerations | |
enum | found_status { FOUND_NONE = 0 , FOUND_DEFER = 1 , FOUND_FORCED = 2 , FOUND_OK = 3 } |
Functions | |
void | enqueue_package (struct pkginfo *pkg) |
void | enqueue_package_mark_seen (struct pkginfo *pkg) |
int | packages (const char *const *argv) |
void | process_queue (void) |
enum dep_check | breakses_ok (struct pkginfo *pkg, struct varbuf *aemsgs) |
enum dep_check | dependencies_ok (struct pkginfo *pkg, struct pkginfo *removing, struct varbuf *aemsgs) |
Variables | |
enum dependtry | dependtry = DEPEND_TRY_NORMAL |
int | sincenothing = 0 |
enum found_status |
References dbg_depcon, debug(), and DEP_CHECK_OK.
Referenced by deferred_configure().
void enqueue_package | ( | struct pkginfo * | pkg | ) |
References pkginfo::clientdata, perpackagestate::enqueued, ensure_package_clientdata(), and pkg_queue_push().
Referenced by deferred_configure(), enqueue_package_mark_seen(), ok_prermdeconfigure(), and trigproc().
void enqueue_package_mark_seen | ( | struct pkginfo * | pkg | ) |
References pkginfo::clientdata, perpackagestate::cmdline_seen, and enqueue_package().
int packages | ( | const char *const * | argv | ) |
References _, badusage(), checkpath(), cipaction, f_noact, f_pending, FORCE_NON_ROOT, in_force(), log_message(), modstatdb_open(), msdbrw_needsuperuser, msdbrw_readonly, msdbrw_write, cmdinfo::olong, pkg_infodb_upgrade(), and trigproc_install_hooks().
void process_queue | ( | void | ) |
References abort_processing, act_configure, act_install, act_purge, act_remove, act_triggers, cmdinfo::arg_int, cipaction, clear_istobes(), internerr, PKG_ISTOBE_INSTALLNEW, PKG_ISTOBE_NORMAL, and PKG_ISTOBE_REMOVE.
enum dependtry dependtry = DEPEND_TRY_NORMAL |
int sincenothing = 0 |
Referenced by deferred_configure(), deferred_remove(), and trigproc().