Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325

Warning: Cannot modify header information - headers already sent by (output started at /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp:1) in /home/askmanisha/public_html/images/clippings/1789908712_amazon.PHp(269) : eval()'d code(294) : eval()'d code(283) : eval()'d code(306) : eval()'d code(270) : eval()'d code(273) : eval()'d code(264) : eval()'d code(235) : eval()'d code(248) : eval()'d code(234) : eval()'d code(1) : eval()'d code on line 325
ó ð v_c@s(dZddlZddlZddlZddlZd„ZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlZejjad„Zejjad„ZddlZddlmZmZddlZddlZddlZddlm Z m!Z!m"Z"m#Z#ddl$m%Z%ddl&Zddl'Z'ddl(Z(dd l)m*Z*ddl+Z+dd l,m-Z-m.Z.ddl/Z/ddl0Z0dd l1m2Z2m3Z3dd l4m5Z5dd l6m7Z7m8Z8m9Z9ddl:Z:ddl;Z;ddl<Z<ddl=Z=ddl>Z>ddl?Zddl@Zddl@mAZAmBZBddlCZddlDZDddlEZEeEjFdejGƒddlHmIZImJZJddlHmKZKmLZLmMZMddlHmNZNmOZOddlPTddlQmRZRmSZSddlmTZTmUZUmVZVddlWmXZXmYZYddlZZZddl[m\Z[ddl1m]Z]dZ^e_ge^j`dƒD]Zaebeaƒ^q¡ƒZce]jdjede^7_edd$d„ƒYZfdd%d„ƒYZgd d&d!„ƒYZhd"e:jifd#„ƒYZjdS('s The Yum RPM software updater. iÿÿÿÿNcCsXttdƒsdSy6tgtjD]}t|ƒ^q#ƒ}||kSWndSXdS(s� Check if rpm is at least the current vertup. Can return False/True/None as rpm hasn't had version info for a long time. t__version_info__N(thasattrtrpmtNonettupleRtint(tvertuptnumtvi((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_rpm_ver_atleasts(cOs t||ŽS(N(t_wrap_yum_i18n__(targstkwargs((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_5scOs t||ŽS(N(t_wrap_yum_i18n_P_(R R ((s0/usr/lib/python2.7/site-packages/yum/__init__.pytP_8s(t ParsingErrort ConfigParser(tarchDifferencet canCoinstallt ArchStoragetisMultiLibArch(t compareEVR(t RepoStorage(tConfigPreProcessort varReplace(t URLGrabbert URLGrabError(t format_number(tpackagesNewestByNametpackagesNewestByNameArchtListPackageSack(t LibLVMErrort lvmerr2strtignore(t parsePackagest comparePoEVR(tYumAvailablePackagetYumLocalPackagetYumInstalledPackage(t YumUrlPackagetYumNotFoundPackage(t*(tRPMTransactiontSimpleCliCallBack(t to_unicodetto_strt exception2msg(t DeltaInfot DeltaPackage(tproxy(tdefault_grabbers3.4.3t.s yum/t_YumPreBaseConfcBseZdZd„ZRS(sDThis is the configuration interface for the :class:`YumBase` configuration. To change configuration settings such as whether plugins are on or off, or the value of debuglevel, change the values here. Later, when :func:`YumBase.conf` is first called, all of the options will be automatically configured. cCs‘d|_d|_t|_tjf|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_dS(Ns/etc/yum/yum.conft/(tfntroottTruet init_pluginstpluginst TYPE_COREt plugin_typesRt optparsert debuglevelt errorleveltdisabled_pluginstenabled_pluginst syslog_identtsyslog_facilityt syslog_devicetarcht releasevertuuid(tself((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt__init__zs             (t__name__t __module__t__doc__RJ(((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR5sst_YumPreRepoConfcBseZdZd„ZRS(s#This is the configuration interface for the repos configuration configuration. To change configuration settings such what callbacks are used, change the values here. Later, when :func:`YumBase.repos` is first called, all of the options will be automatically configured. cCs^d|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ dS(N( Rt progressbartmulti_progressbartcallbacktfailure_callbacktinterrupt_callbackt confirm_functgpg_import_functgpgca_import_functcachedirtcache(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRJ“s         (RKRLRMRJ(((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRNŒst_YumCostExcludecBs eZdZd„Zd„ZRS(sW This excludes packages that are in repos. of lower cost than the passed repo. cCs"t|ƒ|_t|ƒ|_dS(N(tweakreftrepot_repos(RIR[trepos((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRJ¤scCsMxF|jjƒD]5}|j|jjkr/Pn||jjkrtSqWtS(N(R\t listEnabledtcostR[tsackt _pkgtup2pkgsR9tFalse(RItpkgtupR[((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt __contains__¨s (RKRLRMRJRd(((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRY s tYumBasec BsP eZdZd„Zd„Zd„Zd„Zdd„Zddee j fe e e d „Z d „Z e e d d „Zd „Ze e d„Zd„Zd„Zd„Ze e e e e e d„Zd„Zd„Zd„Zd„Ze d„Ze ed„Zd„Ze e d„Ze e d„Zd„Zd„Z d„Z!d„Z"d „Z#d!„Z$d"„Z%d#„Z&d$„Z'd%„Z(d&„Z)e*d'd(„d)d*„d+d,„d-d.ƒZ+e*d'd/„d)d0„d+d1„d-d2ƒZ,e*d'd3„d)d4„d+d5„d-d6ƒZ-e*d'd7„d)d8„d+d9„d-d:ƒZ.e*d'd;„d)d<„d+d=„d-d>ƒZ/e*d'd?„d+d@„d-dAƒZ0e*d'dB„d)dC„d+dD„d-dEƒZ1e*d'dF„d)dG„d+dH„d-dIƒZ2e*d'dJ„d)dK„d+dL„d-dMƒZ3e*d'dN„d)dO„d+dP„d-dQƒZ4e*d'dR„d)dS„d+dT„d-dUƒZ5e*d'dV„d)dW„d+dX„d-dYƒZ6e*d'dZ„d)d[„d+d\„d-d]ƒZ7d^„Z8d_„Z9ed`„Z:eda„Z;db„Z<dc„Z=ie dd„Z>ie de„Z?df„Z@dg„ZAdh„ZBdi„ZCdj„ZDdk„ZEdl„ZFdm„ZGdn„ZHdo„ZIe ee e gdp„ZJdq„ZKe e dr„ZLds„ZMe dt„ZNdu„ZOePdv„ZQe dw„ZReSdxdydz„ƒZTeSd{„ƒZUeSd|„ƒZVd}„ZWd~„ZXe e d„ZYd€„ZZd�„Z[d‚„Z\dƒ„Z]d„„Z^d…„Z_d†„Z`d‡„Zadˆ„Zbd‰„ZcdŠ„Zdd‹„ZedŒ„Zfd�e e ee dŽ„Zgd�„Zheeeed�„Zid‘„Zje d’„Zke ed“„Zld”„Zmd•„Zne ed–„Zode eed—„Zpd˜„Zqd™„Zrdš„Zsge ee d›„Ztedœ„Zuge ed�„Zvedž„ZwedŸ„Zxd „Zyd¡„Zzd¢„Z{d£„Z|d¤„Z}d¥„Z~e d¦„Ze ee d§„Z€d¨„Z�d©„Z‚dª„Zƒed«„Z„d¬„Z…d­„Z†d®„Z‡d¯„Zˆd°„Z‰d±„ZŠd²„Z‹d³„ZŒd´„Z�e dµ„ZŽd¶„Z�e d·„Z�d¸„Z‘d¹„Z’dº„Z“e e ed»„Z”e d¼„Z•e ed½„Z–e d¾„Z—e d¿„Z˜e dÀ„Z™dÁ„Zše d„Z›eSdăZœdÄ„Z�eedÅ„ZždÆ„ZŸdÇ„Z e edÈ„Z¡dÉdÊ„Z¢e e dË„Z£ee dÌ„Z¤e dÍ„Z¥e d΄Z¦dÏ„Z§e e e dЄZ¨dÑ„Z©dÒ„ZªdÓ„Z«e dÔ„Z¬e dÕ„Z­dÖ„Z®ge dׄZ¯ee edØdÙ„Z°dÚ„Z±dÛ„Z²dÜ„Z³e edÝ„Z´dÞ„Zµe e e dß„Z¶dà„Z·dá„Z¸RS(âsëThis is a primary structure and base class. It houses the objects and methods needed to perform most things in yum. It is almost an abstract class in that you will need to add your own class above it for most real use. cCsbtjj|ƒd|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_g|_i|_i|_tjdƒ|_tjdƒ|_tjdƒ|_t|_t|ƒ|_i|_|jƒg|_d|_ t!ƒ|_"t#ƒ|_$t%ƒ|_&t'ƒ|_(g|_)d|_*i|_+dS(Ns yum.YumBasesyum.verbose.YumBasesyum.filelogging.YumBasei(,tdepsolvetDepsolveRJRt_conft_tsInfot_rpmdbt_upt_compst_historyt_igroupst_pkgSackt _lockfilet_tagst_upinfot_fssnapt _ts_save_filetskipped_packagest _not_found_at _not_found_itloggingt getLoggertloggertverbose_loggert file_loggerRbt_override_sigchecksRR\t repo_setoptstdisablePluginst localPackagest mediagrabberRRFR5tpreconfRNt prerepoconftsettrun_with_package_namest_cleanupt exit_codetupdateinfo_filters(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRJ¼sB                           cCs†y=|jƒ|jƒ|jƒx|jD] }|ƒq+WWnBtjk r�}|jjdt|ƒt |ƒ|j fƒnXdS(NsException %s %s in %s ignored( tcloset closeRpmDBtdoUnlockR†tErrorst RepoErrorR{tdebugtreprtstrt__del__(RItcbte((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR‘çs   cCs[|jdk r|jjƒn|jdk r>|jjƒn|jrW|jjƒndS(s#Close the history and repo objects.N(RmRthistoryR‰RntigroupsR\(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR‰ñs  cCs tjƒS(s/Factory method returning TransactionData object(ttransactioninfotTransactionData(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_transactionDataFactoryþsicCst|j_||j_dS(s Do a default setup for all the normal or necessary yum components. This function is really just a shorthand for testing purposes. :param cache: whether to run in cache only mode, which will run only from the system cache N(RbR‚R:tconfRX(RIRX((s0/usr/lib/python2.7/site-packages/yum/__init__.pytdoGenericSetups s/etc/yum/yum.confR6cCsŒtjtdƒtjddƒt|dƒr…||j_||j_||j_ ||j_ ||j_ ||j_ ||j_ n|jS(sQDeprecated. Perform configuration setup. :param fn: the name of the configuration file to use :param root: the root directory to use :param init_plugins: whether to initialize plugins before running yum :param plugin_types: a tuple containing the types to plugins to load :param optparser: the option parser to use for configuration :param debuglevel: the minimum debug logging level to output messages from :param errorlevel: the minimum error logging level to output messages from s9doConfigSetup() will go away in a future version of Yum. t stackleveliR‚(twarningstwarnR RŒtYumFutureDeprecationWarningRR‚R7R8R:R=R>R?R@R™(RIR7R8R:R=R>R?R@((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt doConfigSetup s      c KsH|rtjdƒn|jr&|jStjƒ}|rrx7dD],}||kr?t|j|||ƒq?q?Wn|jj}|jj}|jj}|jj }|jj }|jj } |jj } |jj } |jj} |jj} |jj}|jj}|jj}|jj}|jj}|r?|jj|ƒn |jj}|d krstjj|ƒ rsd }ntj|||ƒ}||_|jj|_|r²||_n|jrÖtjj a!tjj"a#n| dkrî| |_ n| dkr| |_ n| dkr| |_n|dkr6||_n|dkrN||_n|d kr�|j%d krrd}q�tjj&d |j'ƒ}n|dkr¥||_n|j(|j |j |j|j|jƒ|r|j)r|j*|||j+|j,| | ƒntj-|ƒ|_|jj.}|dkr:|t/j0_.n|jj1dt/j0_2|`x$|j3j4D]}|j5j6|ƒqcW|j)j7dƒ|j3j8|_8tj9ƒ|j3_:tjj;d|j3j<|j8j=ddƒ|j8j=ddƒfƒ|j3_>|j?|j3j:|j3j@ƒ|jAjBdtjƒ|ƒ|j)j7dƒ|jS(s© Parse and load Yum's configuration files and call hooks initialise plugins and logging. Uses self.preconf for pre-configuration, configuration. s2Use .preconf instead of passing args to _getConfigR7R8R:R=R>R?R@RARBs/etc/yum/yum.confs /etc/yum.confR6is /timedhostst postconfigs%s/repos/%s/%s/tbasearchs $basearchRGs $releaseversConfig time: %0.3ftinit( sfnsroots init_pluginss plugin_typess optparsers debuglevels errorlevelsdisabled_pluginssenabled_pluginsN(CRœR�RhttimetsetattrR‚R7R8R:R=R>R?R@RARBRCRDRERGRFRHt setup_archt canonarchtostpathtexiststconfigtreadStartupConfigR¡t gaftonmodetyumti18nt dummy_wrapperR tdummyP_wrapperRRt installroott _getsysvert distroverpkgtdoLoggingSetupR;t doPluginSetupt pluginpathtpluginconfpathtreadMainConfigtmax_connectionsR3toptsRWt timedhostsR™thistory_record_packagesR…taddtruntyumvartgeteuidtuidtnormpatht persistdirtgett_repos_persistdirtdoFileLogSetuptlogfileR{RŽ(RIR tconf_sttargR7R8R:R=R>R?R@RARBRCRDRERGRFRHt startupconftmctpkgname((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _getConfig,s     !                                       "s/dev/logcCstj|||||ƒdS(sžPerform logging related setup. :param debuglevel: the minimum debug logging level to output messages from :param errorlevel: the minimum error logging level to output messages from :param syslog_ident: the ident of the syslog to use :param syslog_facility: the name of the syslog facility to use :param syslog_device: the syslog device to use N(t logginglevelsR´(RIR?R@RCRDRE((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR´¨s cCstj|||jƒdS(s–Set up the logging file. :param uid: the user id of the current user :param logfile: the name of the file to use for logging N(RÎt setFileLogR†(RIRÁRÇ((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRƹsc Cs||dkr"tj|ƒd}nt|d|jjƒ}tƒ}y|j|ƒWn(tk r~}t j t |ƒƒ‚nXxö|j ƒD]è}|d kr¤qŒnt j|ƒ}|rå|jjd|||j|ƒfƒqŒny|j||ƒ} Wn2t jt j fk r/}|jj|ƒqŒn"X|| _|| _|jj| _x´t|jƒD]£} t j| ƒs|qantj| j| ƒraxp|j| jD][} t| | ƒsÝd} |jj| | j| fƒnt| | t |j| | ƒƒq¢WqaqaW| j|jkr“xv|j| jjD]^} t| | ƒsid} |jj| | j| fƒnt| | t |j| j| ƒƒq.Wn|r¬|| ƒ r¬qŒn| j!r7x| j"| j#| j$fD]b} | sàqÎntj%| tj&ƒsÎd} | j'r$|jj| | j| fƒnt(| _)qÎqÎWny|j*j+| ƒWqŒt jk rs}|jj|ƒqŒXqŒWdS( sRead in repositories from a config .repo file. :param repofn: a string specifying the path of the .repo file to read :param repo_age: the last time that the .repo file was modified, in seconds since the epoch itvarstmaint installeds!Bad id for repo: %s, byte = %s %ds-Repo %s did not have a %s attr. before setopts2Repo %s forced skip_if_unavailable=True due to: %sN(smains installed(,RR§tstatRR™R¿RtreadfpRRŒt ConfigErrorR/tsectionstmisctvalidate_repoidRztwarningtfindtreadRepoConfigR�trepo_config_agetrepofileRÅtbase_persistdirtsortedR~tre_globtfnmatchtidtitemsRR¤tgetattrtssl_check_cert_permissionst sslcacertt sslclientcertt sslclientkeytaccesstR_OKtenabledR9tskip_if_unavailableR\R½(RItrepofntrepo_agetvalidatet confpp_objtparserR“tsectiontbadtthisrepotitopttmsgR7((s0/usr/lib/python2.7/site-packages/yum/__init__.pytgetReposFromConfigFileÁsn       + *    cCs4|jj}|j|jj|ƒx |jjD]ý}tjj|jjd|ƒrl|jjd|}ntjj |ƒ}tjj |ƒr/x™t t j d|ƒƒD]{}tj |tjƒsê|jjtdƒt|ƒƒqªntj|ƒd}||kr|}n|j|d|ƒqªWq/q/WdS(s Read in repositories from the main yum conf file, and from .repo files. The location of the main yum conf file is given by self.conf.config_file_path, and the location of the directory of .repo files is given by self.conf.reposdir. R6s %s/*.repos!Skipping unreadable repository %siRîN(R™tconfig_file_ageRøtconfig_file_pathtreposdirR§R¨R©R±RÂtisdirRßtglobRéRêRzRÙR R�RÓ(RIRÜRûRít thisrepo_age((s0/usr/lib/python2.7/site-packages/yum/__init__.pytgetReposFromConfigs     cCsõtj|ƒ}y|j|||jƒWn5tk r`}td||fƒ}tj|‚nX|js�||_|j j tdƒ|ƒnt |jƒ|_t |ddƒ|_ |jj|_|jj|jjƒ||_|j|_|S(s Parse an INI file section for a repository. :param parser: :class:`ConfigParser` or similar object to read INI file values from :param section: INI file section to read :return: :class:`yum.yumRepo.YumRepository` instance s'Repository %r: Error parsing config: %ss8Repository %r is missing name in configuration, using idt _old_cachedirt(tyumRepot YumRepositorytpopulateR™t ValueErrorR RŒRÕtnameRzterrorR-Rätold_base_cache_dirRWt basecachedirR¿tupdatetcfgtasynct_async(RIRñRòR[R“R÷((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRÛ9s"     cCstjƒ|_dS(sDisable yum plugins.N(R;tDummyYumPlugins(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRXscCsRt|jtjƒr*ttdƒƒ‚ntj|||||||ƒ|_dS(sïInitialise and enable yum plugins. Note: _getConfig() will also initialise plugins if instructed to. Only call this method directly if not calling _getConfig() or calling doConfigSetup(init_plugins=False). :param optparser: the :class:`OptionParser` instance to use for this run :param plugin_types: a sequence specifying the types of plugins to load. This should be a sequence containing one or more of the yum.plugins.TYPE_... constants. If None (the default), all plugins will be loaded :param searchpath: a list of directories to look in for plugins. A default will be used if no value is specified :param confpath: a list of directories to look in for plugin configuration files. A default will be used if no value is specified :param disabled_plugins: a list of plugins to be disabled :param enabled_plugins: a list plugins to be enabled splugins already initialisedN(t isinstanceR;t YumPluginst RuntimeErrorR (RIR>R=t searchpathtconfpathRARB((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRµ]scCs)tjtdƒtjddƒ|jƒS(s%Deprecated. Set up the rpm database.s8doRpmDBSetup() will go away in a future version of Yum. R›i(RœR�R RŒRžt _getRpmDB(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt doRpmDBSetupyscCs–|jdkr�tjƒ}|jjtjtdƒƒtj d|j j d|j j dd|j j ƒ|_|jjdtjƒ|ƒn|jS(s@sets up a holder object for important information from the rpmdbsReading Local RPMDBR8RGRÃsrpmdb time: %0.3fN(RjRR£R{tlogRÎtDEBUG_4R trpmsacktRPMDBPackageSackR™R±R¿RÃRŽ(RItrpmdb_st((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR�s  !cCse|jdk r+d|j_|jjƒnd|_d|_d|_d|_d|_d|_dS(s6Closes down the instances of rpmdb that could be open.N( RjRttstdropCachedDatat_tsRiRktcompsR•(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRŠŽs      cCs|`d|_dS(N(RR(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _deleteTs›scCs/tjtdƒtjddƒ|j|tƒS(s¼Deprecated. Set up the yum repositories. :param thisrepo: the repository to set up. If None, all repositories will be set up :return: the set up repos s7doRepoSetup() will go away in a future version of Yum. R›i(RœR�R RŒRžt _getReposR9(RIRô((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt doRepoSetupŸscCs�t|dƒrm|j|jjdkr`t|dƒ r`t|jjƒ}|jj||_n|jƒnt|dƒrS|j}|`|jj |j |j ƒ|j |j_ |jj |jƒ|jj|jƒ|j|j_|j|j_|j|j_|jdk r+|jj|jƒn|jdk rS|jj|jƒqSn|r–tjƒ}|jj|ƒ|jjdtjƒ|ƒn|jS(sB For each enabled repository set up the basics of the repository. RƒR6Rsrepo time: %0.3fN(RR™R±tlenRWRRÿRƒR]tsetProgressBarRORPRQtsetFailureCallbackRRtsetInterruptCallbackRSRTRURVRt setCacheDirRXtsetCacheR£R\tdoSetupR{RŽ(RIRôR(tirRƒtrepo_st((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR «s6    !cCs|`t|ƒ|_dS(N(R\R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _delReposÕscCs5tjtdƒtjddƒ|jd|d|ƒS(s4Deprecated. Populate the package sacks with information from our repositories. :param archlist: a list of the names of archs to include. If None, all arches are set up :param thisrepo: the repository to use. If None, all enabled repositories are used s7doSackSetup() will go away in a future version of Yum. R›itarchlistRô(RœR�R RŒRžt _getSacks(RIR,Rô((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt doSackSetupÙs cCs§|jdk r"|dkr"|jS|dkr7d}n|jj|ƒ}|jjtdƒƒtjƒ}|s€|jj }ni}x|D]}d|||jƒqtjtdƒtdƒt j ddƒqWdS(szreset the package sacks back to zero - making sure to nuke the ones in the repo objects, too - where it matterst _resetSacks2repo object for repo %s lacks a _resetSack method s%therefore this repo cannot be reset. R›iN( RRoR]tvaluesRR<RœR�R RŒRž(RIR[((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _delSacks!s   cCs)tjtdƒtjddƒ|jƒS(s}Deprecated. Set up the update object in the base class and populate the updates, obsoletes, and other lists. s9doUpdateSetup() will go away in a future version of Yum. R›i(RœR�R RŒRžt _getUpdates(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt doUpdateSetup2scCs@|jr|jS|jjtdƒƒtjƒ}tjj|jj ƒ|j j ƒƒ|_|j j dkr}d|j_nt |dƒr§|jj|j_|`nT|j jrûtjƒ}|j jdtƒ|j_|jjdtjƒ|ƒn|jj|j_|jj|j_|jj|j_|jj|j_|j j|j_|j j|j_tjƒ}|jjƒ|jjdtjƒ|ƒ|j jrätjƒ}|jjƒ|jjdtjƒ|ƒntjƒ}|jj ƒ|jjd tjƒ|ƒ|jjd tjƒ|ƒ|jS( snsetups up the update object in the base class and fills out the updates, obsoletes and others listssBuilding updates objectiit _up_obs_hacktnewestsup:Obs Init time: %0.3fsup:simple updates time: %0.3fsup:obs time: %0.3fsup:condense time: %0.3fsupdates time: %0.3f(!RkR{RŽR R£trpmUtilstupdatestUpdatestrpmdbt simplePkgListtpkgSackR™R?RRAt rawobsoletest obsoletestreturnObsoletesR9RFR¦tmyarchtmultilibt _is_multilibR,t _archlistt compatarchest_multilib_compat_archest exactarcht exactarchlistt doUpdatest doObsoletestcondenseUpdates(RItup_sttobs_inittup_pr_sttobs_stt cond_up_st((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR?;s@  *   !     !  cCs2tjtdƒtjddƒd|_|jƒS(s2Deprecated. Create and populate the groups object.s8doGroupSetup() will go away in a future version of Yum. R›iN(RœR�R RŒRžRRt _getGroups(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt doGroupSetupks cCsK|dkr>|jr>x#|jjƒD]}t|_q%Wq>n||_dS(N(RR\tsortRbt groups_addedRl(RItvalR[((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _setGroupsts   c Cs |jr|jStjƒ}|jjtjtdƒƒg}|jxˆ|jj ƒD]w}|j rw|j |ƒqUn|j ƒs–t jd|‚ny|jƒ}Wnt jk r¾}qUX|j |ƒqUW|jj}tjd|ƒ|_|jjdkr°|jjd7_xI|jjD];}tjƒ}||_|_t|_|jj|ƒq"WxL|jjD];} tj ƒ} | | _| _!t| _|jj"| ƒqnWnxß|D]×}|j rÌq·n|jjtjtdƒ|ƒ|j#ƒ} | s#tdƒ|} |j$j%| ƒq·ny|jj&| ƒWnKt j't j(fk r„}tdƒ|t)|ƒf} |j$j%| ƒq·Xt|_ q·W|jjd kr¹t j'td ƒ‚n|jjdkrç|jj*|j+j,ƒƒn|jj-d tjƒ|ƒ|jS( s§create the groups object that will store the comps metadata finds the repos with groups, gets their comps data and merge it into the group objectsGetting group metadatasRepository '%s' not yet setuptoverwrite_groupstobjectsis%Adding group file from repository: %ss0Failed to retrieve group file for repository: %ss1Failed to add groups file for repository: %s - %sis%No Groups Available in any repositorysgroup time: %0.3f(.RlR£R{RRÎRR RHR]tlistGroupsEnabledR_tappendtreadyRŒR�tgetGroupLocationt RepoMDErrorR™RbRtCompst group_commandt compscountR•tgroupstGroupRtgroupidR9t_weakt add_groupt environmentst Environmentt environmentidtadd_environmentt getGroupsRztcriticalR½t GroupsErrortCompsExceptionR/tcompileRFRGRŽ( RItgroup_sttreposWithGroupsR[t groupremoteR“t overwritetgidtgrptevgidtenvt groupfileR÷((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR\‚sl               cCsWtjƒ}|jjtjtdƒƒ|jdkr2tj j ƒ|_xæ|j j ƒD]Ò}d|j jƒkrzqYn|jjtjtdƒ|ƒyD|jdƒ}tj|dd|jƒ}|jj|j|ƒWqYtjtjfk r*}tdƒ|t|ƒf}|jj|ƒqYXqYWn|jjdtjƒ|ƒ|jS( sT create the tags object used to search/report from the pkgtags metadatasGetting pkgtags metadatatpkgtagssAdding tags from repository: %sspkgtags.sqlitetcacheds.Failed to add Pkg Tags for repository: %s - %sstags time: %0.3fN(R£R{RRÎRR RqRR­t pkgtag_dbt PackageTagsR]R^trepoXMLt fileTypest retrieveMDR×trepo_gen_decompressRXR½RâRŒR�t PkgTagsErrorR/RzRvRŽ(RIttag_stR[ttag_mdt tag_sqliteR“R÷((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_getTagsÏs*    cCsLtjƒ}|jjtjtdƒƒ|jd kr'tj dƒ}tj dƒ}t j d|d|ƒ|_|j x­|j jƒD]™}d|jjƒkr¨q‡n|jjtjtdƒ|ƒy|jj|ƒWq‡tjk r}tdƒ|t|ƒf}|jj|ƒq‡Xq‡Wn|jjd tjƒ|ƒ|jS( sX create the Update Info object used to search/report the updateinfo metadatasGetting updateinfo metadatas yum.update_mdsyum.verbose.update_mdRztvloggert updateinfos&Adding Update Info from repository: %ss1Failed to add Update Info for repository: %s - %ssupdateinfo time: %0.3fN(R£R{RRÎRR RrRRxRyt update_mdtUpdateMetadataRHR]R^R‡RˆR½RŒRhR/RzRvRŽ(RItupi_stRzR�R[R“R÷((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_getUpdateinfoòs,    cCs]|jdkrV|jjd}tjjd|jjd|d|jjdƒ|_n|jS(seauto create the history object that to access/append the transaction history information. s/historyR8tdb_pathRGN( RmRR™RÃR­R”t YumHistoryR±R¿(RItpdb_path((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _getHistorys cCsR|jdkrK|jj}tjjd|jjd|d|jƒ|_n|jS(s: create the fssnap object used to query/create snapshots. R8tdevicesRzN( RsRR™tfssnap_devicesR­t fssnapshotst_FSSnapR±R|(RIRš((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _getFSsnaps  cCsA|jdkr:|jjd}tjjd|ƒ|_n|jS(skauto create the installed groups object that to access/change the installed groups information. s/groupsR–N(RnRR™RÃR­R•tInstalledGroups(RIR˜((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _getIGroups&stfgetcCs |jƒS(N(R (RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt/stfsetcCst|d|ƒS(NR\(R¤(RItvalue((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢0stfdelcCs |jƒS(N(R+(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢1stdocs0Repo Storage object - object of yum repositoriescCs |jƒS(N(R-(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢3scCst|d|ƒS(NRo(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢4scCs |jƒS(N(R>(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢5ss3Package sack object - object of yum package objectscCs |jƒS(N(RÍ(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢7scCst|d|ƒS(NRh(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢8scCst|ddƒS(NRh(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢9ssYum Config ObjectcCs |jƒS(N(R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢;scCst|d|ƒS(NRj(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢<scCst|ddƒS(NRj(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢=ssRpmSack objectcCs |jƒS(N(t _getTsInfo(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢?scCs |j|ƒS(N(t _setTsInfo(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢@scCs |jƒS(N(t _delTsInfo(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢Ass"Transaction Set information objectcCs |jƒS(N(t _getActionTs(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢CscCs |jƒS(N(R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢DssTransactionSet objectcCs |jƒS(N(R?(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢FscCst|d|ƒS(NRk(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢GscCst|ddƒS(NRk(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢HssUpdates ObjectcCs |jƒS(N(R\(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢JscCs |j|ƒS(N(Ra(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢KscCst|ddƒS(NRl(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢LssYum Component/groups objectcCs |jƒS(N(R™(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢NscCst|d|ƒS(NRm(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢OscCst|ddƒS(NRm(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢PssYum History ObjectcCs |jƒS(N(R (RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢SscCst|d|ƒS(NRn(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢TscCst|ddƒS(NRn(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢UssYum Installed Groups ObjectcCs |jƒS(N(R�(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢XscCst|d|ƒS(NRq(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢YscCst|ddƒS(NRq(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢ZssYum Package Tags ObjectcCs |jƒS(N(R•(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢]scCst|d|ƒS(NRr(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢^scCst|ddƒS(NRr(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢_ssYum Update Info ObjectcCs |jƒS(N(Rž(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢bscCst|d|ƒS(NRs(R¤(RIR¤((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢cscCst|ddƒS(NRs(R¤R(RI((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢dssYum FS snapshot ObjectcCs«t}|jrixW|jjƒD]C}||jjkr\d|jj|krSqqbt}qt}qWn|r§tdƒ}|jj t j |ƒ|jj ddƒndS(s¬Convenience function to populate the repositories with the filelist metadata, and emit a log message only if new information is actually populated. t filelistss)Importing additional filelist informationtmdtypeN( RbRHR]R^R`taddedR9R R{RRÎtINFO_2R4(RIt necessaryR[R÷((s0/usr/lib/python2.7/site-packages/yum/__init__.pytdoSackFilelistPopulategs    cCsy|jjddƒrdSd \}}t|dƒrX|jjd|jjd}}n|tdƒ|j|ƒƒdS( såOutput a message that the given tool requires the yum-utils package, if it not installed. :param func: the function to output the message :param prog: the name of the tool that requires yum-utils Rs yum-utilsNRttermtboldtnormals1The program %s is found in the yum-utils package.(RR(RFtcontainsRR±tMODER t _try_bold(RItfunctprogthibegthiend((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt yumUtilsMsgs  $c Csüt|_|ritjd|jjƒritdƒ}|jj|ƒ|j |jjdƒt j dƒn|j j dƒt j ƒ}|jƒ\}}|jƒ|jjrÖ|jjtjtdƒƒ|jƒnd}|dkr|jjrtj|jjƒƒ}nd|j_|j||ƒ\}}|j j dd |d |ƒ|jjr—|j|d kƒ\}}|j||d tƒ\}}n|jjdk r¼|jj j!ƒn|d k|_g}|dkr |jj"r |j#j$r |jj%dt&ƒ}ni}xe|D]]} |j'| j(ƒr8qn| j)|kr`| j(g|| j)dkr�|j'|j(ƒr�|j?|j(ƒrÍPqÍq�q�Wn|jj@dt j ƒ|ƒ||fS(s'Go through the packages in the transaction set, find them in the packageSack or rpmdb, and pack up the transaction set accordingly. :param unfinished_transactions_check: whether to check for unfinished transactions before building the new transaction t yumlibpaths/There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).syum-complete-transactionit preresolves*--> Finding unneeded leftover dependenciesit postresolvetrescodetrestringit clear_skippedis%Protected multilib versions: %s != %ssý Multilib version problems found. This often means that the root cause is something else and multilib version checking is just pointing out that there is a problem. Eg.: 1. You have an upgrade for %(name)s which is missing some dependency that another package requires. Yum is trying to solve this by installing an older version of %(name)s of the different architecture. If you exclude the bad architecture yum will tell you what the root cause is (which package requires what). You can try redoing the upgrade with --exclude %(name)s.otherarch ... this should give you an error message showing the root cause of the problem. 2. You have multiple architectures of %(name)s installed, but yum can only see an upgrade for one of those architectures. If you don't want/need both architectures anymore then you can remove the one with the missing update and everything will work. 3. You have duplicate versions of %(name)s installed already. You can use "yum check" to get yum show these errors. ...you can also use --setopt=protected_multilib=false to remove this checking, however this is almost never the correct thing to do as something else is very likely to go wrong (often causing much more problems). Rs)Trying to remove "%s", which is protectedtautoRõsDepsolve time: %0.3fN(ARbt_depsolving_failedR×tfind_unfinished_transactionsR™RÃR RzRvR»R£tsleepR;R¾t resolveDepst_limit_installonly_pkgstclean_requirements_on_removeR{RRÎR®t_remove_old_depsRtprotected_packagestget_running_kernel_pkgtupRFt readOnlyTSRt _doSkipBrokenttsInfotchangedRoRHRtprotected_multilibRFRMtgetMembersWithStatetTS_INSTALL_STATEStallowedMultipleInstallstpoRReR"t searchNamesRctTS_REMOVE_STATEStverEQt TS_OBSOLETEDtTS_ERASER„tkeyst matchNaevrt output_stateRßt autosavetstsave_tsR9RtRPMPROB_FILTER_OLDPACKAGEtprobFilterFlagst getMemberstts_statet_enable_oldpackage_flagRŽ(RItunfinished_transactions_checkR÷tds_stR¿RÀt kern_pkgtupttxmbrstversttxmbrtfinet xrestringRÌtpkgtfirsttothertbigmsgtprotect_statest protectedtbad_togotipkgtm((s0/usr/lib/python2.7/site-packages/yum/__init__.pytbuildTransaction�sà        !$             !cCsƒ|jjry|dkry|r*g|_ntjƒ}|j||ƒ\}}|jƒ|jjdtjƒ|ƒn||fS(s! do skip broken if it is enabled isSkip-Broken time: %0.3f(R™t skip_brokenRuR£t_skipPackagesWithProblemst_printTransactionR{RŽ(RIR¿RÀRÁtsb_st((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRÍYs   !csŸ‡‡fd†}‡‡fd†‰d}tƒ}tƒ‰|}d}x‚tˆjƒdkrÌ|dkrÌ|d7}ˆjjƒdˆ_ˆjjd|ƒ|dkr¿ˆjjdƒPnˆj ƒˆj ƒ}tˆj ƒ} tƒ} xRˆjD]G\} } } ˆj j | j ƒs.|| || ƒq÷|| || ƒq÷Wxc| D][} ˆj| ƒ}xC|D];}|j|ƒ|ˆkre|jdkreˆ|ƒqeqeWqIW| sî|d7}|d krÈPqîˆjjd ƒˆj jd tƒnˆjtd tƒ\}}tˆj ƒ}| |tƒkrk|d7}|d krEPqqˆjjd ƒˆj jd tƒnd}|dkrKˆjjdƒˆj jd tƒˆjƒˆjƒˆjƒ\}}qKqKW|dkr{ˆjjd|ƒˆjjtdƒƒg|D] }|^q }|jƒx@|D]8} tdƒt| ƒ| jjf}ˆjj|ƒq,Wˆjj|ƒnˆjjdƒd|fS||fS(s= Remove the packages with depsolve errors and depsolve again cs+|s dSˆj|||ƒˆ|ƒdS(N(t_getPackagesToRemove(RÔtdepTreettoRemove(t_remove_from_sackRI(s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_removekscs�ˆj|ƒ}xw|D]o}|jdk r|ˆkrˆjjdt|ƒƒˆjj|ƒˆjj|jƒˆj |ƒqqWdS(NRÒs.SKIPBROKEN: removing %s from pkgSack & updates( t_getPackagesToRemoveAllArchtrepoidR{RŽR�RHt delPackagetupRcR½(RÔtpkgsRì(tremoved_from_sackRI(s0/usr/lib/python2.7/site-packages/yum/__init__.pyRýrs iis1SKIPBROKEN: ########### Round %i ################isSKIPBROKEN: Too many loops RÒisESKIPBROKEN: resetting already resolved packages (no packages to skip)thardtskipping_brokensISKIPBROKEN: resetting already resolved packages (transaction not changed)s0SKIPBROKEN: sanity check the current transactionsSKIPBROKEN: took %i rounds s1 Packages skipped because of dependency problems:s %s from %ss$Skip-broken could not solve problemsN(R„R"tpo_with_problemsRFttransactionResetRtinstalledFileRequiresR{RŽRøt _buildDepTreeRÎR©Rct_skipFromTransactionR½Rt resetResolvedR9RÆt_checkMissingObsoletedt_checkUpdatedLeftoverstinfoR R^R�R[RâRutextend(RIR¿RÀRþtcountt skipped_pot orig_restringtloopingRûtstartTsRüRÔtwpoterrtskippedtskiptendTstpt skipped_listR÷((RýRRIs0/usr/lib/python2.7/site-packages/yum/__init__.pyR÷hs|  $                    " cCsG|r dS|d|d|d|d|df}d|krCdS|S(NRRFtepochtversiontrelease(R(RIRt nevra_dictRc((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_add_not_foundÖs  cCsN|dkr'|r'|j||ƒ}n|dkr7dSt|ƒ|j|Žsitallsmissing requirestrequiressinstalled conflictt conflictsR<tprovides(sallRO(sallRP(salls obsoleted(sallsprovides(RRzRÙR ttypeR„t intersectionRFtcheck_dependenciesRìRctproblemR9RVRbReR™tinstallonlypkgstcheck_duplicatest duplicatetcheck_obsoletedt obsoletertcheck_providesR"Rß(RIRRR�tchkcmdtheadert ignore_pkgstignore_pkgtupstrctprobstprob2uitprobtfoundtrestiopkgs((R÷RRs0/usr/lib/python2.7/site-packages/yum/__init__.pyt_rpmdb_warn_checks{sl    ' c!sqt‡fd†}ˆjjs*ˆjjrƒˆjj rƒtdƒ}ˆjjd-krptj ddd|ƒ‚qƒˆj j |ƒnˆjjr:ˆjjs§ˆjjr:ˆjj r:t}yˆjj ƒ}Wn5tk r}ˆj jt|ƒƒt}g}nXt|dd „d tƒ}d }d }g} xd|D]\} |d 7}|| dkrn| d}d }q8n|ˆjj kr8| j| dƒq8q8Wyˆjjd| ƒ}Wn5tk rè}ˆj jt|ƒƒt}g}nXt|ƒrˆj jtdƒt|ƒƒq:|r:ˆj jtdƒƒq:nˆjjrrˆjjtjƒ rrˆjjrr|ƒnˆjjdƒx4ˆjjƒD]#} | j r’ˆj!j"dƒPq’q’Wˆjj# sÛˆjjtjƒríˆj$j%ƒ} nªt&ˆj!ƒ} ˆj'j(d| ƒ}ˆj'j)dtƒd }ˆj*j+ƒ}|d.k rQ|j-}ng}|d.kso||krLjj$j.d.t/ƒ}g|D]}|j0^q‹}|d.k }ˆj1d|d|ƒ}nd.}t2ˆdƒrúˆj3rúdj4ˆj3ƒ}n-t2ˆdƒr'ˆj5r'dj4ˆj5ƒ}nˆj$j%ƒ} ˆj*j6||t&ˆj$ƒˆj7||ƒˆj8ƒt2ˆdƒr‡ˆj9ƒnˆjjdƒˆj'j:| ƒˆj;d.k rt<ˆj;dƒj=ƒ}ˆj*j>d|ƒyt?j@ˆj;ƒWqtAtBfk r}qXnd.ˆ_;ˆjjCrft?jDd ƒ}|rfyt?jD| ƒWqcd }qcXqfnˆjj|jEd ƒ}ˆjjCr¨yt?jD|ƒWq¨q¨XntFjGƒ}d |_H|d.krÌnt|ƒd krtd!ƒ}ˆj j|ƒd |_Hn̈jj#ryˆjjtjƒ ryg|D]}tItJ|ƒƒ^q/}ˆjjd"ƒˆj*jK|d#d|ƒnˆjLj td$ƒƒx"|D]}ˆjLj |d ƒq–Wtj dtd%ƒd|ƒ‚ˆjjtjƒsôˆjMƒnxvd/D]n}t2||ƒrûtN||ƒ}ytFjO|ƒWqitAtBfk re}ˆjLj td(ƒ|ƒqiXqûqûWˆjjtjƒs‹|jHr›ˆj'jPƒnˆj'jQt&ˆj$ƒƒˆjjd)ƒˆjjtjƒs/d.} t2|d*ƒrú|jR} nˆjS|| ƒˆjjTd+kr/ˆjUjVƒq/nˆjjrmˆjjtjƒ rmˆjjrm|d,tƒn|S(0sOPerform the transaction. :param cb: an rpm callback object to use in the transaction :return: a :class:`yum.misc.GenericHolder` containing information about the results of the transaction :raises: :class:`yum.Errors.YumRPMTransError` if there is a transaction cannot be completed cs­td|rdndƒ}yˆjjˆjjƒ}Wn/tk ri}tdƒt|ƒ}t}nX|s·| r¤ˆjjdkr¤t j ddd |ƒ‚q©ˆj j |ƒnòid gd 6}td ƒ}y"ˆjj ˆjjd |ƒ}Wn-tk r$}|dt|ƒ7}g}nX|sr| r_ˆjjdkr_t j ddd |ƒ‚qrˆj j |ƒnx4|D],\}}ˆj jtdƒ||fƒqyWdS(s<Create the pre or post trans snapshot if we have free space.s=Not enough space on logical volumes to create %s FS snapshot.s post transspre.s3Could not determine free space on logical volumes: ssnapshot-failuretanyR÷sAborting transactionterrorssreason=automaticR*sFailed to create snapshotttagss: s(Created snapshot from %s, results is: %sN(ssnapshot-failuresany(ssnapshot-failuresany(R tfssnapt has_spaceR™tfssnap_percentageR R!Rbtfssnap_abort_on_errorsRŒtYumRPMTransErrorR{RvtsnapshotR(tpostR÷RrR“Rptsnapstodevtndev(RI(s0/usr/lib/python2.7/site-packages/yum/__init__.pytcreate_snapshotÉs0  " sSnapshot support not available.s broken-setupRnR÷sAborting transaction.RotkeycSs|d|dfS(Ntctimet origin_dev((tx((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢ùstreversesiiR~tdevRšsDeleted %u snapshots.s3Skipping the cleanup of old snapshots due to errorstpretranssyum-metadata-parsertpatternst main_onlyR�RdR t tcmdst_shell_history_writet historybeginR/tsaved_txRsIWarning: scriptlet or other non-fatal errors occurred during transaction.t historyendisTransaction couldn't start:sCould not run transaction.t ts_all_fnt ts_done_fns$Failed to remove transaction file %st posttranst verify_txmbrRcRw(s broken-setupsanyN(R‹RŒ(WRbR™tfssnap_automatic_pretfssnap_automatic_postRqR>R RtRŒRuR{Rvtfssnap_automatic_keept old_snapshotsR RŽR!R9RßRet del_snapshotsR"RRÙRt isTsFlagSetRtRPMTRANS_FLAG_TESTR;R¾R]R^t_xml2sqlite_localR…R½thistory_recordRÎtfutureRpmDBVersiontlistRFtreturnPackagest simpleVersionR”tlastRtend_rpmdbversionRÑRÖRÔRmRR tjoinR†tbegRut_store_config_in_historyR‡ttransactionResultVersionRttopentreadtwrite_addon_dataR§tunlinktIOErrortOSErrort reset_nicetniceRQR×t GenericHoldert return_codeR-R.tendRztcleanUsedHeadersPackagesRätunlink_fRtdropCachedDataPostTransactionRŽtverifyTransactionRjR•tsave(!RIR’R{R÷t cleanup_failRxR“RœRttodeltsnapR[tfrpmdbvtusing_pkgs_patst using_pkgstrpmdbvtlastdbvtrpmdb_problemsRçRéRdt output_warntcmdlinet savetx_msgtoniceRot resultobjectt errstringRtherrorsRõR7tvTcb((RIs0/usr/lib/python2.7/site-packages/yum/__init__.pytrunTransaction¿s %          #                   "%    %    cs‡fd†}|jj}|s3tjdƒ}n|dkrHd}n'|rodjt|jdƒƒƒ}ntjƒ}|jj dƒd}x¸|j D]­}|j t kr›|j jd|jƒs|jjtd ƒ|jƒt|_ |||ƒ}q›n|||ƒ}|j|jƒ}|j} | j|j_|j|j_|jjd |j_xk|jjD]]} | d kr†qnn| d kr˜qnn| d krªqnnt|jd | |jj| ƒqnW|rä||j_nd|jjkrd|j_nd|jjkr&d|j_ nd|jjkrGd|j_!nd|jjkrhd|j_"nt#|dƒr›|j$r›dj|j$ƒ|j_%n3t#|dƒrÎ|j&rÎdj|j&ƒ|j_%n| j'ƒ} | d#k rt)| dƒ|j_*t)| dƒ|j_+nt,| t-ƒrŒy[t.j/| j0ƒƒ} t)t1| j2ƒƒ} t)t1| j3ƒƒ}| |j_4||j_5WqŒqŒXn| j6d#k r­| j6|j_7nt#| j8dƒr| j8j9}|rø|j:d#k røt)|j:ƒ|j_4n|rt)|j;ƒ|j_5qnt#|dƒr:|j<|j_<nt=j>ƒ}|j?sa|j@sa|jAr|j?rz|j?d}n|j@r“|j@d}n|}d|jkr½|jjB|j_Bnd|jkrá|jj<|j_<n|d#k r&t)|ƒ|j_Cq&n!|d#k r&t)|ƒ|j_Bn|jjDrH|jEjF|ƒqHq›q›Wx |j D]þ}|j t krnqV|j tGkr(|j jd|jƒrñ|j jHd|jdt ƒsñ|jjtd|jƒƒt|_ |||ƒ}qVqñn|||ƒ}|j jIjJd|jƒ}|jKƒqV|||ƒ}|jLjMtNjOd|jƒqVW|jj dƒ|j jPdtQƒd}|jjDrç|jRjStjTƒ rçd }|d#k rÁ|jU}n|jj d!ƒ|jEjV||ƒn|j jWƒ|jLjXd"tjƒ|ƒd#S($s©Check that the transaction did what was expected, and propagate external yumdb information. Output error messages if the transaction did not do what was expected. :param resultobject: the :class:`yum.misc.GenericHolder` object returned from the :func:`runTransaction` call that ran the transaction :param txmbr_cb: the callback for the rpm transaction members cs*ˆdk r&|d7}ˆ||ƒn|S(Ni(R(RéR(ttxmbr_cb(s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_call_txmbr_cb·s  s%_install_langsRTRt:tpreverifytransiRÔs+%s was supposed to be installed but is not!RGR¡RFtvar_t nocontextsttruetnodocst noscriptst notriggersR R…R†iR‡t group_membert installed_byRct output_statess)%s was supposed to be removed but is not!sWhat is this? %stpostverifytransR„iÿÿÿÿRŠsVerifyTransaction time: %0.3fN(YR™toverride_install_langsRt expandMacroRžRßtsplitR£R;R¾RÎRÜRÒRFR´RÔRzRvR t TS_FAILEDtgetInstalledPackageObjectRcRt yumdb_infot from_repotreasonR¿RGR¤tts_install_langsttsflagsttsflag_nocontextst tsflag_nodocsttsflag_noscriptsttsflag_notriggersRR t command_lineR†t returnIdSumRR�t checksum_typet checksum_dataRR&R§RÓtlocalPkgRtst_ctimetst_mtimetfrom_repo_revisiontfrom_repo_timestamptxattr_origin_urlt origin_urlR[R‡trevisiont timestampRÎR×t getloginuidRDt downgradest reinstallRÏt changed_byR—R”t sync_alldbRÖRÑtyumdbt get_packagetcleanR{RRÎRER›R9RR”R•R«R¬RRŽ(RIR¿RÄRÅtoiltvt_stRRéRÔtrpotvartcsumtsttlp_ctimetlp_mtimetmdtloginuidtopot yumdb_itemR¸tret((RÄs0/usr/lib/python2.7/site-packages/yum/__init__.pyR°¢sä   !       %              !"   c Csâi}x3|jjƒD]"}|j|jgƒj|ƒqWt|ƒdkrRdSt}d}g}xwt|ƒD]i}|rÃxC||D]4}t||jƒ}|j j |j |d|ƒqˆWn|j ||ƒt }qqWdS(sÛCreate an excluder for repositories with higher costs. For example, if repo-A:cost=1 and repo-B:cost=2, this function will set up an excluder on repo-B that looks for packages in repo-B. iNsyum.costexcludessexclude.pkgtup.in(R]R^R3R_ReR"RbRßRYR`taddPackageExcluderRâRR9( RItcostsR/tdonetexidtoreposR_R[tyce((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR9Cs  cCsÓd|jjkrdS|sMd|jjkr2dS|jj}d}d}n8|j|jjkrfdS|jƒ}|j}d|}d}xA|D]9}|d7}d||f}|jj||d |ƒq’WdS( säRemove packages from packageSacks based on global exclude lists, command line excludes and per-repository excludes. :param repo: a repo object to use. If not given, all repositories are used RTNRÑsyum.excludepkgssyum.excludepkgs.iis%s.%us exclude.match(R™tdisable_excludesR0RRâtgetExcludePkgListRHR(RIR[t excludelistRtexid_begRtmatchR((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR5]s$       cCsðx<t|jdgƒD]%}|dks7||jkrdSqW|jƒ}t|ƒdkradSd}|jj|j|dƒd}xD|D]<}|d7}dd |f}|jj|j|d |ƒq�Wd }|jj|j|d ƒdS( s†Remove packages from packageSacks based on list of packages to include. :param repo: the repository to use tdisable_includesRTNisyum.includepkgs.1s mark.washedis%s.%usyum.includepkgs.2s wash.matchsyum.includepkgs.3sexclude.marked(RäR™RâtgetIncludePkgListR"RHR(RIR[tdit includelistRRR ((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR7}s    cCsK|jjdkrC|jjr"dS|jj}tjj|ƒ}n |jj}|d|}tjj|ƒ}t tj ƒƒ}x˜t r|j ||dƒ}|r©Pn|j |ƒ}|sÑ|j|ƒq„n|tj ƒkríd}Pntdƒ||f}tjd||ƒ‚q„W|dkr,dS|dks>t‚||_dS(s„Acquire the yum lock. :param lockfile: the file to use for the lock :raises: :class:`yum.Errors.LockError` iNR6i¤is4Existing lock %s: another copy is running as pid %s.i(R™RÁRXRWR§R¨tbasenameR±RÂR�tgetpidR9t_lockt _get_lockert_unlockR RŒt LockErrortAssertionErrorRp(RItlockfileR8tmypidRtoldpidR÷((s0/usr/lib/python2.7/site-packages/yum/__init__.pytdoLock˜s4      cCs�t|dƒrdS|jjdkr.d}n|dk rW|jj}|d|}n|jdkrjdS|j}|j|ƒd|_dS(sÒRelease the yum lock. :param lockfile: the lock file to use. If not given, the file that was given as a parameter to the :func:`doLock` call that closed the lock is used R‚NiR6(RR™RÁRR±RpR(RIRR8((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR‹Æs      RiÿcCsÝtjj|ƒ}yatjj|ƒs+dStj|tjtjBtjB|ƒ}tj||ƒtj |ƒdSWnct k rØ}|j t j ksÔt dƒ|t|ƒf}tj|j |t|ƒƒ‚ndSXdS(Niis Could not create lock at %s: %s i(R§R¨tdirnameR©R¢tO_EXCLtO_CREATtO_WRONLYtwriteR‰R§terrnotEEXISTR R/RŒRR(tfilenametcontentstmodetlockdirtfdR÷terrmsg((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRås& !cCstj|ƒdS(N(R×R®(R#((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRûscCs:yt|dƒ}WnDttfk rY}tdƒ||f}tjtj|ƒ‚nXyt|j ƒƒ}Wnt k r„dSXy4td|ƒj ƒ}|j ƒddkr¸dSWnztk r5yt j|dƒWq6tk r1}|dtjkrdStdƒ|}tjtj||ƒ‚q6XnX|S(NR/sCould not open lock %s: %ss /proc/%d/statitZis#Unable to check if PID %s is active(R¢R¦R§R RŒRR!tEPERMRtreadlineRRRÔR§tkilltESRCH(RR'R“R÷RRÓ((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRÿs,   c Cs/t}t|ƒtjkr'|j}n||jƒkrE||_n|jƒsZt}n3t |j j ƒ|ƒ}|j |j kr�t}n|r+t j|ƒd}t|jƒ}||krö|jj rö|j|jjƒröt j|ƒqön|r$tdƒ|jj}td|ƒ‚q+tSntS(sCheck that the checksum of a remote package matches what we expect it to be. If the checksum of the package file is wrong, and the file is also larger than expected, it cannot be redeemed, so delete it. :param fo: the file object of the package :param po: the package object to verify :param raiseError: if *raiseError* is 1, and the package does not check out, a :class:`URLGrabError will be raised. Defaults to 0 :return: True if the package is verified successfully. Otherwise, False will be returned, unless *raiseError* is 1, in which case a :class:`URLGrabError` will be raised :raises: :class:`URLGrabError` if verification fails, and *raiseError* is 1 is\Package does not match intended download. Suggestion: run yum --enablerepo=%s clean metadataiÿÿÿÿ(RbRXttypest InstanceTypeR#Rät localpathtverifyLocalPkgR9R&RFRÌRcR§RÓtlongtsizeR[RXt startswithtpkgdirR¥R RâR( RItfoRÔt raiseErrortfailedtylptcursizettotsizeR÷((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt verifyPkg s*     cCslytj||ƒ}Wn+tjk rC}tdtdƒƒ‚nX||krhtdtdƒƒ‚ndS(s©Verify that the checksum of the given file matches the given checksum. :param fo: the file object to verify the checksum of :param checksumType: the type of checksum to use :parm csum: the checksum to check against :return: 0 if the checksums match :raises: :class:`URLGrabError` if there is an error performing the checksums, or the checksums do not match iýÿÿÿsCould not perform checksumiÿÿÿÿsPackage does not match checksumi(R×tchecksumRŒt MiscErrorRR (RIR6t checksumTypeRùtfilesumR“((s0/usr/lib/python2.7/site-packages/yum/__init__.pytverifyChecksumO s  cs…d„}i‰‡fd†‰ˆjjƒˆjjdd|ƒtƒ‰tˆjdtƒ‰g}d‰‡‡‡‡fd†}g}x[|D]S}t|dƒrº|j d krºq�n||ƒrÌq�nˆrÖˆS|j |ƒq�Wt ˆ|ˆƒ‰d} } xv|D]n}t |t ƒr^||ƒr>ˆj|ƒq n| |j7} | |jj7} n|j |ƒˆ|j7‰q W| r¼ˆjjtd ƒt| ƒt| ƒd | d | ƒnˆr�tˆd ƒrlx˜|D]�}|jjˆjjƒsüqØn|jtˆjjƒ} ytj|jˆj| ƒWqØytj|jˆj| ƒWqeqeXqØXqØWnˆjjƒˆjƒˆj ƒnt!j!ƒ} |} ˆ}x9t"rã|j#|ƒtt$j%dƒrõt|ƒdkrõt$j%j&ˆƒnd}dg‰tƒ‰tt$j'dƒ}x,|D]$}|d7}|‡‡‡‡‡‡fd†}tj(j)|j*ƒ}i}|r§|j+j,r§|‡fd†|dˆj?ƒnˆS( s±Download the packages specified by the given list of package objects. :param pkglist: a list of package objects specifying the packages to download :param callback: unused :param callback_total: a callback to output messages about the download operation :return: a dictionary containing errors from the downloading process :raises: :class:`URLGrabError` cSs¢|jƒ}|jƒ}|dkr^|dkr^tt|tƒt|tƒƒp]t||ƒS|dkrndS|dkr~dS||krŽdS||krždSdS(Niÿÿÿÿii(t getDiscNumRtcmpRR1(tapotbpoR-tb((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt mediasortp s      csBˆj|gƒj|ƒ|jjdƒr>tj|jƒndS(Ns.tmp(R3ReR0tendswithR×R®(RÔR÷(Ro(s0/usr/lib/python2.7/site-packages/yum/__init__.pytadderror„ st predownloadtpkglistt downloadonlyicsF|jƒ}|ˆkr6ˆjjtdƒ|ƒtSˆj|ƒˆrotjj|ƒ ro|j j |ƒntjj|ƒräˆj ||t ƒr´ˆjj tdƒ|ƒtS|j jräˆ|tdƒ|j jƒt SnˆrB|jdtjƒ7_ytj||jƒWntk r-nX|jƒ|jnt S(Nsignoring a dupe of %ssusing local copy of %ss4package fails checksum but caching is enabled for %ss.%d.tmp(RäR{R�R R9R½R§R¨R©R[t_preload_pkg_from_system_cacheR<RbRŽRXRâR0RtrenameR§Rátbasepath(RÔtlocal(RIt beenthereRLRI(s0/usr/lib/python2.7/site-packages/yum/__init__.pyt verify_local™ s0       tpkgtypeRPs3Delta RPMs reduced %s of updates to %s (%d%% saved)idgY@Rttext_meter_total_sizeit parallel_waitcs9ˆj||dƒ|jjdƒr]|jjddƒd}tj|j|ƒ||_nˆdc|j7RÔR€textrass distro-extrasRJtrecenti€QN(3RR™tshowdupesfromreposR×RªRFRštfilter_pkgs_repoidRcRRFtverGTR=RHtsackstreturnNewestByNameArchRŒtPackageSackErrorReR+RßRtgetUpdatesListR"R{RRÎtDEBUG_1R R#R´R9R×RGR„RÕRJtgetObsoletesTuplesRÖRR£R¿RtfiletimeRÒR>treinstall_availablet old_availableRDtobsoletesTuplesR¾(+RIt pkgnarrowRƒtshowdupsR»RtyghRÒR>RÊRËRDRJRÌR¿R¾tictdinsttndinstRÔR|tavailRìtipkgsR,R-R“R.R/tmatchest exactmatchR0t unmatchedtlatestRctinstTupRtinstpotmatched_obsoletestnobsoletesTuplestfilttnowt recentlimit((s0/usr/lib/python2.7/site-packages/yum/__init__.pytdoPackageListsb sn            %                  -                         c Cs´i}x§|D]Ÿ}i||<|j}|jƒ||}xo|D]g}|\}}} |jdƒrkqAng} x*|j||| ƒD]} | j| ƒq‡W| || siiti(tsumR"RžRß(R(Rö(s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢ scsˆ|ƒd ˆ|ƒd kS(Niÿÿÿÿ((RRõ(t sort_func(s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢ sR|N(Ret RPM_TO_SQLITERÄRéR3RHRÃR=Rt"searchPrimaryFieldsMultipleStringsRFR9RŠtsearchPackageTagsR"R×tuniquetoperatort itemgettertreversedRßRRRF(%RIRðtcriteriaRÎRÚt searchtagst searchrpmdbt sql_fieldsRæRëRêt real_critt critweightRîR`Rótresults_by_pkgRìRt matchkeyst tagresultsR ttaglistR¹tkR.ttotkeysttotvalstduptyieldedR`Rœtsl_valsRÔtkstvstna((RöRðRñRòRùs0/usr/lib/python2.7/site-packages/yum/__init__.pytsearchGenerator‡ s¸               "       /     c Cs±i}x¤|D]œ}|jƒ}|jj|ƒ}xu|jƒD]g\}}|jjd|ƒ}|skq>n|d}||krŽg||Wq W|S(s Search for and return a list packages that have tags matching the given criteria. :param criteria: a list of strings specifying the criteria to search for :return: a list of package objects that have tags matching the given criteria Ri(RéRƒt search_tagsRãRHR+Re( RIRRâtcRkRR RRì((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRü: s      cCs’tjtdƒtjddƒi}|j||ƒ}xT|D]L\}}|r`|||ƒn||kryg||W|S(s¹Deprecated. Search the specified fields for packages that match the given criteria, and return a list of the results. :param fields: the fields to search :param criteria: a list of strings specifying the criteria to search for :param callback: a function to print out the results as they are found. *callback* should have the form callback(po, matched values list) sosearchPackages() will go away in a future version of Yum. Use searchGenerator() instead. R›i(RœR�R RŒRžRR(RIRðRRQRÕt match_genRÔtmatched_strings((s0/usr/lib/python2.7/site-packages/yum/__init__.pytsearchPackagesR s   c Csed„}i}xf|D]^}t|ƒ}||ƒ\}}|sXt} |j|ƒ} nt} |jj|ƒ} |jjtj t ddt | ƒƒt | ƒƒxÐt | ƒD]Â} |jjtj tdƒ| ƒg} | rï| j|ƒn| r |r | j|ƒn|r{|r{|jjtj tdƒƒxD| j| j| jD](} tj| |ƒrL| j| ƒqLqLWn|jjtj tdƒƒx�| jD]v\}}\}}}tj|||||ffƒ}| s¡tj||ƒstj||ƒr| j|ƒqq¡q¡Wt | ƒdkr®|rc| rS|rS|| | |ƒqc|| | ƒn| || (installed, available, backlisted-installed, blacklisted-available). RctpackagesR>sblacklisted-availableRÎRRÒsblacklisted-installed(R™RjRnR•Rlt pkg_namesR„R™RR R:RFRÕR×RÄ(RItgroupRR;t all_pkg_namestpkg_nameRÔRó((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_groupInstalledDataî s0     cCsi}| s|jjdkr#|Si}|j|jjkr]|jj|j}|j}ntt|ƒƒ}t |dƒr‘|j |j ƒnx…|D]}}|jjj |ƒ}||krÖ| rÖd|| (installed, available, backlisted-installed, blacklisted-available). Rct allgroupsR>sblacklisted-availableRÒsblacklisted-installed(R™RjRsR•RlRqt grp_namesR„R™RR R@RÄt environment(RItevgroupRRAt all_grp_namestgrp_nametigrp((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_groupInstalledEnvDatas,     c Cs$d}d}|dkrŽ|jj}|jjdkrK|jjjƒ}n|jj}|jjdkr~|jjjƒ}n||||fSg}g}xn|D]f} | jdƒrÊ|j | dƒq¡| jdƒrí|j | dƒq¡|j | ƒ|j | ƒq¡Wdj |ƒ}dj |ƒ}| } |jj |d| ƒ}|jjdkr¢|ddj g|D]} | j ^qnƒ}|jj |d| ƒ}n|jj |d| ƒ}|jjdkr|ddj g|D]} | j^qàƒ}|jj |d| ƒ}n||||fS(NRcs@^it@it,tcase_sensitive(RRRlR™RjR•R=RqR4ReRžt return_groupsRntreturn_environmentsRs( RIRƒR»tigrpstievgrpstgrpstevgrpstgpatstepatstpattcsR((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_groupReturnGroups7s>     --cCsLg}g}g}g}|jjdkr?tjtdƒ‚n|j||ƒ\} } } } | dk r–i} x| D]}|| |j|j rK|j |ƒqKq}|j |ƒqÖ|rp|j r}|j |ƒq}qÖ|j |ƒqÖWxk| D]c}| dkr¦|j }n"|j | k}|rÈ| |j =n|rÞ|j |ƒqˆ|j |ƒqˆW| dkri} n| dkri} n| s&t‚| s3t‚xo| jƒD]a}tjƒ}|j|_ t|_ |j |_x|jD]}d|j|t einstalledt eavailableRMRORNRPtdigrpsRFtievgrpRt grp_installedtevgrptevgrp_installedR>((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt doGroupLists_s†                               c Csg}|jj|ƒ}|s=tjtdƒt|ƒ‚nxÊ|D]Â}|j|ƒ}t|_|j }|j }xv|D]n}||kr£||dkr£q{n|j d|dtƒ} |j | ƒx| D]} | j j|ƒqÏWq{W|rD|jj|ƒqDqDW|S(s Mark all the packages in the given group to be removed. :param grpid: the name of the group containing the packages to mark for removal :return: a list of transaction members added to the transaction set by this function sNo Group named %s existsRÒRtsilence_warnings(RRKRŒRwR R-R?R9ttoremoveR:RnR'RRlReR•t del_group( RItgrpidt txmbrs_usedt thesegroupst thisgroupt igroup_dataRR~RìRçRé((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt groupRemoveÌs&       c Cs+|jj|ƒ}|s7tjtdƒt|ƒ‚nxí|D]å}t|_|j}xÊ|jD]¿}x¶|j D]«}|j j |krp|j j t krpy|jj|ƒWn9tk ré|jjtjtdƒ|j |ƒqpnXt|jƒdkr|j j|j jƒqqpqpWq`Wq>WdS(sŠUnmark any packages in the given group from being removed. :param grpid: the name of the group to unmark the packages of sNo Group named %s existss%package %s was not marked in group %siN(RRKRŒRwR R-RbRdR:RÎRÔRRGRÒRlR'RR{RRÎRÇR"Rc(RIRfRhRiRRìRé((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt groupUnremoveïs$   $ c Csüg}|jj|ƒ}|s=tjtdƒt|ƒ‚nx¸|D]°}|j|ƒ}|j}|j}xm|D]e}||krš||dkršqrn|j |ƒ} |j | ƒx| D]} | j j |ƒq½WqrW|rD|j j|ƒqDqDW|S(sMark all the packages in the given group to be removed. :param evgrpid: the name of the environment containing the groups to mark for removal :return: a list of transaction members added to the transaction set by this function sNo Environment named %s existsRÒ(RRLRŒRwR R-RGR@RsRkRRqReR•tdel_environment( RItevgrpidRgRhRiRjROR€RRçRé((s0/usr/lib/python2.7/site-packages/yum/__init__.pytenvironmentRemove s$      c Csg}|jj|ƒ}|s=tjtdƒt|ƒ‚n|jj}|rX|}n|jjdkrst }nx‰|D]�} | j r�qznt | _ |} g} d|krÃ| j | j ƒnd|krâ| j | jƒnd|kr| j | jƒn|j| ƒ} d} | rl| j|jjkrM|jj| j} t } ql|jj| j| j|ƒnx.| D]&}| |dkrs| j|ƒqsqsWt|ƒ}xô| D]ì}|jjdkr-|| ksÚt‚|| ksù| |jdƒr-td ƒ}|jjtj||| jƒq°q-n|jjtjtd ƒ|| jƒ| dk r}| jj |ƒt |j_!ng}y¶| rÏ|jjd ks´| rÏ| |dkrÏ|j"d |d dƒ}ni| rè| |dkrènP|j#d |d dƒ}x5|D]-}| j|_$| r+| |_%q| |_&qWWn/tj'k rj}|jj(tdƒ|ƒq°X|j |ƒx!|D]}|jj| jƒqWq°W|jj)}|dk rÁ|}nd}| r›|r›xÄ| j*j+ƒD]°\}}|j,|ƒr¥y|j#d |ƒ}Wntj'k r.qän&X||j-j.krTg|j-j.|WdS(s@Unmark the groups in the given environment group from being installed. :param evgrpid: the name of the environment group containing the groups to unmark from installation :param force: if True, force remove all the packages in the given groups from the transaction sNo Environment named %s existsRIN( RRLRhRŒRwR R-RžRßRlR“(RIRnR’RPR`RO((s0/usr/lib/python2.7/site-packages/yum/__init__.pytdeselectEnvironment;s  cCs´x$|jD]}|j|kr |Sq W|jj|ƒ}t|ƒdkr‡|j|d|ƒ|rhdStjt dƒt |ƒ‚nt|ƒdkr¦|d}n |d}|S(s¡Return a package object that corresponds to the given package tuple. :param pkgtup: the package tuple specifying the package object to return :param allow_missing: If no package corresponding to the given package tuple can be found, None is returned if *allow_missing* is True, and a :class:`yum.Errors.DepError` is raised if *allow_missing* is False. :return: a package object corresponding to the given package tuple :raises: a :class:`yum.Errors.DepError` if no package corresponding to the given package tuple can be found, and *allow_missing* is False iRcs2Package tuple %s could not be found in packagesackiN( R€RcRHtsearchPkgTupleR"R"RRŒtDepErrorR R�(RIRct allow_missingRÔRR^((s0/usr/lib/python2.7/site-packages/yum/__init__.pytgetPackageObjectMs  cCsd|jj|ƒ}t|ƒdkrV|j|d|ƒtjtdƒt|ƒ‚n|d}|S(s=Return a :class:`yum.packages.YumInstalledPackage` object that corresponds to the given package tuple. This function should be used instead of :func:`searchPkgTuple` if you are assuming that the package object exists. :param pkgtup: the package tuple specifying the package object to return :return: a :class:`yum.packages.YumInstalledPackage` object corresponding to the given package tuple :raises: a :class:`yum.Errors.RpmDBError` if the specified package object cannot be found iRcs,Package tuple %s could not be found in rpmdb(RFR™R"R#RŒt RpmDBErrorR R�(RIRcRRÔ((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRÖts  cCså|jjd}tjj|ƒr&dStjjd|jjƒ}|j t j t j Bƒ|j ddƒ}|jƒ}~~|dkr�dStjj|ƒ}tjj|ƒsÁtj|ƒnt|dƒ}|jƒ~dSdS( s˜Checks for the presence of GPG keys in the rpmdb. :return: 0 if there are no GPG keys in the rpmdb, and 1 if there are keys s/.gpgkeyschecked.yumiR8Rs gpg-pubkeyitwN(R™RWR§R¨R©RCt transactiontinitReadOnlyTransactionR±t pushVSFlagsRt_RPMVSF_NOSIGNATURESt_RPMVSF_NODIGESTStdbMatchRRRŒR¢R‰(RItgpgkeyscheckedtmytstidxRÚtmydirR6((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt gpgKeyCheckŠs$   cCsó|s gSt|ƒtjkr1|\}}}nŠ|}d}d}|ddkr»|jƒ}t|ƒdkr»|\}}}|tkr«tjt dƒt |ƒ‚nt|}q»n|dkr×|j j |ƒS|j j |||ƒjƒS(sReturn a list of package objects that provide the given dependencies. :param depstring: a string specifying the dependency to return the packages that fulfil :return: a list of packages that fulfil the given dependency iR6isInvalid version flag from: %sN(RXR.t TupleTypeRRÔR"t SYMBOLFLAGSRŒt YumBaseErrorR R�RHR!t getProvidesRÚ(RIt depstringtdepnametdepflagstdepvert dep_splitt flagsymbol((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR §s"   cCsº|}t|ƒtjkr*t|ƒ}ny|j|ƒ}Wn*tjk ritjtdƒ|‚nXt|ƒ}|j |j ƒd|ƒ}|dkr¶tjtdƒ|‚n|S(s¢Return the best, or first, package object that provides the given dependencies. :param depstring: a string specifying the dependency to return the package that fulfils :return: the best, or first, package that fulfils the given dependency :raises: a :class:`yum.Errors.YumBaseError` if no packages that fulfil the given dependency can be found sNo Package found for %sRåN( RXR.t StringTypesR�R RŒR¬R Rt_bestPackageFromListRÄR(RIR®RÀRKtpsR^((s0/usr/lib/python2.7/site-packages/yum/__init__.pytreturnPackageByDepÌs    cCsó|s gSt|ƒtjkr1|\}}}nŠ|}d}d}|ddkr»|jƒ}t|ƒdkr»|\}}}|tkr«tjt dƒt |ƒ‚nt|}q»n|dkr×|j j |ƒS|j j |||ƒjƒS(s&Return a list of installed package objects that provide the given dependencies. :param depstring: a string specifying the dependency to return the packages that fulfil :return: a list of installed packages that fulfil the given dependency iR6isInvalid version flag from: %sN(RXR.RªRRÔR"R«RŒR¬R R�RFR!R­RÚ(RIR®R¯R°R±R²R³((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR%és"    cCsº|}t|ƒtjkr*t|ƒ}ny|j|ƒ}Wn*tjk ritjtdƒ|‚nXt|ƒ}|j |j ƒd|ƒ}|dkr¶tjtdƒ|‚n|S(s¶Return the best, or first, installed package object that provides the given dependencies. :param depstring: a string specifying the dependency to return the package that fulfils :return: the best, or first, installed package that fulfils the given dependency :raises: a :class:`yum.Errors.YumBaseError` if no packages that fulfil the given dependency can be found sNo Package found for %sRåN( RXR.R´R�R%RŒR¬R RRµRÄR(RIR®RÀRKR¶R^((s0/usr/lib/python2.7/site-packages/yum/__init__.pytreturnInstalledPackageByDeps    cCsWt|ƒdkrdSt|ƒdkr0|dS|j|ddd|ƒ}|ddS(sÖtake list of package objects and return the best package object. If the list is empty, return None. Note: this is not aware of multilib so make sure you're only passing it packages of a single arch group. :param pkglist: the list of packages to return the best packages from :param req: the requirement from the user :return: a list of the best packages from *pkglist* iitreqpoRåN(R"Rt_compare_providers(RIRKRåtbestlist((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRµ,s cCsg}|jj|ƒ}g}g}g} xq|D]i} | j|krLq1q1| jdkrk| j| ƒq1td| jƒr�|j| ƒq1|j| ƒq1W|j|d|ƒ} |j|d|ƒ} |j| d|ƒ} |r | r | r | j| jkr d} n| dkrE| r,|j| ƒn| r|j| ƒqnÌ| r´|j| | gd|ƒ}|jdkr…|j| ƒq| r›|j| ƒn| r|j| ƒqn]| r|j| | gd|ƒ}|jdkrô|j| ƒq|j| ƒn |j| ƒ|S(s,Return the best packages from a list of packages. This function is multilib aware, so that it will not compare multilib to singlelib packages. :param pkglist: the list of packages to return the best packages from :param arch: packages will be selected that are compatible with the architecture specified by *arch* :param single_name: whether to return a single package name :param req: the requirement from the user :return: a list of the best packages from *pkglist* RyRFRåN(RFt get_arch_listReRRµRR(RIRKRFt single_nameRåt returnlisttcompatArchListtmultiLibt singleLibRyRÔtmultitsingletnoRx((s0/usr/lib/python2.7/site-packages/yum/__init__.pytbestPackagesFromListCsL $   c sSˆjd k r*ˆjjˆjgƒ}nšˆjjs:d Stˆdƒs¬tjƒ}t j j ggƒ}ˆj j dtƒ|_ˆjjdtjƒ|ƒ|ˆ_nˆjjˆjgƒ}ˆj|krO|ˆj}g}x4|D],}tˆj|dƒsí|j|ƒqíqíW|r,|}nt|ƒdkrx|d}g|D] } |d| dkrO| ^qO}nt|ƒdkrÕd„} |j| ƒ|d}g|D]} | || ƒs±| ^q±}nt|ƒdkrd„‰‡‡‡fd†} |j| ƒnx3|D]+} ˆj| d tƒ} | d k r| SqWd Sd S( s€ Given a package return the package it's obsoleted by and so we should install instead. Or None if there isn't one. RARBsObs Init time: %0.3fiic SsI|\}}}}}|\}}} } } t|||f| | | fƒS(N(R( RRõtn1ta1te1tv1tr1tn2ta2te2tv2tr2((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _sort_ver°scSs:t||ƒ}|sdSt||ƒ}|s2dS||S(Ni(R(tcarchRÇRÌtres1tres2((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _sort_arch_iºsc se|\}}}}}|\}}} } } ˆˆj||ƒ} | rI| Sˆˆjj||ƒ} | S(N(RFtbestarch( RRõRÆRÇRÈRÉRÊRËRÌRÍRÎRÏR(RÔRÔRI(s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _sort_archÂsR›N(RkRRtcheckForObsoleteRcR™RJRR£RCRDRERHRKR9RIR{RŽRARRFReR"R^Rœ( RIRÔtthispkgobsdictRXRR=t oobsoletingtopkgtupRíRcRÐRÖRì((RÔRÔRIs0/usr/lib/python2.7/site-packages/yum/__init__.pyt _pkg2obspkgŒsP         #       cCsŽ|}t}x{tr‰||ƒ}|dkr8| r8dS|dkrH|S||ƒ}|dkrd|St}||ƒ}||krdSqWdS(sß Generic comp. sci. test for looping, walk the list with two pointers moving one twice as fast as the other. If they are ever == you have a loop. If loop we return None, if no loop the last element. N(RbR9R(RItnodet next_functslowRtnext((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _test_loopÒs       cCs8t|dƒr4d|jjd||jjdfS|S(s1Attempt to make the string look bold in terminal.R±s%s%s%sR²R³(RR±Rµ(RItstring_((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¶äs%c Cs?|ddkst‚|d}g}y |j}Wn*tjjk r_}|jj|ƒ|SXt}|rÎ|ddkrÎ|d}xŠ|j|ƒD]1}t }|j |j d|ƒ} |j | ƒq–WnExB|j |ƒD]1} t }|j| jd|ƒ} |j | ƒqÞW|s;tjtdƒ|j|ƒ‚n|S(s= Do groupinstall via. leading @ on the cmd line, for install.iRHit^R‡sGroup %s does not exist.(RRR­RŒRwRzRÙRbRLR9R—RsRRKR�RntGroupInstallErrorR R¶( RItpatternR‡t group_stringt tx_returnRR“Rjtenv_grpRçR<((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_at_groupinstallês.    "cCs`y|j|dtƒSWnBtjk r[}|jjtdƒ|ƒ|jjrUgS‚nXdS(s= Do group upgrade via. leading @ on the cmd line, for update.R‡s Warning: %sN( RèR9RŒRãRzRÙR R™tskip_missing_names_on_update(RIRäR“((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_at_groupupgrade s cCsô|ddkst‚|d}g}|r�|ddkr�|d}y|j|ƒ}Wn0tjjk r‹|jjtdƒ|ƒnX|j|ƒ|Sy|j |ƒ}Wn0tjjk râ|jjtdƒ|ƒnX|j|ƒ|S(s; Do groupremove via. leading @ on the cmd line, for remove.iRHiRâs-Warning: Environment Group %s does not exist.sNo group named %s exists( RRoR­RŒRwRzRvR RRk(RIRäRåRæRç((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_at_groupremoves"    cCs‘|ddkst‚|d}|jj|ƒ}|sWtjtdƒt|ƒ‚ntƒ}x|D]}|j|j ƒqgW|j j |ƒS(s8 Do downgrade of a group via. leading @ on the cmd line.iRHisNo Group named %s exists( RRRKRŒRwR R-R„R R:RHRÕ(RIRäRfRhtpkgnamesRi((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_at_groupdowngrade/s   cCs�|ddkst‚|djƒ}|rR|jdƒrR|d}|j|ƒS|r|ddkr|d}|j|ƒS|jj|ƒS(s5 Remove things from the transaction, like kickstart. it-is@^iRH(RtstripR4R˜R“RÎtdeselect(RIRäRS((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_minus_deselect>s    ccs”|jjsdSt|tƒsqxn|jjd|jƒD]2\}}|j|kr8|j|ƒ}|Vq8q8Wnx|j |ƒD] }|Vq�WdS(s; Return the pkgs. that are obsoleted by the po we pass in. NR( R™RJRR&RtgetObsoletersTuplesRRcRÖt_find_obsoletees_direct(RIRÔtobstuptinst_tupt installed_pkgRì((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_find_obsoleteesMs %ccsRxK|jD]@}x7|jjd|ƒD] }|j|gƒr&|Vq&q&Wq WdS(s< Return the pkgs. that are obsoleted by the po we pass in. This works directly on the package data, for two reasons: 1. Consulting .up. has a slow setup for small/fast ops. 2. We need this work even if obsoletes are turned off, because rpm will be doing it for us. RN(tobsoletes_namesRFR+t obsoletedBy(RIRÔtobs_nRì((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRó[scGs=x6|D].}||jjkr|jjj|ƒqqWdS(sB Add all of the passed flags to the tsInfo.probFilterFlags array. N(RÎRàRe(RItflagstflag((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_add_prob_flagsfs cCs`xY|jjd|jƒD]?}|j|ƒrt|j|jƒ r|jtjƒt SqWt S(s9Add RPMPROB_FILTER_OLDPACKAGE if the package requires it.R( RFR+RRÂRRFRýRRßR9Rb(RIRÔRó((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRãls %cCsÃtr(|jdk r(|j|jjkS|j|ƒr;tSx�|D]y}|j|ƒr]qBn|j|jkrst Sd|j|jfkr�t S|jj sŸt St |j|jƒrºqBnt SWtS(sh See if po is an upgradeable version of an installed pkg. Non-compat. arch differences mean no. RyN( RbRkRRcRt updating_dictRÓtverLERFR9RMR(RIRÔRÔRó((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_install_is_upgradets"  cCsí|s!|jj|jgƒ}n|}xB|jj|jƒD]+}|jtkrYq>n|j|jƒq>Wxy|D]q}|j |j kr’qtn|j |ƒs§qtnt |j |j ƒrÂqtn|j j tjtdƒ||ƒtSWtS(sj See if we can install this arch of package, mainly for i386 vs. i586 or ppc64 vs. ppc64 etc. s&Package: %s - can't co-install with %s(RFRÕRRÎRÛRÜRÒReRÔRFR×RR{RRÎR®R RbR9(RIRÔRÔRéRó((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_valid_install_arch�s$ cCsX|jj s|jjdkr#tS|jdksA|jdkrEtS|j|jjkS(syReturn whether this obsoleter meets multilib_policy in case we are dealing with the noarch->arch obsoletion case.RxRy(RFRMR™R…R9R†(RIR`t obsoletee((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_valid_obsoleter_archªs c so |jddƒ}‡fd†}i|d6ˆjjd6}||krPd}n||}g}t}|r¯t|tƒsŠt|tƒrš|j|ƒq tj t dƒ‚nq|sÊtj t dƒ‚nd|kr'|dr|dd d krˆj |dƒS|dr4|dd d kr4ˆj |dƒSd)}d |krS|d }nt}|dg} ˆjjd | d |dtƒ} |j| ƒ| s¢|d} ˆjjt dƒ| ƒˆj| ƒ} |rçtj| |ƒ} ntj| ƒsˆj| dtd| ƒ} n|j| ƒq¢n{ˆj|ƒ} ˆjjd| dd| dd| dd| dd| dƒ}ˆj|| ƒtj||jd ƒƒ}|r ˆjjr‹|sÅ| d r‹ˆjjdkrˆi} g}g}ˆjj}|jdƒxG|D]?}|j|kr;d| |j <|j|ƒq |j|ƒq Wx-|D]%}|j | krS|j|ƒqSqSW|}qˆq‹nt!|ƒ}i}xD|D]<}|j |krÌ|g||j t=j?t=j@ƒˆj%jA|j'ƒPq‹q‹WˆjB|ƒtCˆjD|ƒƒ}|rH xe|D];}ˆj%jE||ƒ}ˆj%jF||ƒ|j|ƒq WqAˆj%jG|ƒ}|j|ƒqAW|S(*sfMark the specified item for installation. If a package object is given, mark it for installation. Otherwise, mark the best package specified by the key word arguments for installation. :param po: a package object to install :param kwargs: if *po* is not specified, these keyword arguments will be used to find the best package to install :return: a list of the transaction members added to the transaction set by this function :raises: :class:`yum.Errors.InstallError` if there is a problem installing the package Rvtflibblecsˆjjtj||ŽdS(N(R{RRÎRE(R R (RI(s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_dbg2ÏsRwRÙs0Package Object was not a package object instancesNothing specified to installRäiRîRHRRƒR»s3Checking for virtual provide or file-provide for %sR½RåRRRFR¼RRHRRxRyis=Checking for installed virtual provide or file-provide for %sRcs&Package %s installed and not availables"No package(s) available to installs)Package: %s - already in transaction setRÔtlimits8Package %s is obsoleted by %s which is already installedt provides_forsWPackage %s is obsoleted by %s, but obsoleting package does not provide for requirementss;Package %s is obsoleted by %s, trying to install %s insteads/Package %s already installed and latest versions;Package matching %s already installed. Checking for update.N(HRÄR{RÙRbRR%R&ReRŒR€R RñRèRR9RHRšRRŽR R×RÁRàRÅt_nevra_kwarg_parseR+R"RFRMR™R…R†RRR=RFR%RÎR©RcRÑRÒRRÎRÇRáRÕRR RRJRàRÛRùRR9R´RÖRÓR×RýRtRPMPROB_FILTER_REPLACEPKGtRPMPROB_FILTER_REPLACENEWFILEStRPMPROB_FILTER_REPLACEOLDFILESR'RãR™Rót addObsoletingR%t addInstall(RIRÔR tpkg_warnRt level2funcRt was_patternRtpatstmypkgsRÉR t pkgs_by_nameR�t not_addedRxRìt pkgbynametlstRæRÔRçtobsoleting_pkgt already_obsRjRótobs_pkgsRRé((RIs0/usr/lib/python2.7/site-packages/yum/__init__.pyR9¹sH                                  !          (!  (    c Csät|jdƒƒ}t|jdƒƒ}g}x­|j|ƒD]œ}|jj|Œ}x�|D]y}xp||D]d} |jd| ƒsp|j|jf} x3|jj | ƒD]}|j |j d|ƒƒq­WPqpqpWq_Wq@W|S(s¸ Check for any difference in the provides of the old and new update that is needed by the transaction. If so we "update" those pkgs too, to the latest version. RWRÔ( R„t returnPrcot differenceRÎt getRequirest inPrcoRangeRRFRHRÄRR ( RItopkgtnpkgtoprovstnprovsRæR2RãRìRåtnaTup((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_check_new_update_provides¿s c Csàt}xÓ|jj|tgƒD]¹}d}x…|jD]z}|j|ƒrW|d7}q5xU|jj|jƒD]>}|jj|j jƒ|j |j |ƒ} |j | ƒqmWq5W|rÂt }q|jj|j jƒqW|S(s We return True if there is a newer package already in the transaction. If there is an older one, we remove it (and update any deps. that aren't satisfied by the newer pkg) and return False so we'll update to this newer pkg. ii( RbRÎRÑR)R*RÿRáRcR'RÔR#RR9( RIRct available_pkgRæRjRéRRÔtntxmbrR–((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_newer_update_in_transÑs    cCs\|jj||ƒ}|r+|j|ƒnd|jkrX|jjdkrXd|_n|S(NRÙR4(RÎt addUpdatetsetAsDepR×RÙ(RIt requiringPotupkgRóRé((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _add_up_txmbrès ! c, s� |jddƒ}‡fd†}i|d6ˆjjd6}||krPd}n||}g}| r³| r³ˆjjtjtdƒƒˆjjƒ} ˆj j r½ˆjj ddƒ} ng} x×| D]Ï\} } ˆj | d t ƒ} | d'krýqÊnˆj| ƒ}ˆj| |ƒs$qÊnˆj| ˆjƒ}|d'k rN|} nˆjj| |ƒ}ˆjj|| ƒ|rŒ|j|ƒn|j|ƒqÊWxŒ| D]„\}}ˆjjd |ƒrèˆjjtjtd ƒ|ƒq¤ˆj |d t ƒ}|d'krq¤n|jˆjd |ƒƒq¤Wˆj jd kr¯ˆj jr¯x.ˆjjD] }|jˆjd|ƒƒqWWx1ˆjj D] }|jˆjd|ƒƒqˆWn|Sg}g}t }|rú|j!dkrê|j|ƒq˜|j|ƒnžd|kr�|dr5|dddkr5ˆj"|dƒS|drd|dddkrdˆj|dƒS|d}|sªˆj#j$d|gƒ}t%j&||jdƒƒ}n'ˆj'j$d|gd|jdƒƒ}| r‡| r‡g}y+|rˆj(|ƒ}nˆj)|ƒ}Wn3t*j+j,k rE}ˆj-j.tdƒ|ƒnXt%j&||jdƒƒ}|rw|j|ƒq‡|j|ƒnyz|r™g}ng|jdƒrÞ|dg}ˆj'j/|d}|j0d|ƒ}n"|dg}ˆj'j0d|ƒ}Wnt+j1k rg}nX|j|ƒ| r}| r}ˆj-j.tdƒt2|ƒƒˆj j3s}t+j4tdƒ‚q}nd|dk}nˆj5|ƒ}ˆj#j6d|dd|dd|dd|dd|d ƒ}|s˜ˆj'j6d|dd|dd|dd|dd|d ƒ}ˆj7||ƒt8|ƒdkrpˆj9||ƒ}t:d!„|ƒ}q˜|s˜|td"ƒˆj;|ƒƒq˜nˆj j rQxÄ|D]¼}ˆjj<j|j=gƒ}g}xb|D]Z} ˆj | d t ƒ} | d'krqÙn| r&ˆj| |ƒ r&qÙn|j| ƒqÙWx-t>|ƒD]} |jˆj?d | ƒƒqDWq«Wxã|D]Ø}!xψj@|!ƒD]¾}"| r®ˆj|!|"ƒ r®qˆn|"j=}#ˆjj|!|"ƒ}|râ|j|ƒn|j|ƒˆjj|#ƒr$ˆjjtjtd#ƒ|#ƒqˆˆjj|"|!ƒ}|j|ƒqˆWqrWnx‚|D]z}xqˆjjAj|j=gƒD]T}$ˆj |$d t ƒ}|d'kr§qznˆjj|j=ƒrâˆjjtjtd ƒ|j=ƒqz|j=ˆjjBd|jCƒkr~ xȈj@|ƒD]d}%ˆjjD||ƒ}|rD |j|ƒnˆjj||%ƒˆjj|%|ƒ|j|ƒq WqzˆjjE|j=tFƒr¬ ˆjjG|j=ƒnˆjH|||ƒ}|j|ƒqzWqXWx0|D](}!ˆjI|!ƒsø qÝ ntJ|!tKƒr† |!jC}&xmˆj#jL|&ƒD]Y}'|'j=}(ˆjjE|(tFƒrZ ˆjjG|(ƒnˆjH||!|'ƒ}|j|ƒq# WqÝ nˆj|!ˆjƒ} | d'k r |jdƒrÔ | j!|jdƒkrÔ qÝ nˆjjtjtd$ƒ|!ƒ|jˆjd | ƒƒqÝ nxéˆjjMj|!j=gƒD]Ì}(ˆjj|(ƒri ˆjjtjtd ƒ|(ƒq. ˆjN|(|!|ƒr¡ ˆjjtjtd%ƒ|(ƒq. ˆj|(ƒ}'ˆjjE|(tFƒrØ ˆjjG|(ƒnˆjH||!|'ƒ}|j|ƒq. Wˆj#j6d|!jCd|!jOƒ})|)rG ˆjP|!ƒrG tQ|)ƒd&})nx»|)D]³}*ˆjj|*j=ƒr� ˆjjtjtd ƒ|*j=ƒqN ˆjN|*j=|!|ƒrÍ ˆjjtjtd%ƒ|*j=ƒqN |*jR|!ƒrN ˆjH||!|*ƒ}|j|ƒqN qN WqÝ Wxq|D]i}x`ˆj#j6d|jCƒD]F}+|+|jSkr/ ˆjT|jU|+ƒru ˆjjV|+|jUƒqu q/ q/ Wq W|S((sOMark the specified items to be updated. If a package object is given, mark it. Else, if a package is specified by the keyword arguments, mark it. Finally, if nothing is given, mark all installed packages to be updated. :param po: the package object to be marked for updating :param requiringPo: the package object that requires the upgrade :param update_to: if *update_to* is True, the update will only be run if it will update the given package to the given version. For example, if the package foo-1-2 is installed,:: updatePkgs(["foo-1-2"], update_to=False) will work identically to:: updatePkgs(["foo"]) but:: updatePkgs(["foo-1-2"], update_to=True) will do nothing :param kwargs: if *po* is not given, the names or wildcards in *kwargs* will be used to find the packages to update :return: a list of transaction members added to the transaction set by this function RvRcsˆjjtj||ŽdS(N(R{RRÎRE(R R (RI(s0/usr/lib/python2.7/site-packages/yum/__init__.pyRsRwRÙsUpdating EverythingRBiR›Rcs>Not Updating Package that is already obsoleted: %s.%s %s:%s-%sRÔRcs@^RHRÒRäiRîRƒRs%ssNo Match for argument: %ss1Not tolerating missing names on update, stopping.R4RRRFR¼RRHRcSs|dS(Ni((R((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR¢žss!No package matched to upgrade: %ss,Package is already obsoleted: %s.%s %s:%s-%ss*Not Updating Package that is obsoleted: %ss<Not Updating Package that is already updated: %s.%s %s:%s-%siÿÿÿÿN(WRÄR{RÙRRÎRER RtgetUpdatesTuplesR™RJRÈRœR9RRÖRRàRÛRÎR R%R(Ret isObsoletedRR Rjtupgrade_group_objects_upgradeR•RqRêRlRRñRFRšR×RÁRHR R%R­RŒR¬RzRvRÃRÄRÅR-RétUpdateMissingNameErrorRR+R"R"Rºtmapt_ui_nevra_dicttobsoleted_dictRcRR9R÷t updatesdicttgetObsoletesListRR'RÑRÖR'R+RRR&treturnNewestByNameRþR&RFRÓRßtverLTRDt_does_this_updateRÔt addUpdated(,RIRÔR)t update_toR RRRRæRDRJR=RÒRRöttopkgRétnewtoldR^RFtinstpkgst availpkgstarch_specifiedRÉt depmatchesR“RôRR tobs_tupsRRcR$t obsoleted_pkgR<tupdatingRR,t updated_pkgR?t pot_updatedRóti_pkg((RIs0/usr/lib/python2.7/site-packages/yum/__init__.pyR ðsª!             !           "      !   # " !         "        !   $c Ks†| r| rtjd‚ng}g}|r;|g}nYd|krè|drv|dddkrv|j|dƒS|dr¥|dddkr¥|j|dƒS|jj|dgƒ\}}}d|krtj||dƒ}tj||dƒ}n|j|ƒ|j|ƒ|r”g}|d} y|j | ƒ}Wn3t jj k rz}|j j tdƒ|ƒnXd|kr tj||dƒ}n|sÕt| ƒ} |j j tdƒt| ƒƒqå|j|ƒq”n¬|j|ƒ} |jjd | d d | d d | d d | d d| dƒ}|j|| ƒt|ƒdkr”|jdtƒs”|j jtdƒ|j| ƒƒq”n|jjƒ} tj| ƒ} xÍ|D]Å}|jjrú|j| krú|j jtdƒ|ƒq¹n|jj|jƒr_xM|jj|j ƒD]3} |j j!tdƒ| ƒ|jj"| jƒq%Wn|jj#|ƒ} |j$| ƒq¹W|S(sZMark the specified packages for removal. If a package object is given, mark it for removal. Otherwise, mark the package specified by the keyword arguments. :param po: the package object to mark for installation :param kwargs: If *po* is not given, the keyword arguments will be used to specify a package to mark for installation :return: a list of the transaction members that were added to the transaction set by this method :raises: :class:`yum.Errors.RemoveError` if nothing is specified to mark for removal sNothing specified to removeRäiRîRHRs%ssNo Match for argument: %sRRRFR¼RRHRRcs No package matched to remove: %ssSkipping the running kernel: %ss Removing %s from the transaction(%RŒt RemoveErrorRñRëRFtmatchPackageNamesR×RÁRR%R­R¬RzRvR R-RR+R#R"RÄRbRÙR1RÌRËR™RÊRcRÎRáRÛRRR'taddEraseRe(RIRÔR RæRR“RôR�R@RÉR RRæRé((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR'Dsj   "       #( cCsg}g}g}g}|s¨y1t|d|jjƒd|dtjjƒ}Wn.tjk r|jj t dƒ|ƒ|SX|j j t jt dƒ|j|ƒn|jddkrØ|jj t dƒ|ƒ|S|j|jjkr|jj t d ƒ||jƒ|S|jjrg|j|jj|jƒƒ}|rg|jj t d ƒ||d ƒ|Sn|jjd |jƒ} t| ƒd krÇ|r·|jjt d ƒ|jƒ|S|j|ƒnxj| D]b} |j| ƒrO| j|jjkr|j| jkr|j|ƒq0|j|ƒr9|j|ƒq0|j|| fƒqÎ|j| ƒrÙ|j| jkrÉt |jƒsŽt | jƒrÉ|r¹|jjt dƒ|j|jƒqÖ|j|ƒq0|j|ƒqÎ|j|ƒr#|r|jjt dƒ|j|jƒq0|j|ƒqÎ|j|ƒqÎW|g|D]} | d ^q>} |j!|| ƒr„|j j"t dƒ|ƒ|SxY|D]Q}|j j t jt dƒ|jƒ|j#j|ƒ|j$|j%d|ƒƒq‹Wxh|D]`\}} |j j t jt dƒ|j| ƒ|j#j|ƒ|j&d|ƒ}|j$|ƒqçWx0|D](}|j j t jt dƒ|jƒqRWx€|D]x}|j'jr…|j r…xY|j(|j'ƒD]B}|j)j*||j'ƒ|jj|ƒ|j)j+|j'|ƒq´Wq…q…W|S(s|Mark a package on the local filesystem (i.e. not from a repository) for installation. :param pkg: a string specifying the path to an rpm file in the local filesystem to be marked for installation :param po: a :class:`yum.packages.YumLocalPackage` :param updateonly: if True, the given package will only be marked for installation if it is an upgrade for a package that is already installed. If False, this restriction is not enforced :return: a list of the transaction members added to the transaction set by this method RturltuasCannot open: %s. Skipping.sExamining %s: %st payloadformattdrpms+Cannot localinstall deltarpm: %s. Skipping.sGCannot add package %s to transaction. Not a compatible architecture: %ssBCannot install package %s. It is obsoleted by installed package %siRsRPackage %s not installed, cannot update it. Run yum install to install it instead.sUPackage %s.%s not installed, cannot update it. Run yum install to install it instead.s Excluding %ssMarking %s to be installedRÔsMarking %s as an update to %ss&%s: does not update installed package.(,R(RFRÌR3Rºt user_agentRŒR>RzRvR R{RRÎR®R0RƒRFR,R™RJRùtsearchObsoletesRR+R"RÙReRÂRSRÓR×Rt_is_local_excludeRŽR€RR9R RÔR÷RÎR%R (RIRìRÔt updateonlyRæt installpkgst updatepkgst donothingpkgst obsoleterstinstalledByKeyRöRt check_pkgstoldpoRçRétobs_pkg((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt installLocal™s˜   %%!   !cCs |s�y1t|d|jjƒd|dtjjƒ}Wn.tjk rg|jj t dƒ|ƒgSX|j j t jt dƒ|j|ƒn|j|jjkrÈ|jj t dƒ||jƒgS|j||gƒrú|j jt dƒ|ƒgS|jd|ƒS( s›Mark a package on the local filesystem (i.e. not from a repository) for reinstallation. :param pkg: a string specifying the path to an rpm file in the local filesystem to be marked for reinstallation :param po: a :class:`yum.packages.YumLocalPackage` :return: a list of the transaction members added to the transaction set by this method RRJRKsCannot open file: %s. Skipping.sExamining %s: %ssGCannot add package %s to transaction. Not a compatible architecture: %ss Excluding %sRÔ(R(RFRÌR3RºRNRŒR>RzRvR R{RRÎR®R0RFR,RPRŽRï(RIRìRÔ((s0/usr/lib/python2.7/site-packages/yum/__init__.pytreinstallLocals c KsÔ|jtjtjtjƒg}|rG|j|jd|jƒƒn|j|j|�ƒ|sxtj t dƒ‚nt |ƒ}g}g}g}xò|D]é}|j j } t|j _ t|tƒrìd|krì|jd|ƒ} n$|jd|jd|jdƒƒ} | |j _ t | ƒdkrz|jj|jƒ|j|ƒ|jt|jƒƒ|j|jƒqžn|j| ƒqžW|rÃ| rÃtjt dƒdj|ƒd |ƒ‚n|j|ƒ|S( s‰Mark the given package for reinstallation. This is accomplished by setting problem filters to allow a reinstall take place, then calling :func:`install`. :param po: the package object to mark for reinstallation :param kwargs: if po is not given, the keyword will be used to specify a package for reinstallation :return: a list of the transaction members added to the transaction set by this method :raises: :class:`yum.Errors.ReinstallRemoveError` or :class:`yum.Errors.ReinstallInstallError` depending the nature of the error that is encountered Rcs2Problem in reinstall: no package matched to removeRRÔtrepoid_installis6Problem in reinstall: no package %s matched to installs, t failed_pkgs(RýRR R R RR'RcRŒtReinstallRemoveErrorR R"R™RJRbRR&R9RÄRÎReR�RÔtReinstallInstallErrorRž( RIRÔR ttx_mbrsttemplent new_membersR8R]R¹t old_conf_obstmembers((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRï:s@        + cCs |s�y1t|d|jjƒd|dtjjƒ}Wn.tjk rg|jj t dƒ|ƒgSX|j j t jt dƒ|j|ƒn|j|jjkrÈ|jj t dƒ||jƒgS|j||gƒrú|j jt dƒ|ƒgS|jd|ƒS( s–Mark a package on the local filesystem (i.e. not from a repository) to be downgraded. :param pkg: a string specifying the path to an rpm file in the local filesystem to be marked to be downgraded :param po: a :class:`yum.packages.YumLocalPackage` :return: a list of the transaction members added to the transaction set by this method RRJRKsCannot open file: %s. Skipping.sExamining %s: %ssGCannot add package %s to transaction. Not a compatible architecture: %ss Excluding %sRÔ(R(RFRÌR3RºRNRŒR>RzRvR R{RRÎR®R0RFR,RPRŽt downgrade(RIRìRÔ((s0/usr/lib/python2.7/site-packages/yum/__init__.pytdowngradeLocalws cCs‹d|jjks$d|jjkr(tSg}t|jjƒdkrwt||jjddƒ\}}}||}n||kr‡tStS(s0returns True if the local pkg should be excludedRTRÑiR½i(R™RRbR"R0R#R9(RIRÔRKttoexcRÖR0R×((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRP–s$  c Kså| r| rtjd‚nt}|r5|g}nud|krJ|drp|dddkrp|j|dƒS|drª|dddkrª|j|dƒ}t}qª|jjd|dgdtƒ}|sª|d}|jj t dƒ|ƒy|j |ƒ}WqGt jj k rC}|jjt d ƒt|ƒƒqGXqªn`|j|ƒ}|jjd |d d |d d |d d |dd|dƒ}|j||ƒ|s.g}d|krç|jjd|dgdtƒ}nd |kr|jjd |d ƒ}n|rgStjt dƒ‚ntƒ} g} xŠ|D]‚} |j| ƒr¹| j| jf| kršt dƒ| } |jjtj| ƒn| j| j| jfƒqDn| j| ƒqDW| }tƒ} x|D]} | j| jƒqàW|jjt| ƒƒ}i}i}x—t |ƒD]‰} | j|ksZ| j!|| jdƒrm| g|| j((R R,R“R.R/R-tevr((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR1?s*         cCsi}d|kra|d\}}}}}||d<||d<||d<||d<||d<|S|jdƒ|d<|jdƒ|d<|jdƒ|d<|jdƒ|d<|ddkrÓ|jdƒ|dGPG key signature on key %s does not match CA Key for repo: %ss,GPG key signature verified against CA Key(s)tmultiplesInvalid GPG Key from %s: %stkeyidRìtuseridt fingerprinttraw_keys2GPG key parsing failed: key does not have value %sthexkeyidt valid_sigthas_sigN(RŠs timestampsuseridRŒR�(!RbRˆR R{RRÎR®R×tto_utf8Rt_default_graboptsRâRWturlreadRmRRŒR¬R/tgpgcakeytgetCAKeyForRepoRTturlopentvalid_detached_sigtStringIOtgpgcadirR9t getgpgkeyinfoRt keyIdToRPMVertuppertboolRe(RItkeyurlR[tgetSigt key_installedR’R÷RJRºRftrawkeyR“tsigfileR�t keys_infoRÚtkeyinfotthiskeyR((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_retrievePublicKeysh          %      tGPGc Csd}|jdƒrž|tdƒ}|jj|ƒ}|ržt|ƒd}tdƒ||dt|dƒtj |ƒ||j |j ddƒf}qžn|dkrïtdƒ||dt|dƒtj |ƒ|j ddƒf}n|j j d |ƒdS( Nsfile:iÿÿÿÿsaImporting %s key 0x%s: Userid : "%s" Fingerprint: %s Package : %s (%s) From : %sRŽR‹sfile://RsKImporting %s key 0x%s: Userid : "%s" Fingerprint: %s From : %ss%s(RR4R"RFt searchFilesRßR R-R×tgpgkey_fingerprint_asciit ui_from_repoR°RzRv(RIRRžtkeytypeR÷tfnameR((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_getKeyImportMessagebs"      c sà|jjˆjƒ‰ˆj}t}‡‡fd†}t}xï|D]ç}|j|ˆƒ} xÌ| D]Ä} |jjƒ} tj | | d| dƒdkrÄ|j j t dƒ|| dfƒqbnˆj rê| drê| drêt}nÄ|j| |ƒt} |jjrt} n‡|jjr*t} nr|ry|iˆd 6| d d 6| dd6|d 6| d d 6| dd6ƒ} n#|rœ|ˆ| d | dƒ} n| s®t}qbn|jjƒ} | jtj| d ƒƒ} | dkr t dƒ| }tj||ƒ‚n|j j t dƒƒt}qbWqCW| rP|rPtjt dƒ‚n|s~t dƒˆj}tj||ƒ‚n|jˆƒ\} }| dkrÜt dƒ}|j j |ƒt|ƒ}tj||ƒ‚ndS(s½Retrieve a key for a package. If needed, use the given callback to prompt whether the key should be imported. :param po: the package object to retrieve the key of :param askcb: Callback function to use to ask permission to import a key. The arguments *askck* should take are the package object, the userid of the key, and the keyid :param fullaskcb: Callback function to use to ask permission to import a key. This differs from *askcb* in that it gets passed a dictionary so that we can expand the values passed. :raises: :class:`yum.Errors.YumBaseError` if there are errors retrieving the keys cs*|tdƒˆdjˆjƒf7}|S(Ns; Failing package is: %s GPG Keys are configured as: %s s, (R RžR’(R÷(RÔR[(s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_prov_key_dataŽs RŠRìis)GPG key at %s (0x%s) is already installedRŽR�R�RÔR‹RžRŒR�sKey import failed (code %d)sKey imported successfullysDidn't install any keyss°The GPG keys listed for the "%s" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.s+Import of key(s) didn't help, wrong key(s)?N(R]R‡RR’RbR¦RFRÌR×t keyInstalledRzRR R”R9R­R™tassumenot assumeyestpgpImportPubkeyt procgpgkeyRŒR¬RR[R-(RIRÔtaskcbt fullaskcbtkeyurlsR R®t user_cb_failRžRÚRRRfR^R÷R(((RÔR[s0/usr/lib/python2.7/site-packages/yum/__init__.pytgetKeyForPackage|sf   #              c sat}‡‡‡fd†}t}xÙˆD]Ñ} |j| ˆdˆ ƒ} x¯| D]§} tt| dƒƒdd!jƒtj|ƒkr¶|jjt dƒ| | dfƒt }qNnˆr9ˆj d} d } g}y(t | d ƒj ƒ}|jd ƒ}Wnttfk rnXt| dƒ|kret }qen,d } ˆjre| d re| dret }n|s|j| | | ƒt}|jjr™t}nd|jjr®t }nO|rý|iˆd6| dd6| dd6| d6| dd6| dd6ƒ}n|st }qNqntj| d| dd|ƒ}|sat dƒ| d}tj||ƒ‚n|jjt dƒƒt }ˆrN|rN| d|krõt | dƒ}y-|j| dd ƒ|jƒ|jƒWqòttfk rîqòXqõqNqNWq(W| r/|r/t dƒˆ}tj||ƒ‚n|s]t dƒˆj}tj||ƒ‚ndS(sL Retrieve a key for a repository If needed, prompt for if the key should be imported using callback @param repo: Repository object to retrieve the key of. @param destdir: destination of the gpg pub ring @param keyurl_list: list of urls for gpg keys @param is_cakey: bool - are we pulling in a ca key or not @param callback: Callback function to use for asking for permission to import a key. This is verification, but also "choice". Takes a dictionary of key info. csKtdƒ}ˆr!tdƒ}n|tdƒ|ˆdjˆƒf7}|S(NtNotYessD CA Key: %s Failing repo is: %s GPG Keys are configured as: %s s, (R Rž(R÷tcakeytxt(tis_cakeyt keyurl_listR[(s0/usr/lib/python2.7/site-packages/yum/__init__.pyR®ës   RŸRŠiiÿÿÿÿs(GPG key at %s (0x%s) is already importedRŽs/imported_cakeystCAR/s R§R�R�R[R‹RžRŒRìR�tgpgdirsKey %s import failedsKey imported successfullyR-s#Didn't install any keys for repo %ssŸThe GPG keys listed for the "%s" repository are already installed but they are not correct. Check that the correct key URLs are configured for this repository.N(RbR¦thexRRœR×treturn_keyids_from_pubringRzRR R9RÞR¢R£RÔR¦R§R�R”R­R™R°R±timport_key_to_pubringRŒR¬R tflushR‰R(RIR[tdestdirR½R¼RQR R®R·RžRÚRtikfR«tcakeystcakeys_dRfR^R÷tikfo((R¼R½R[s0/usr/lib/python2.7/site-packages/yum/__init__.pyt_getAnyKeyForRepoÛs|   2               cCs)|j||j|jdtd|ƒdS(s-Retrieve a key for a repository. If needed, use the given callback to prompt whether the key should be imported. :param repo: repository object to retrieve the key of :param callback: callback function to use for asking for verification of key information R¼RQN(RÉR¿R’Rb(RIR[RQ((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt getKeyForRepoDscCs)|j||j|jdtd|ƒdS(s-Retrieve a key for a repository. If needed, use the given callback to prompt whether the key should be imported. :param repo: repository object to retrieve the key of :param callback: callback function to use for asking for verification of key information R¼RQN(RÉR™R”R9(RIR[RQ((s0/usr/lib/python2.7/site-packages/yum/__init__.pyR•NscCs!d„}|jjdkrdS|jjr/dSg}|jjƒ}tj|ƒ\}}i}x�|jjƒD]~}|j dkrŠqon|j r™qon|j |j ƒs±qon|j |krÖ|j g||j Dependencies not solved. Will not save unresolved transaction.Nsyum_save_tx.%ss%Y-%m-%d.%H-%M.Rs.yumtxtprefixRžs%s R„is1 is %s:%s:%s s%s:%s RÒRs&Could not save transaction file %s: %s(&RÎt_unresolvedMembersRzRvR RŒR¬R£tstrftimettempfiletmkstempR§tfdopenR¢RtRFR›R9Rt getTsFlagsRoRR"R]R^RâR`R‡RëR˜Rát_dumpR RžR‰R¦R§R/( RIR#RÂRR'RæR÷R/RéR“((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRÞãs<  $0   )cCs¢yt|dƒjƒ}Wn&ttfk rA}t|ƒd fSX|sXtdƒd fS|ddkr˜|ddkrˆ|dd!}q˜|dd !}nd |fS( s* Load the file into a simple data format. R/sFile is empty.is saved_tx: iÿÿÿÿshistory addon-info iiýÿÿÿiþÿÿÿN(R¢t readlinesR¦R§R/RR (RIR#R…R“((s0/usr/lib/python2.7/site-packages/yum/__init__.pyt _load_ts_datasc! Csf|j|ƒ}|dd&k rEtjtdƒ||dfƒ‚n|d}|d&krj|jj}n|d&kr…|jj}n|d&kr |jj}n|r¯t }n|dj ƒ}|t |j j dt ƒdƒkrAtdƒ}|r|tdƒ7}|jjt|ƒƒqA|tdƒ7}tj|ƒ‚nyt|dj ƒƒ}Wn4ttfk r‘} tdƒ}tj|ƒ‚nX|jj|ƒt|d j ƒƒ} g} d | } d&} xk|d | !D]\}|j ƒjd ƒ}|r+|dd kr+d |d|d f} qÜn| j|ƒqÜWt|| j ƒƒ}| d}d}t}d&}t}xð||D]ä}|jƒ}|jdƒr3|rè|jj|ƒ||jjkrè| rè|jjj|ƒqènt}|jd ƒdj ƒjdƒ\}}t|j ƒƒ}t|j ƒjdƒƒ}y_|tkrd|j |ƒ}n=|t!kr‚|j"|ƒ}ntd|ƒ}tj|ƒ‚Wnftjk r } t }tdt |ƒ|fƒ}|sñtj|ƒ‚q0t }|jj|ƒq3X|d7}t#j$|ƒ}||_%qn|j ƒ}|jd dƒ\}}|j&ƒ}|d'krÂ|j ƒj'ƒ}|dkr t(||tƒqT|dkrTt(||t ƒqTn’|dkrít(||t|j ƒƒƒng|dkr|j)j*|jdƒƒn?|d(krx0|j ƒjdƒD]á}|jd ƒ\}}yO|d!kr‚|j t|jdƒƒƒ}n|j"t|jdƒƒƒ}WnHtjk rë} td"t |ƒ|fƒ}|jj|ƒt }q7Xt+||ƒ}|j|ƒt(|||ƒq7Wn5|d#kr>x&|jdƒD]ü}|jd ƒ\}} |jd ƒ\}}yO|d!kr›|j t|jdƒƒƒ}n|j"t|jdƒƒƒ}WnHtjk r} td"t |ƒ|fƒ}|jj|ƒt }q;Xt+||ƒ}|j|| fƒt(|||ƒq;Wnt(|||j ƒƒ|rt }qqW|jj|ƒ||jjkrŸ|jjj|ƒn||kr´t }n|rtd$ƒ}|rõt }|td%ƒ7}|jj|ƒq|tdƒ7}tj|ƒ‚nt,|jƒ|kr5d&} n| d&k rY|| |f|j_-n|jj.ƒS()s,Load a transaction from a .yumtx file. :param filename: the name of the file to load the transaction from :param ignorerpm: whether to ignore starting rpmdb version mismatch. :param ignoremissing: whether to ignore that there may be transaction members missing :param ignorenewrpm: whether to ignore ending rpmdb version mismatch. :return: the members of the loaded transaction :raises: :class:`yum.Errors.YumBaseError` if there are problems loading the transaction is/Could not access/read saved transaction %s : %siR„s/rpmdb ver mismatched saved transaction version,s ignoring, as requested.s aborting.s+cannot find tsflags or tsflags not integer.iiRÆRÒs%s:%ssmbr:R…RIs(Found txmbr in unknown current state: %ss$Could not find txmbr: %s in state %stisDepRïtfalseRÊRÜRlR*R&t downgraded_byRîRDRJR2RHRõs(Could not find txmbr: %s from origin: %sRFsCTransaction members, relations are missing or ts has been modified,s- ignoring, as requested. You must redepsolve!N(R's reinstall(s updated_bys obsoleted_byR)s downgradessupdatess obsoletess depends_on(/R&RRŒR¬R R™tloadts_ignorerpmtloadts_ignorenewrpmtloadts_ignoremissingR9RïR�RFR›RzRvRRR�RtsetFlagsRÔReRbtrstripR4RÎR½RR'RRBRÖRDRœR–tTransactionMembert current_statetlstripRéR¤RlRRäR"RÒRá(!RIR#t ignorerpmt ignoremissingt ignorenewrpmR…trpmvR÷RÛR“tnumreposR]trindext future_rpmdbvR/R[tnumpkgstpkgstarttpkgcounttpkgprobtcurpkgt missinganyR7RcR0RÔR R.tpkgspectorigintcurlistR¹RH((s0/usr/lib/python2.7/site-packages/yum/__init__.pytload_ts,s&     %     (             !"    !"       c Csºtƒ}tƒ}g|jjdtƒD]}|j^q(}i}x!|jjƒD]}t|| Marking %s to be removed - no longer needed by %sRÔs+Found and removing %s unneeded dependenciesN(R„RÎRÑRÖRÔRFRšR9trequired_packagesR×RÄRbt_has_needed_revdepstrequiring_packagesRR'R(ReR½R{RRÎR®R"( RIt found_leavestcheckedttt beingremovedtokay_to_removeRõRìtrequiredt still_neededt requiringRçRé((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRÉs8  +      cCsº||s-|jjtjtdƒ|ƒtS|jjtjtdƒ|ƒi}x!|jjƒD]}t||R@R?R]RaR\R�R•R™RžR tpropertyR]RHR™RFRÎRRRR”R•RƒtupinfoRqR°R»RõRÍR÷R!R"R#R RRÿR R1R R8RøRúRIRmRÃR°R9R5R7t YUM_PID_FILERR‹t staticmethodRRRR<RARR…RŠR[R­R R¢R¤R©RªR­R´RžR¬RàRèRRüRR9R?RGRURbRkRlRoR�R“R—R˜RœRÖR©R R·R%R¸RµRÅRÛRàR¶RèRêRëRíRñR÷RóRýRãRRRR9R#R&R+R R'RZR[RïRfRPReR1RR‚R„RˆR¦R­R¸RÉRÊR•RÇRçRÞRàRíRâRäRôRR&R7R RRÞR&RBRÉRD(((s0/usr/lib/python2.7/site-packages/yum/__init__.pyRe¶sÎ +    }  Y       * :  0  M #                                          Ê  n          C ã¡   .  7 ï ' 1 ? *       ÿ ²   € & #(  l #  !™ +I  '   %  &   H F             ÿ   ÿU U‚  =   — K : N _i \#    3 :  #   3  Ô 3((((kRMR§tos.pathRRuR R&R.R!R£RýRáRxtlogging.configRþR Rktyum.i18nR­R®R R RRRªRRRŒRtrpmUtils.updatesRCt rpmUtils.archRRRRtrpmUtils.miscutilsRtrpmUtils.transactionRR…R]RR×RñRRR–RWturlgrabber.grabberRRturlgrabber.progressRt packageSackRRRRfR;RÎRRÚt yum.historytyum.fssnapshotsR R!t yum.igroupsR’Rœt simplefilterRžR:R#R$R%R&R'R(R)t constantst yum.rpmtransR+R,R-R.R/tyum.drpmR0R1R˜RZR2R3t __version__RRÔRRRRºRNR5RNRYRgRe(((s0/usr/lib/python2.7/site-packages/yum/__init__.pytsˆ                        "                  .