apt  2.2.4
About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.
  Fossies Dox: apt-2.2.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

apt-get.cc File Reference
#include <config.h>
#include <apt-pkg/acquire-item.h>
#include <apt-pkg/acquire.h>
#include <apt-pkg/algorithms.h>
#include <apt-pkg/aptconfiguration.h>
#include <apt-pkg/cachefile.h>
#include <apt-pkg/cacheset.h>
#include <apt-pkg/clean.h>
#include <apt-pkg/cmndline.h>
#include <apt-pkg/configuration.h>
#include <apt-pkg/debmetaindex.h>
#include <apt-pkg/depcache.h>
#include <apt-pkg/error.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/indexfile.h>
#include <apt-pkg/init.h>
#include <apt-pkg/macros.h>
#include <apt-pkg/metaindex.h>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/pkgrecords.h>
#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/progress.h>
#include <apt-pkg/sourcelist.h>
#include <apt-pkg/srcrecords.h>
#include <apt-pkg/strutl.h>
#include <apt-pkg/upgrade.h>
#include <apt-pkg/version.h>
#include <apt-private/acqprogress.h>
#include <apt-private/private-cachefile.h>
#include <apt-private/private-cacheset.h>
#include <apt-private/private-cmndline.h>
#include <apt-private/private-download.h>
#include <apt-private/private-install.h>
#include <apt-private/private-main.h>
#include <apt-private/private-moo.h>
#include <apt-private/private-output.h>
#include <apt-private/private-source.h>
#include <apt-private/private-update.h>
#include <apt-private/private-upgrade.h>
#include <apt-private/private-utils.h>
#include <errno.h>
#include <grp.h>
#include <pwd.h>
#include <signal.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <apti18n.h>
Include dependency graph for apt-get.cc:

Go to the source code of this file.

Macros

#define APT_RELEASE(X, Y)   if (RlsFile.Y() != NULL) AddOptions.insert(std::make_pair(X, RlsFile.Y()))
 

Functions

static bool DoMarkAuto (CommandLine &CmdL)
 
static bool DoDSelectUpgrade (CommandLine &)
 
static bool DoCheck (CommandLine &)
 
static std::string format_key (std::string key)
 
static bool DoIndexTargets (CommandLine &CmdL)
 
static bool ShowHelp (CommandLine &)
 
static std::vector< aptDispatchWithHelpGetCommands ()
 
int main (int argc, const char *argv[])
 

Macro Definition Documentation

◆ APT_RELEASE

#define APT_RELEASE (   X,
 
)    if (RlsFile.Y() != NULL) AddOptions.insert(std::make_pair(X, RlsFile.Y()))

Function Documentation

◆ DoCheck()

static bool DoCheck ( CommandLine )
static

Definition at line 217 of file apt-get.cc.

References CacheFile::CheckDeps(), and CacheFile::Open().

Referenced by GetCommands().

◆ DoDSelectUpgrade()

◆ DoIndexTargets()

◆ DoMarkAuto()

static bool DoMarkAuto ( CommandLine CmdL)
static

◆ format_key()

static std::string format_key ( std::string  key)
static

Definition at line 227 of file apt-get.cc.

Referenced by DoIndexTargets().

◆ GetCommands()

◆ main()

int main ( int  argc,
const char *  argv[] 
)

◆ ShowHelp()