Module package :: Class Yum
[hide private]
[frames] | no frames]

Class Yum

source code

           object --+        
                    |        
yum.depsolve.Depsolve --+    
                        |    
              yum.YumBase --+
                            |
                           Yum

Provides custom configured yum object.

Instance Methods [hide private]
 
__init__(self, importkeys=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
doPluginSetup(self, *args, **kwargs)
Set command line arguments.
source code
 
registerCommand(self, command)
Support TYPE_INTERACTIVE plugins.
source code
 
cleanLoggers(self)
Clean handlers leaked by yum.
source code
 
close(self)
This should be handled by __del__() but YumBase objects never seem to completely go out of scope and garbage collected.
source code

Inherited from yum.YumBase: __del__, add_enable_repo, bestPackagesFromList, buildTransaction, cleanExpireCache, cleanHeaders, cleanMetadata, cleanPackages, cleanRpmDB, cleanSqlite, cleanUsedHeadersPackages, closeRpmDB, costExcludePackages, deselectEnvironment, deselectGroup, disablePlugins, doConfigSetup, doFileLogSetup, doGenericSetup, doGroupLists, doGroupSetup, doLock, doLoggingSetup, doPackageLists, doRepoSetup, doRpmDBSetup, doSackFilelistPopulate, doSackSetup, doUnlock, doUpdateSetup, downgrade, downgradeLocal, downloadHeader, downloadPkgs, environmentRemove, excludePackages, findDeps, getCAKeyForRepo, getInstalledPackageObject, getKeyForPackage, getKeyForRepo, getPackageObject, getReposFromConfig, getReposFromConfigFile, gpgKeyCheck, groupRemove, groupUnremove, history_redo, history_undo, includePackages, install, installLocal, load_ts, processTransaction, readRepoConfig, reinstall, reinstallLocal, remove, returnInstalledPackageByDep, returnInstalledPackagesByDep, returnPackageByDep, returnPackagesByDep, runTransaction, save_ts, searchGenerator, searchPackageProvides, searchPackageTags, searchPackages, selectEnvironment, selectGroup, setCacheDir, sigCheckPkg, update, verifyChecksum, verifyHeader, verifyPkg, verifyTransaction, verify_plugins_cb, yumUtilsMsg

Inherited from yum.YumBase (private): _add_not_found, _add_not_found_a, _add_not_found_i, _add_prob_flags, _add_up_txmbr, _askForGPGKeyImport, _at_groupdowngrade, _at_groupinstall, _at_groupremove, _at_groupupgrade, _bestPackageFromList, _buildDepTree, _checkMissingObsoleted, _checkSignatures, _checkUpdatedLeftovers, _check_new_update_provides, _cleanFilelist, _cleanFiles, _delRepos, _delSacks, _deleteTs, _doSkipBroken, _doTestTransaction, _doTransaction, _does_this_update, _downloadPackages, _find_obsoletees, _find_obsoletees_direct, _getAnyKeyForRepo, _getConfig, _getDepsToRemove, _getGroups, _getHistory, _getIGroups, _getKeyImportMessage, _getPackagesToRemove, _getPackagesToRemoveAllArch, _getRepos, _getRpmDB, _getSacks, _getTags, _getUpdates, _groupInstalledData, _groupInstalledEnvData, _groupReturnGroups, _has_needed_revdeps, _install_is_upgrade, _is_local_exclude, _limit_installonly_pkgs, _minus_deselect, _nevra_kwarg_parse, _newer_update_in_trans, _pkg2obspkg, _printDepTree, _printTransaction, _removePoFromTransaction, _remove_old_deps, _retrievePublicKey, _rpmdb_warn_checks, _run_rpm_check, _setGroups, _skipFromTransaction, _skipPackagesWithProblems, _store_config_in_history, _test_loop, _transactionDataFactory, _valid_install_arch

Inherited from yum.depsolve.Depsolve: allowedMultipleInstalls, cprof_resolveDeps, doTsSetup, initActionTs, isPackageInstalled, populateTs, prof_resolveDeps, resolveDeps, whatProvides

Inherited from yum.depsolve.Depsolve (private): _checkConflicts, _checkFileRequires, _checkInstall, _checkRemove, _compare_providers, _delTsInfo, _dscb_procConflict, _dscb_procReq, _err_missing_requires, _getActionTs, _getTs, _getTsInfo, _isPackageInstalled, _prco_req2req, _processConflict, _processReq, _quickWhatProvides, _requiringFromInstalled, _requiringFromTransaction, _resolveRequires, _setTsInfo, _undoDepInstalls

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from yum.YumBase (private): _get_locker, _lock, _ui_nevra_dict, _unlock

Inherited from yum.depsolve.Depsolve (private): _prco_req_nfv2req, _sort_req_key

Properties [hide private]

Inherited from yum.YumBase: comps, conf, history, igroups, pkgSack, pkgtags, repos, rpmdb, ts, tsInfo, up

Inherited from object: __class__

Method Details [hide private]

__init__(self, importkeys=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • importkeys (bool) - Allow the import of GPG keys.
Overrides: object.__init__

doPluginSetup(self, *args, **kwargs)

source code 

Set command line arguments. Support TYPE_INTERACTIVE plugins.

Overrides: yum.YumBase.doPluginSetup

registerCommand(self, command)

source code 

Support TYPE_INTERACTIVE plugins. Commands ignored.

close(self)

source code 

This should be handled by __del__() but YumBase objects never seem to completely go out of scope and garbage collected.

Overrides: yum.YumBase.close