Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
share
/
yum-cli
/
Upload File :
New :
File
Dir
//proc/self/root/usr/share/yum-cli/cli.pyc
mò ”F»Oc�����������@���s\��d��Z��d�k�Z�d�k�Z�d�k�Z�d�k�Z�d�k�Z�d�k�Z�d�k�l�Z�l �Z �d�k �Z �d�k�Z�d�k�Z�d�k �Z �d�k�Z �d�k�Z �d�k�Z �d�k�Z �d�k�Z�d�k�Z�d�k�l�Z�d�k �l�Z�d�k�l�Z�d�k�Z�d�k�Z�d�k�l�Z�l�Z�d�„��Z�d�e �i �i!�f�d �„��ƒ��YZ"�d �e �i#�e�i$�f�d�„��ƒ��YZ%�d�e�f�d �„��ƒ��YZ&�d�„��Z'�d�S(���s/��� Command line interface yum class and related. N(���s���OptionParsers���OptionGroup(���s ���parsePackages(���t���_(���s���RPMTransaction(���s ���to_unicodes���to_utf8c���������C���s���t��i�d�IJt��i�d�ƒ�d�S(���s"��� SIGQUIT handler for the yum cli. s&���Quit signal sent - exiting immediatelyi���N(���t���syst���stderrt���exit(���t���signumt���frame(����(����t���/usr/share/yum-cli/cli.pyt���sigquit0���s����� t���CliErrorc�����������B���s���t��Z�d��Z�d�d�„�Z�RS(���s3��� Command line interface related Exception. t����c���������C���s ���t��i�i�i�|��ƒ�|�|��_�d��S(���N(���t���yumt���Errorst���YumBaseErrort���__init__t���selft���args(���R���R���(����(����R���R ���;���s����(���t���__name__t ���__module__t���__doc__R ���(����(����(����R���R���5���s����t ���YumBaseClic�����������B���sO��t��Z�d��Z�d�„��Z�d�„��Z�e�d�d�„�Z�d�„��Z�d�„��Z�d�„��Z �d�„��Z �d �„��Z�d �„��Z�d�„��Z �d�„��Z�d �„��Z�e�d�„�Z�d�„��Z�d�e�d�„�Z�d�„��Z�d�„��Z�d�„��Z�d�d�„�Z�e�d�„�Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z�d�„��Z �d�„��Z!�d�„��Z"�d �„��Z#�d!�„��Z$�d"�„��Z%�e�d#�„�Z&�RS($���sZ���This is the base class for yum cli. Inherits from yum.YumBase and output.YumOutput c���������C���s6��t��i��t��i�t�ƒ�t�i�i�|��ƒ�t�i�i�|��ƒ�t �i �ƒ��t �i�d�ƒ�|��_�t �i�d�ƒ�|��_ �h��|��_�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i�ƒ��ƒ�|��i�t�i �ƒ��ƒ�|��i�t�i!�ƒ��ƒ�|��i�t�i"�ƒ��ƒ�|��i�t�i#�ƒ��ƒ�|��i�t�i$�ƒ��ƒ�|��i�t�i%�ƒ��ƒ�|��i�t�i&�ƒ��ƒ�|��i�t�i'�ƒ��ƒ�|��i�t�i(�ƒ��ƒ�d��S(���Ns���yum.clis���yum.verbose.cli()���t���signalt���SIGQUITR���R ���t���YumBaseR ���R���t���outputt ���YumOutputt���loggingt���basicConfigt ���getLoggert���loggert���verbose_loggert���yum_cli_commandst���registerCommandt���yumcommandst���InstallCommandt ���UpdateCommandt���InfoCommandt���ListCommandt���EraseCommandt���GroupCommandt���GroupListCommandt���GroupInstallCommandt���GroupRemoveCommandt���GroupInfoCommandt���MakeCacheCommandt���CleanCommandt���ProvidesCommandt���CheckUpdateCommandt ���SearchCommandt���UpgradeCommandt���LocalInstallCommandt���ResolveDepCommandt���ShellCommandt���DepListCommandt���RepoListCommandt���HelpCommandt���ReInstallCommandt���DowngradeCommand(���R���(����(����R���R ���C���s>���� c���������C���s[���xT�|�i�ƒ��D]F�}�|��i�i�|�ƒ�o �t�i�i�t �d�ƒ�|�ƒ�‚�n�|�|��i�|�<q �Wd��S(���Ns���Command "%s" already defined( ���t���commandt���getNamest���nameR���R���t���has_keyR ���R���t���ConfigErrorR����(���R���R9���R;���(����(����R���R���e���s ���� � i���c���������C���sÊ���|��i�o�|�d�j�o�|��i�Sn�|�p#�|��i�i�t�i�i�t �d�ƒ�ƒ�n�|�o �t�i �i�|��d�|�d�t�ƒn�t�i �i�|��d�|�ƒ|�o3�|��i�i�t�i�i�t �d�ƒ�ƒ�|��i�d�|�ƒ�n�|��i�S(���se���grabs the repomd.xml for each enabled repository and sets up the basics of the repositorys���Setting up repositoriest���thisrepot���doSetups/���Reading repository metadata in from local filesN(���R���t���_reposR>���t���NoneR���t���logR ���t ���logginglevelst���INFO_2R����R���t ���_getRepost���Truet���dosackt ���_getSacks(���R���R>���RG���(����(����R���t���doRepoSetupk���s����� c���������C���s«���d�}�t�i�i�|��i�i�ƒ��ƒ�}�|�i�d�d�„��ƒ�xp�|�D]h�}�y.�|�i �ƒ��}�|�d�|�i�ƒ��d�|�f�7}�Wq;�t �t�f�j �o�|�d�|�i�ƒ��d�7}�q;�Xq;�W|�S(���sq��� Format an attractive usage string for yum, listing subcommand names and summary usages. s*���yum [options] COMMAND List of Commands: t���cmpc���������C���s!���t��|��i�ƒ��d�|�i�ƒ��d�ƒ�S(���Ni����(���RJ���t���xR:���t���y(���RK���RL���(����(����R���t���<lambda>‹���s����s ���%-14s %s i����s���%s N(���t���usageR ���t���misct���uniqueR���R���t���valuest���commandst���sortR9���t ���getSummaryt���summaryR:���t���AttributeErrort���NotImplementedError(���R���RR���RU���R9���RN���(����(����R���t ���_makeUsage„���s������"!c���������C���s��t��d�|��d�|��i�ƒ��ƒ�|��_�|��i�i�|�ƒ�} �| �i�o�t�i �GHt �| �_�t�| �_ �n�|��i�i�| �ƒ�}�| �i�o �d�| �_�n�| �i �o�d�| �_�| �_�n�y¥�|��i�}�| �i�|�_�|�|�_�| �i�|�_�t�i�i�t�i�i�f�|�_�|��i�|�_�| �i�|�_�| �i�|�_�|��i�i�| �i�ƒ�|�_�|��i�i�| �i�ƒ�|�_ �|��i!�Wn{�t�i"�i#�j �o/�}�|��i%�i&�t'�d�ƒ�|�ƒ�t(�i)�d�ƒ�n<�t*�j �o/�}�|��i%�i&�t'�d�ƒ�|�ƒ�t(�i)�d�ƒ�n�X|��i�i+�|��i�ƒ��ƒ�|��i�i,�d�|�ƒ�\�} �|��_-�| �i�oYd�|��i!�_.�d �d �d�d�g�} �t�}�d �„��}�xt2�|��i3�i4�d�| �ƒ�ƒ�D]û�}�|�o �d�GHn�t �}�|�i6�d�j�o �d�|�i�|�i7�|�i8�f�}�n#�d�|�i6�|�i�|�i7�|�i8�f�}�d�|��i:�i;�d�|�i<�|��i:�i;�d�f�} �t'�d�ƒ�| �|�|�|�i=�ƒ�f�GHt'�d�ƒ�|�i>�|�|�i?�ƒ�f�GHt'�d�ƒ�|�i@�|�|�iA�ƒ�f�GHqIWt(�i)�d�ƒ�n�| �iB�d�j �o�tD�iE�| �iB�d�ƒ�}�n�d�}�|�|��_�d�|��_F�x$�|��i�D]�}�|��iF�d�|�7_F�q¥Wy�|��iH�ƒ��Wn �tI�j �o�t(�i)�d�ƒ�n�XtJ�iK�|�ƒ�d�S(���sŠ���parses command line arguments, takes cli args: sets up self.conf and self.cmds as well as logger objects in base instancet���baseRN���i����i���s���Config Error: %si���s���Options Error: %sR���R ���s���yum-metadata-parsert���rpms���yum-rhn-pluginc���������C���s���t��i�d�t��i�|��ƒ�ƒ�S(���Ns���%Y-%m-%d %H:%M(���t���timet���strftimet���gmtimeRK���(���RK���(����(����R���t ���sm_ui_timeÐ���s����t���patternsR ���t���0s���%s-%s.%ss���%s:%s-%s.%ss���%s%s%st���boldt���normals��� Installed: %s-%s at %ss��� Built : %s at %ss��� Committed: %s at %si<���s���yum s���%s N(L���t���YumOptionParserR���RX���t ���optparsert ���firstParseR���t���optst���versionR ���t���__version__RF���t���quiett���Falset���verboset���getRoott���roott ���debuglevelt ���errorlevelt���preconft���pct���conffilet���fnt ���nopluginst���init_pluginst���pluginst ���TYPE_COREt���TYPE_INTERACTIVEt���plugin_typest ���_splitArgt���disablepluginst���disabled_pluginst ���enablepluginst���enabled_pluginst���confR���R=���t���eR���t���criticalR����R���R���t ���ValueErrort ���set_usaget���setupYumConfigt���cmdst���cachet ���yum_progst���doneR^���t���sortedt���rpmdbt���returnPackagest���pkgt���epocht���releaset���archt���vert���termt���MODER;���t���installtimet���packagert ���buildtimet ���committert ���committimet ���sleeptimeRA���t���randomt ���randranget ���cmdstringt���argt ���parseCommandsR���R[���t���sleep(���R���R���R^���Rˆ���RŒ���Rœ���R���R˜���Rq���R‡���R;���Rm���R€���Rf���(����(����R���t���getOptionsConfig–���s~����� �� "*!!% �c���������C���s¼��|��i�i�d�t�i�ƒ�|��i�i�t�i�i�d�|��i�ƒ�|��i�i�t�i�i�d�|��i �i �ƒ�t�|��i �i�ƒ�d�j�o)�t�|��i �ƒ�d�j��o�|��i �i�|��_ �n�|��i �|��i �_�t�|��i �ƒ�d�j��o*�|��i�i�t�d�ƒ�ƒ�|��i�ƒ��t�‚�n�|��i �d�|��_�|��i �d�|��_�t�|��i�ƒ�d�j�oM�|��i�i�t�i�i�d�ƒ�x1�|��i�D]"�}�|��i�i�t�i�i�d�|�ƒ�qAWn�|��i�i�|��i�ƒ�p�|��i�ƒ��t�‚�n�|��i�|��i�i�|��|��i�|��i�ƒ�d �S( ���s{���reads self.cmds and parses them out to make sure that the requested base command + argument makes any sense at alls���Yum Version: %ss���COMMAND: %ss���Installroot: %si����i���s���You need to give some commands���Ext Commands: s��� %sN(���R���R���t���debugR ���Rh���RB���RC���t���DEBUG_4R›���R���t���installroott���lenRR���R…���R���R���R����RN���R���t���basecmdt���extcmdsRœ���R���R<���t���doCheck(���R���Rœ���(����(����R���R���ú���s2����� / �$ c���������C���sP���t��i�d�|��ƒ�}�t�|��i�ƒ�d�j�o�|�i�ƒ��n�|�i�ƒ��|�i�|�i �f�S(���s*���do a shell-like interface for yum commandsRY���i����N( ���t���shellt���YumShellR���t���yumshellR£���R¥���t���cmdloopt���scriptt���resultt ���resultmsgs(���R���R©���(����(����R���t���doShell��s����� c���������C���s!��d�}�t�i�d�ƒ�}�h��}�x¥�|�i�|�ƒ�D]”�}�|�i�|�i �d�ƒ�ƒ�p&�t �|�i �d�ƒ�ƒ�|�|�i �d�ƒ�<n�|�|�i �d�ƒ�t �|�i �d�ƒ�ƒ�j��o&�t �|�i �d�ƒ�ƒ�|�|�i �d�ƒ�<q+�q+�W|�oC�|�t�d�ƒ�7}�x0�|�D]$�}�|�t�d�ƒ�|�|�|�f�7}�qá�Wn�t�d�ƒ�|�}�|�S( ���sm��� parse the error string for 'interesting' errors which can be grouped, such as disk space issues R ���s%���needs (\d+)MB on the (\S+) filesystemi���i���s���Disk Requirements: s-��� At least %dMB needed on the %s filesystem. s���Error Summary ------------- N( ���RU���t���ret���compilet���pt���diskt���finditert ���errstringt���mR<���t���groupt���intR����t���k(���R���R´���Rµ���RU���R±���R²���R¸���(����(����R���t���errorSummary%��s"������&)*�&c���������C���sù���t��}�t�}�|��i�|��i�}�t�|�d�ƒ�o�|�i�|��|��i�|��i �ƒ�}�n�|�o/�t�|�d�ƒ�o�|�i�|��|��i�|��i �ƒ�}�n�|�p�|�oF�y�|��i �|�ƒ�WqÖ�t�i�i �j �o�}�d�t�|�ƒ�g�f�SqÖ�Xn�|��i�|��i�i�|��|��i�|��i �ƒ�S(���s_�� Calls the base command passes the extended commands/args out to be parsed (most notably package globs). Returns a numeric result code and an optional string - 0 = we're done, exit - 1 = we've errored, exit with error string - 2 = we've got work yet to do, onto the next stage t���needTst���needTsRemovei���N(���RF���Rº���Rj���R»���R���R���R¤���t���cmdt���hasattrR¥���t���_getTsR ���R���R���R€���t���strt ���doCommand(���R���R¼���Rº���R€���R»���(����(����R���t ���doCommands?��s���� �c���������C���s��t��|��i�ƒ�d�j�o�|��i�i�t�d�ƒ�ƒ�d�Sn�|��i�ƒ��}�|��i�i�t �i �i�ƒ�o�|��i�i�t �i �i�|�ƒ�n"�|��i �i�p�|��i�i�|�ƒ�n�g��}�t�}�xX�|��i�i�ƒ��D]G�}�|�i�d�d�g�j�o+�t�}�|�i�}�|�o�|�i�|�ƒ�qú�q³�q³�W|��i�i�ƒ��|�o�|��i�|�ƒ�n�|��i�ƒ��o/�|��i�ƒ��p�|��i�i�t�d�ƒ�ƒ�d�Sq_n�|��i�i�t �i �i�t�d�ƒ�ƒ�|��i �|�d�|��i!�ƒ} �t��| �ƒ�d�j�ou�d �} �| �t�d �ƒ�7} �xI�| �D]A�}�t �i%�i&�| �|�ƒ�}�x"�|�D]�}�| �d�|�|�f�7} �qéWqÆWt �i)�i*�| �‚�n�|��i+�|�ƒ�d�j�o�d�Sn�|��i �i,�o¨�t-�i-�ƒ��}�|��i�i�t �i �i�t�d�ƒ�ƒ�|��i/�ƒ��}�|�oH�t�d �ƒ�GHx�|�D]�}�t2�|�ƒ�GHq™Wd�t�d�ƒ�|��i �i3�g�f�Sn�|��i�i4�d�t-�i-�ƒ��|�ƒ�n�t-�i-�ƒ��}�|��i�i�t �i �i�t�d�ƒ�ƒ�|��i �i6�p�|��i�i7�i�t8�i9�ƒ�n�t:�|��d�t�ƒ}�|��i<�ƒ��|��i=�}�d�|��_=�|��i@�d�d�ƒ�|��i�iA�|�ƒ�}�~�|��i�i�t �i �i�t�d�ƒ�ƒ�t��|�ƒ�d�j�oU�t�d�ƒ�} �x"�|�D]�} �| �d�tD�| �ƒ�7} �qÛWt �i)�i*�| �d�|��iE�| �ƒ�‚�n�|��i�i�t �i �i�t�d�ƒ�ƒ�|��`�|��i�i4�d�t-�i-�ƒ��|�ƒ�tF�iF�tF�iG�tF�iH�ƒ�t-�i-�ƒ��}�|��i<�ƒ��|��i@�d�d�ƒ�|��i�iJ�ƒ��|��i�iK�ƒ��|�|��_=�t:�|��d�tL�iM�ƒ}�|��i �iO�d�j��o�t�|�iP�_L�n�|��i�i�t �i �i�t�d�ƒ�ƒ�|��iQ�d�|�ƒ�}�|��i�i4�d�t-�i-�ƒ��|�ƒ�|��i�i�t �i �i�|��iS�ƒ��ƒ�tF�iF�tF�iG�tT�ƒ�|�iU�S(���sn���takes care of package downloading, checking, user confirmation and actually RUNNING the transactioni����s9���Trying to run the transaction but nothing to do. Exiting.i���t���it���us���Exiting on user Commands���Downloading Packages:t���callback_totalR ���s���Error Downloading Packages: s ��� %s: %s s���Running rpm_check_debugs'���ERROR with rpm_check_debug vs depsolve:s���Please report this error in %ss���rpm_check_debug time: %0.3fs���Running Transaction Testt���testt���keepolds���Finished Transaction Tests���Transaction Check Error: s��� %s s��� s���Transaction Test Succeededs���Transaction Test time: %0.3ft���displayi���s���Running Transactiont���cbs���Transaction time: %0.3fN(V���R£���R���t���tsInfoR���t���infoR����t���listTransactiont���lstst���isEnabledForR ���RC���t���INFO_1RB���R���t ���assumeyesR���t���warnt���downloadpkgsRj���t���stuff_to_downloadt ���getMemberst���txmbrt���ts_stateRF���t���pot���appendt���tst���closet���reportDownloadSizet ���_promptWantedt���userconfirmRD���t���downloadPkgst���download_callback_total_cbt���problemsR´���t���keyRO���RP���t���errorst���errorR���R���t���gpgsigcheckt���rpm_check_debugR[���t���rcd_stt���_run_rpm_check_debugt���msgst���msgt���to_utf8t���bugtracker_urlR ���t���tt_stt���diskspacecheckt���probFilterFlagsRZ���t���RPMPROB_FILTER_DISKSPACEt���RPMTransactiont���testcbt���initActionTst ���dsCallbackt���dscbRA���t ���populateTsRÅ���t���tserrorst���descrt ���to_unicodeR¹���R���R���t���SIG_DFLt���ts_stt���checkt���orderR���t���YumCliRPMCallBackRÈ���Rn���RÇ���t���runTransactiont���resultobjectt���postTransactionOutputR���t���return_code(���R���RÌ���Rç���RÈ���RÑ���Rþ���Rð���Rõ���Rá���Rö���R´���Rè���RÖ���Rß���Rë���RÔ���Rà���Rå���Ró���RÒ���Râ���Rù���(����(����R���t ���doTransaction_��sº����� � �� �!" �$ c������������s¬���x¥�|�D]�}�ˆ��i�|�ƒ�\�}�}�|�d�j�o�q�q�|�d�j�oR�t�i�i�ƒ��o'�ˆ��i �i �o�t�i�i �t�d�ƒ�‚�n�ˆ��i�|�‡��d�†��ƒ�q�t�i�i �|�‚�q�Wd�S(���sÜ���Perform GPG signature verification on the given packages, installing keys if possible Returns non-zero if execution should stop (user abort). Will raise YumBaseError if there's a problem i����i���sT���Refusing to automatically import keys when running unattended. Use "-y" to override.c������������s ���ˆ��i�ƒ��S(���N(���R���RÜ���(���RK���RL���t���z(���R���(����R���RM���þ��s����N(���t���pkgsRÖ���R���t���sigCheckPkgR¬���t���errmsgR���t���stdint���isattyR���RÏ���R ���R���R���R����t���getKeyForPackage(���R���R��R¬���RÖ���R��(����(���R���R���Rã���è��s������ c���������C���sŒ���|��i�d�|�g�d�t�ƒ�}�|�i�|�i�}�t�t�d�„��|�ƒ�ƒ�}�|�o>�|��i �t �d�ƒ�d�i�|�ƒ�ƒ�}�|��i �i�t�i�i�|�ƒ�n�d�S(���s=��� If install argument doesn't match with case, tell the user. R_���t���ignore_casec���������C���s���|��i�S(���N(���RK���R;���(���RK���(����(����R���RM��� ��s����s��� * Maybe you meant: s���, N(���R���t���doPackageListsRœ���RF���t���matchest ���installedt ���availablet���sett���mapt ���fmtKeyValFillR����t���joinRè���R���RB���R ���RC���RD���(���R���Rœ���R��Rè���(����(����R���t���_maybeYouMeant��s�����c���������C���s ��|��i�d�|�g�d�t�ƒ�}�|�i�p�|�i�o�|��i�|�ƒ�o�d�Sn�|��i�i �d�}�|��i�i �d�}�|�i�o0�|��i�i �t�i�i�t�d�ƒ�|�|�|�ƒ�d�Sn�|��i�d�|�g�d�t�ƒ�}�|�i�o:�|�i�o0�|��i�i �t�i�i�t�d�ƒ�|�|�|�ƒ�d�Sn�t�t�d�„��|�i�ƒ�ƒ�}�|�p�|�o,�|��i�i �t�i�i�t�d�ƒ�|�|�|�ƒ�n�|�o>�|��i�t�d �ƒ�d �i�|�ƒ�ƒ�}�|��i�i �t�i�i�|�ƒ�n�d�S(���sr��� If the update/remove argument doesn't match with case, or due to not being installed, tell the user. R_���R ��NRa���Rb���s/���Package(s) %s%s%s available, but not installed.c���������C���s���|��i�S(���N(���RK���R;���(���RK���(����(����R���RM���(��s����s���No package %s%s%s available.s��� * Maybe you meant: s���, (���R���R ��Rœ���Rj���R��R��R ��t���returnInstalledPackagesByDepR‘���R’���t���hibegt���hiendR���RB���R ���RC���RD���R����RF���R��R��t ���always_outputR��R��Rè���(���R���Rœ���R��R��R��R��Rè���(����(����R���t���_checkMaybeYouMeant��s4�����% c���������C���s��t��|��i�ƒ�}�xÄ�|�D]¼�}�|�i�d�ƒ�o-�t�i�i �|�ƒ�o�|��i �d�|�g�ƒ�q�n�y�|��i�d�|�ƒ�Wq�t�i �i�j �oP�|��i�i�t�i�i�t�d�ƒ�|��i�i�d�|�|��i�i�d�ƒ�|��i�|�ƒ�q�Xq�Wt��|��i�ƒ�|�j�o�d�t�d�ƒ�g�f�Sn�d �t�d �ƒ�g�f�S(���s<��Attempts to take the user specified list of packages/wildcards and install them, or if they are installed, update them to a newer version. If a complete version number if specified, attempt to upgrade (or downgrade if they have been removed) them to the specified versions���.rpmt���filelistt���patterns���No package %s%s%s available.Ra���Rb���i���s���Package(s) to installi����s ���Nothing to doN(���R£���R���RÉ���t���oldcountt���userlistRœ���t���endswitht���ost���patht���existst���localInstallt���installR ���R���t���InstallErrorR���RB���RC���RD���R����R‘���R’���R��(���R���R��R��Rœ���(����(����R���t���installPkgs2��s$������# i����c��� ������C���sb��t��|��i�ƒ�}�t��|�ƒ�d�j�o�|��i�ƒ��nÒ�g��}�xB�|�D]:�}�|�i�d�ƒ�o$�t �i �i�|�ƒ�o�|�i�|�ƒ�q=�q=�Wt��|�ƒ�d�j�o8�|��i �d�|�d�d�ƒ�x�|�D]�}�|�i�|�ƒ�q«�Wn�x8�|�D]0�}�|��i�d�|�d�|�ƒ�p�|��i�|�ƒ�qÍ�qÍ�Wt��|��i�ƒ�|�j�o4�t��|��i�ƒ�|�} �t�d�ƒ�| �}�d �|�g�f�Sn�d�t�d �ƒ�g�f�Sd�S(���s[���take user commands and populate transaction wrapper with packages to be updatedi����s���.rpmR��t ���updateonlyi���R��t ���update_tos���%d packages marked for Updatei���s���No Packages marked for UpdateN(���R£���R���RÉ���R��R��t���updatet���localupdatest���itemR��R��R��R��R×���R ��t���removeRœ���R%��R��t���changeR����Rè���( ���R���R��Ri���R%��R(��R��R'��Rœ���Rè���R*��(����(����R���t ���updatePkgsR��s.������#��c���������C���s«���t��|��i�ƒ�}�x8�|�D]0�}�|��i�d�|�ƒ�p�|��i�|�d�t�ƒq�q�Wt��|��i�ƒ�|�j�o4�t��|��i�ƒ�|�}�t �d�ƒ�|�}�d�|�g�f�Sn�d�t �d�ƒ�g�f�Sd�S(���sc���take user commands and populate a transaction wrapper with packages to be erased/removedR��R��s���%d packages marked for removali���i����s���No Packages marked for removalN(���R£���R���RÉ���R��R��Rœ���R)��R��Rj���R*��R����Rè���(���R���R��R��Rœ���Rè���R*��(����(����R���t ���erasePkgsv��s������c���������C���s��t��|��i�ƒ�}�x¾�|�D]¶�}�|�i�d�ƒ�o'�t�i�i �|�ƒ�o�|��i �|�ƒ�q�n�y�|��i�d�|�ƒ�Wq�t�i �i�j �oP�|��i�i�t�i�i�t�d�ƒ�|��i�i�d�|�|��i�i�d�ƒ�|��i�|�ƒ�q�Xq�Wt��|��i�ƒ�|�j�o�d�t�d�ƒ�g�f�Sn�d�t�d �ƒ�g�f�S(���sÆ���Attempts to take the user specified list of packages/wildcards and downgrade them. If a complete version number if specified, attempt to downgrade them to the specified versions���.rpmR��s���No package %s%s%s available.Ra���Rb���i���s���Package(s) to downgradei����s ���Nothing to doN(���R£���R���RÉ���R��R��Rœ���R��R��R��R��t���downgradeLocalt ���downgradeR ���R���t���DowngradeErrorR���RB���RC���RD���R����R‘���R’���R��(���R���R��R��Rœ���(����(����R���t ���downgradePkgs‡��s$������# c���������C���s™��t��|��i�ƒ�}�xG|�D]?}�|�i�d�ƒ�o'�t�i�i �|�ƒ�o�|��i �|�ƒ�q�n�y�|��i�d�|�ƒ�Wq�t�i �i�j �o�|��i�|�d�t�ƒq�t�i �i�j �oj�}�|��i�i�d�|�g�ƒ�d�}�d�}�|��i�i�t�i�i�t�d�ƒ�|��i�i�d�|�|��i�i�d �|�ƒ�q�t�i �i�j �o3�}�t�p �t�d �‚�|��i�i�t�i�i�|�ƒ�q�Xq�Wt��|��i�ƒ�|�j�o�d�t�d�ƒ�g�f�Sn�d�t�d �ƒ�g�f�S(���s^���Attempts to take the user specified list of packages/wildcards and reinstall them. s���.rpmR��R��R_���i����R ���s)���Installed package %s%s%s%s not available.Ra���Rb���s"���Shouldn't happen, but just in casei���s���Package(s) to reinstalls ���Nothing to doN( ���R£���R���RÉ���R��R��Rœ���R��R��R��R��t���reinstallLocalt ���reinstallR ���R���t���ReinstallRemoveErrorR��Rj���t���ReinstallInstallErrorR€���RŠ���R‹���t���ipkgt���xmsgR���RB���RC���RD���R����R‘���R’���t���ReinstallErrort���AssertionError(���R���R��R6��R5��R��Rœ���R€���(����(����R���t ���reinstallPkgs ��s0������# "c���������C���s˜���t��|�ƒ�d�j�o�d�t�d�ƒ�g�f�Sn�t�}�x4�|�D],�}�|��i�|�d�|�ƒ}�|�o �t �}�q7�q7�W|�o�d�t�d�ƒ�g�f�Sn�d�t�d�ƒ�g�f�S(���sl���handles installs/updates of rpms provided on the filesystem in a local dir (ie: not from a repo)i����s���No Packages ProvidedR$��i���s���Package(s) to installs ���Nothing to doN(���R£���R��R����Rj���t ���installingRŒ���R���t���installLocalR$��t���txmbrsRF���(���R���R��R$��R<��R:��RŒ���(����(����R���R ��¿��s������c��� ���������sà��d�d�d�d�d�d�d�g�}�d�}�t�}�t�}�t�|�ƒ�d�j�o†�|�o(�|�d�d�j�o�t�}�|�i �d�ƒ�qÆ�|�o(�|�d�d�j�o�t�}�|�i �d�ƒ�qÆ�|�d�|�j�o�|�i �d�ƒ�}�qÆ�n�ˆ��i�d �|�d �|�d�t�ƒ�}�ˆ��i �i�o�|�i�|�i�7_�n�‡��d�†��}�|�|�i�|�ƒ�|�_�|�|�i�|�ƒ�|�_�|�|�i�|�ƒ�|�_�|�|�i�|�ƒ�|�_�|�|�i�|�ƒ�|�_�|�|�i�|�ƒ�|�_�|�o�|�i�|�_�|�i�|�_�n�|�o �g��|�_�n�|�o �g��|�_�n�|�S(���sœ��Returns packages lists based on arguments on the cli.returns a GenericHolder instance with the following lists defined: available = list of packageObjects installed = list of packageObjects updates = tuples of packageObjects (updating, installed) extras = list of packageObjects obsoletes = tuples of packageObjects (obsoleting, installed) recent = list of packageObjects installed_available = that the available package list is present as .hidden_available when doing any of: all/available/installed R ��R��t���allt���extrast���updatest���recentt ���obsoletesi����t ���pkgnarrowR_���R ��c������������s}���t��|��ƒ�d�j�ob�t��|�ƒ�d�j�oO�ˆ��i�i�t�i�i�t �d�ƒ�ƒ�t �|��|�ƒ�\�}�}�}�t�i�i�|�|�ƒ�Sn�|��Sd��S(���Ni����s/���Matching packages for package list to user args(���R£���t���lstR���R���R���RB���R ���RC���t���DEBUG_1R����t ���parsePackagest ���exactmatcht���matchedt ���unmatchedRO���RP���(���RC��R���RF��RH��RG��(���R���(����R���t���_shrinklistý��s����& N(���t���specialRB��Rj���t���done_hidden_availablet���done_hidden_installedR£���R¥���t���installed_availableRF���t���popR���R ��t���yplR���t���showdupesfromreposR ��t���reinstall_availableRI��R?��R��R@��R>��RA��t���hidden_availablet���hidden_installed( ���R���R¥���RM��RK��RO��RI��RJ��RB��RL��(����(���R���R���t���returnPkgListsÕ��sB���� � c���������C���sB��d�d�d�d�g�}�|��i�i�}�t�t�|�ƒ�}�|��i�|�|�d�|�d�t �ƒ} �t�ƒ��}�t�ƒ��}�x�| �D]w�\�}�}�}�|�|�j�oH�|�o �d�GHn�|��i�d�d �i�t�|�ƒ�ƒ�ƒ�GH|�}�|�i�|�ƒ�n�|��i�|�|�|�ƒ�qd�Wx8�|�D]0�} �| �|�j�o�|��i�i�t�d �ƒ�| �ƒ�qæ�qæ�W|�p�d�t�d�ƒ�g�f�Sn�d�| �f�S(���sg���cli wrapper method for module search function, searches simple text tags in a package objectR;���RU���t���descriptiont���urlt���showdupst���keysR ���s ���Matched: s���, s!���Warning: No matches found for: %si����s���No Matches foundN(���t ���searchlistR���R���RP��t���dupsR��R÷���R���t���searchGeneratorRF���t���matchingR��t���okeyst���akeysRÖ���RX��t ���matched_valuet ���fmtSectionR��R‰���R&��t ���matchcallbackRœ���R���t���warningR����(���R���R���R]��RY��RZ��RX��R^��RÖ���R_��Rœ���R\��(����(����R���t���search��s0����� � !� !c��� ������C���sÉ���g��}�x¶�|�D]®�}�|�i�d�ƒ�o<�t�i�i�|�ƒ�o)�t�i�i �|��i�|�ƒ�}�|�i �|�ƒ�nA�|��i�i�|�g�ƒ�\�}�} �}�x�|�| �D]�}�|�i �|�ƒ�qˆ�W|��i�|�ƒ�}�|��i�|�ƒ�q �Wd�g��f�S(���s}���cli wrapper method for findDeps method takes a list of packages and returns a formatted deplist for that packages���.rpmi����N(���R��R���Rœ���R��R��R��R��R ���t���packagest���YumLocalPackageR���RØ���t���thispkgR×���t���pkgSackt���matchPackageNamest���ematcht���matcht���unmatchRÖ���t���findDepst���resultst ���depListOutput( ���R���R���Rk��Rf��Rm��Ri��R��Rœ���RÖ���Rj��(����(����R���t���deplist7��s������#�c������ ���C���s��|��i�i�}�t�|��i�_�|��i�}�|��i�|�d�|�d�t�ƒ}�|�|��i�_�t �|�ƒ�d�j�ož�xŠ�|�D]‚�}�d�|�j�p�|�o�|�d�d�j�o�qb�n�|��i�i �t�d�ƒ�|��i�i�d�|�|��i�i�d�|��i�i�d�|�|��i�i�d�ƒ�qb�Wd�d �g�f�Sn�d�g��f�S(���s§���use the provides methods in the rpmdb and pkgsack to produce a list of items matching the provides strings. This is a cli wrapper to the modulet���callbackt���callback_has_matchfori����t���*t���/sŒ���Warning: 3.0.x versions of yum would erroneously match against filenames. You can use "%s*/%s%s" and/or "%s*bin/%s%s" to get that behaviourRa���Rb���s���No Matches foundN(���R���R���RP��t���old_sdupRF���t���matchcallback_verboseRÈ���t���searchPackageProvidesR���R\��R£���Rœ���R���Rb��R����R‘���R’���(���R���R���RÈ���Rt��Rœ���R\��(����(����R���t���providesJ��s&����� �% c���������C���s›���xŽ�|�D]†�}�y�|��i�|�ƒ�}�Wn2�t�i�i�j �o �|��i�i �t �d�ƒ�|�ƒ�q�Xd�|�i�|�i�|�i �|�i�|�i�f�}�|��i�i�|�ƒ�q�Wd�g��f�S(���sB���returns a package (one per user arg) that provide the supplied args���No Package Found for %ss���%s:%s-%s-%s.%si����N(���R���Rœ���R���t���returnPackageByDepRŒ���R ���R���R���R���R���R����R���R;���Rg���RŽ���R���Rè���R���RÊ���(���R���R���RŒ���Rœ���Rè���(����(����R���t ���resolveDepClid��s������(c���������C���sÑ��d�} �}�}�}�}�g��}�} �}�}�}�d�|�j�oÊ�|��i�i �t�i�i�t�d�ƒ�ƒ�|��i�ƒ��\�}�}�|��i�ƒ��\�} �} �|��i�ƒ��\�}�}�|��i�ƒ��\�}�}�|��i�i�d�ƒ�| �|�|�|�} �| �|�|�|�}�x�|�D]�}�|��i�i�|�ƒ�qÛ�W| �g��f�Sn�d�|�j�o,�|��i�i�t�d�ƒ�ƒ�|��i�ƒ��\�} �} �n�d�|�j�o,�|��i�i�t�d�ƒ�ƒ�|��i�ƒ��\�}�}�n�d �|�j�o,�|��i�i�t�d �ƒ�ƒ�|��i�ƒ��\�}�}�n�d�|�j�p �d �|�j�o,�|��i�i�t�d�ƒ�ƒ�|��i�ƒ��\�}�}�n�d �|�j�p �d �|�j�o,�|��i�i�t�d�ƒ�ƒ�|��i�ƒ��\�}�}�n�d�|�j�o*�|��i�i�t�d�ƒ�ƒ�|��i�i�d�ƒ�n�| �|�|�|�|�} �| �|�|�|�|�}�x'�|�D]�}�|��i�i �t�i�i�|�ƒ�q¤W| �g��f�S(���Ni����R=��s���Cleaning up Everythingt���cleant���headerss���Cleaning up HeadersRd��s���Cleaning up Packagest���metadatas���Cleaning up xml metadatat���dbcaches���Cleaning up database caches���expire-caches!���Cleaning up expire-cache metadataRv���s���Cleaning up plugins(���t���hdrcodet���pkgcodet���xmlcodet���dbcodet���expccodet ���pkgresultst ���hdrresultst ���xmlresultst ���dbresultst���expcresultsR��R���R���RB���R ���RC���RD���R����t ���cleanPackagest���cleanHeaderst ���cleanMetadatat���cleanSqliteRv���t���runt���codeRm��Rè���R���R ���t���cleanExpireCache(���R���R��R��R‚��R€��R†��R��Rƒ��Rm��R~��R��R‡��Rè���R„��R…��(����(����R���t���cleanClir��sP���� � �c���������C���s×��d�}�t�|�ƒ�d�j�o,�|�d�d�j�o�d�}�|�i�d�ƒ�qE�n�|�p �d��}�n�|��i�d�|�d�|�ƒ�\�}�}�t�|�ƒ�d�j�o•�|��i �i �t�i�i �t�d�ƒ�ƒ�xs�|�D]g�}�|��i �i�t�i�i�ƒ�o)�|��i �i �t�i�i �d�|�i�|�i�ƒ�q�|��i �i �t�i�i �d�|�i�ƒ�q�Wn�t�|�ƒ�d�j�o•�|��i �i �t�i�i �t�d �ƒ�ƒ�xs�|�D]g�}�|��i �i�t�i�i�ƒ�o)�|��i �i �t�i�i �d�|�i�|�i�ƒ�qU|��i �i �t�i�i �d�|�i�ƒ�qUWn�d�t�d �ƒ�g�f�S(���Ni���i����t���hiddent���uservisibleR_���s���Installed Groups:s ��� %s (%s)s��� %ss���Available Groups:t���Done(���R‘��R£���R��RN��RA���R���t���doGroupListsR��R ��R���RB���R ���RC���RD���R����R¶���RÍ���t���DEBUG_3t���ui_namet���groupid(���R���R��R ��R¶���R‘��R��(����(����R���t���returnGroupLists��s@���� � � c���������C���su���xh�|�D]`�}�t�}�x-�|��i�i�|�ƒ�D]�}�|��i�|�ƒ�t �}�q&�W|�p�|��i �i�t�d�ƒ�|�ƒ�q�q�Wd�g��f�S(���s0���returns complete information on a list of groupss!���Warning: Group %s does not exist.i����N( ���R��t���strngRj���t ���group_matchedR���t���compst ���return_groupsR¶���t���displayPkgsInGroupsRF���R���Râ���R����(���R���R��R™��R˜��R¶���(����(����R���t���returnGroupInfoÅ��s������� !c���������C���s��g��}�x¹�|�D]±�}�t�}�x{�|��i�i�|�ƒ�D]g�}�t �}�y�|��i �|�i�ƒ�}�Wn5�t �i�i�j �o#�|��i�i�t�d�ƒ�|�ƒ�q,�q,�X|�i�|�ƒ�q,�W|�p �|��i�i�t�d�ƒ�|�ƒ�q �q �q �W|�p�d�t�d�ƒ�g�f�Sn�d�t�d�ƒ�t�|�ƒ�g�f�Sd�S(���s2���for each group requested do 'selectGroup' on them.s!���Warning: Group %s does not exist.i����sA���No packages in any requested group available to install or updatei���s���%d Package(s) to InstallN(���t ���pkgs_usedt ���grouplistt���group_stringRj���R™��R���Rš��R›��R¶���RF���t���selectGroupR–��R<��R ���R���t���GroupsErrorR���R���R����t���extendRâ���R£���(���R���RŸ��R™��Rž��R<��R ��R¶���(����(����R���t ���installGroupsÒ��s(�������c���������C���s®���g��}�xf�|�D]^�}�y�|��i�|�ƒ�}�Wn5�t�i�i�j �o#�|��i �i �t�d�ƒ�|�ƒ�q �q �X|�i�|�ƒ�q �W|�p�d�t�d�ƒ�g�f�Sn�d�t�d�ƒ�t �|�ƒ�g�f�Sd�S(���s;���Remove only packages of the named group(s). Do not recurse.s���No group named %s existsi����s!���No packages to remove from groupsi���s���%d Package(s) to removeN(���Rž��RŸ��R ��R���t���groupRemoveR<��R ���R���R¢��R���R���R����R£��R£���(���R���RŸ��Rž��R<��R ��(����(����R���t���removeGroupsî��s������c���������C���s}���|��i�i�o�t�Sn�|��i�i�o�t�Sn�xL�|��i�i�ƒ��D];�}�|�i �p#�|�i �d�j�p�|�i�|��i�j�o�t�Sq:�q:�Wt�S(���NR€���( ���R���R���RÏ���Rj���t���alwayspromptRF���RÉ���RÓ���RÔ���t���isDepRÕ���R;���R¥���(���R���RÔ���(����(����R���RÛ�����s���� �-c���������C���s���t��i�i�|��i�i�ƒ��ƒ�d�S(���s��� Print out command line usage N(���R���t���stdoutt���writeR���Rd���t���format_help(���R���(����(����R���RN�����s�����c���������C���s���t��i�i�|��i�i�ƒ��ƒ�d�S(���s��� Print out the shell usage N(���R���R©��Rª��R���Rd���t ���get_usage(���R���(����(����R���t ���shellUsage��s�����c���������C���sÌ��|��i�i�}�|��i�i�d�|�ƒ�o*�|��i�i�t�i �i �t�d�ƒ�|�ƒ�t�Sn�|��i�i �d�|�i�ƒ�}�g��}�xx�|�D]p�}�t�i�i�|�i�ƒ�t�i�i�|�i�ƒ�j�o�|�i�|�ƒ�qq�|��i�i�t�i �i �t�d�ƒ�|�i�|�i�ƒ�qq�qq�Wt�|�ƒ�d�j�o§�xÍ�|�D]˜�}�|�i�|�ƒ�o7�|�i�|�j�o�|�i�|�i�j�o�t�SqHq—t�Sqÿ�|�i�|�ƒ�o�t�Sqÿ�|�i�|�ƒ�o#�|�o�|��i�|�ƒ�o�t�Sq—qÿ�qÿ�Wn*�|��i�i�t�i �i�t�d�ƒ�|�i�ƒ�t�St�S(���s:���check if the package is reasonably installable, true/falseRÖ���s)���Package %s is already installed, skippingR;���s#���Discarding non-comparable pkg %s.%si����s;���No other %s installed, adding to list for potential installN(���R���R���t ���exactarchlistRŠ���t���containsRŒ���R���RB���R ���RC���R”��R����Rj���t���searchNevraR;���t���installedByKeyt ���comparablet���instpot���rpmUtilsR���t���isMultiLibArchR×���R£���t���verGTRF���t���verEQt���verLTRi��t���allowedMultipleInstallsRD��(���R���RŒ���Ri��R²��R®��R³��R±��(����(����R���t���_installable��s>������+�%('���R���R���R���R ���R���RA���RI���RX���RŸ���R���R®���R¹���RÁ���R��Rã���R��RF���R��R#��Rj���R+��R,��R0��R9��R ��RT��Rc��Ro��Rw��Ry��R��R—��R��R¤��R¦��RÛ���RN���R��Rº��(����(����(����R���R���?���sD���� " d ! ‰ " $ A ! + ( Rc���c�����������B���s_���t��Z�d��Z�d�„��Z�d�„��Z�d�„��Z�e�d�„��ƒ�Z�e�d�„�Z �d�„��Z �d�„��Z�d�„��Z�RS( ���s\���Subclass that makes some minor tweaks to make OptionParser do things the "yum way". c���������K���s���d�|�j�o�|�d�|��_�|�d�=n �t�|��_�t�i�|��|��t�i�d�ƒ�|��_�|�|��_ �t �|��t�d�ƒ�ƒ�|��_�|��i �|��i�ƒ�|��i�ƒ��d��S(���Nt���utilss���yum.clis���Plugin Options(���t���kwargsR���t���_utilsRj���t���OptionParserR ���R���R���R���RY���t���OptionGroupR����t���plugin_option_groupt���add_option_groupt���_addYumBasicOptions(���R���RY���R¼��(����(����R���R ���W��s���� c���������C���s4���|��i�ƒ��|��i�i�t�d�ƒ�|�ƒ�t�i�d�ƒ�d�S(���s?���This method is overridden so that error output goes to logger. s���Command line error: %si���N(���R���t���print_usageR���R���R����Rè���R���R���(���R���Rè���(����(����R���Râ���f��s����� c���������C���sy���y�t��d�d�|�ƒ�}�WnL�t�j �o@�}�|��i�i�ƒ��t�i�t �d �ƒ�d�|�f�IJt�i �d�ƒ�n�X|��i�d�|�ƒ�d�S(���Ns���--nopluginss ���--versions���-qs���-vs���--quiets ���--verboses���-cs���-ds���-es ���--installroots���--disableplugins���--enableplugins$��� %s: %s option requires an arguments���Command line errori���R���i����(���s���--nopluginss ���--versions���-qs���-vs���--quiets ���--verbose(���s���-cs���-ds���-es ���--installroots���--disableplugins���--enableplugin(���t���_filtercmdlineR���R‚���Rœ���R���RY���RN���R���R���R����R���t ���parse_args(���R���R���Rœ���(����(����R���Re���l��s���� c���������C���s:���g��}�x-�|��D]%�}�|�i�|�i�d�d�ƒ�i�ƒ��ƒ�q �W|�S(���sR��� Split all strings in seq, at "," and whitespace. Returns a new list. t���,t��� N(���t���rett���seqRœ���R£��t���replacet���split(���RÉ��RÈ��Rœ���(����(����R���Rz���{��s������#c��� ������C���s÷��|�d��j �o�|��i�ƒ��\�}�} �n�|��i�d�|�ƒ�\�}�} �|��i�i�i�|�| �ƒ�yQ|�i �o�d�|��i�i �_ �n�|�i�o�d�|��i�i �_�nl�|��i�i �i �d�j�oU�t�i�i�ƒ��} �| �d��j�o�d�|��i�i �_�qù�| �|��i�i �_�|��i�i�i�| �ƒ�n�|�i�o�d�|��i�i �_�n�|�i�o�|�i�|��i�i �_�n�|�i�o�t�|��i�i �_�n�|�i�o�t�|��i�i �_�n�|�i�d�j�o�t�t�d �ƒ�‚�nö�|�i�d��j�o=�|��i�i �i�d�j�o#�|��i�i�i�d�|��i�i �i�ƒ�qˆn©�h��d�d�<d�d�<d�d�<d�d�<d �d�<d�d�<d�d�<d�d�<d �d�<d�d�<}�|�i �|�i�|�i�ƒ�|�_�|�i�d�j�o�|��i�i�i�d�|�i�ƒ�n�|�i!�o�|��i"�|�i!�ƒ�}�n�g��}�|�|��i�i �_#�x‘�|��i"�|�i$�ƒ�D]}�}�y/�|��i�i �i$�}�|�i&�|�ƒ�|�|��i�i �_$�WqÐt�i'�i(�j �o3�}�|��i*�i+�|�ƒ�|��i�i,�ƒ��t-�i.�d�ƒ�qÐXqÐW|��i�i/�ƒ��|��i�i0�ƒ��x«�|�i�D] �\�}�}�yL�|�d�j�o�|��i�i�i3�|�ƒ�n%�|�d�j�o�|��i�i�i4�|�ƒ�n�Wqut�i'�i(�j �o3�}�|��i*�i+�|�ƒ�|��i�i,�ƒ��t-�i.�d�ƒ�quXquWt5�|�i�ƒ�d�j�o�|��i�i6�d�t�ƒ�n�|�i7�oQ�t8�|��i�i �_9�t8�|��i�i �_:�x0�|��i�i�i;�ƒ��D]�}�t8�|�_9�t8�|�_:�qWn�WnH�t�j �o<�}�|��i*�i+�t�d�ƒ�|�ƒ�|��i�i,�ƒ��t-�i.�d�ƒ�n�X|�| �f�S(���NR���i���i����t���autot���alwayst���nevert���ttys���if-ttyt���yest���not���ont���offs)���--color takes one of: auto, always, nevert���colort���1t���trueR`���t���falses���--enablerepos ���--disablerepoR?���s���Options Error: %s( ���NRÌ��s���alwaysRÎ��RÏ��s���if-ttyRÐ��RÑ��RÒ��RÓ��(=���R���RA���R���RÅ��Rf���R…���RY���Rv���t ���setCmdLineRÏ���R���t ���cacheonlyR†���t���uidR ���RO���t���getCacheDirt���cachedirt���repost���setCacheDirRA��R¢���t ���skipbrokenRF���t���skip_brokenRP��RÔ��R‚���R����R‘���t���reinitt���_remapt���gett���disableexcludesRz���t���disable_excludest���excludet���excludelistR×���R���R=���R€���R���R���RN���R���R���t���setupProgressCallbackst���setupKeyImportCallbackst���optt���repoexpt ���enableRepot���disableRepoR£���RE���t ���nogpgcheckRj���t���gpgcheckt ���repo_gpgcheckt���listEnabledt���repo( ���R���R���Rê��R€���Rë��Rò��Rç��Râ��Rå��R…���RÜ��Ræ��Rf���(����(����R���R„���„��s’���� '` � � � c���������C���s¥���|�i�o‘�t�i�|�i�d�|�i�t�i�ƒ�o�|�i�d�|�i�|�_�nF�|�i�d�j�o5�t�i�|�i�d�t�i�ƒ�o�|�i�d�|�_�qŽ�n�|�i�}�n�d�}�|�S(���NRs��s���/etc/yum/yum.confs ���/etc/yum.conf(���Rf���R¢���R��t���accessRr���t���R_OKRm���(���R���Rf���Rm���(����(����R���Rl���ò��s���� $ c���������O���s���|��i�i�ƒ��|��i�ƒ��d��S(���N(���R���RY���RN���R���(���R���Rê��t���valuet���parserR���R¼��(����(����R���t���_wrapOptParseUsage��s���� c���������C���s?��d�„��}�|��i�o �t�|��d�ƒ�}�|��i�|�ƒ�n�|��}�d�|�_�|�i�d�d�d�d�d�|��i�d�t �d �ƒ�ƒd �|�_�|�i�d�d�d�d �d�t �d�ƒ�ƒ|�i�d�d�d�d�d �d�t �d�ƒ�ƒ|�i�d�d�d�d�d�d�t �d�ƒ�d�d�ƒ|�i�d�d�d�d�d�d�d��d�t �d�ƒ�d�d�ƒ|�i�d �d�d!�d�d��d�t �d"�ƒ�d�d�d�d#�ƒ|�i�d$�d�d%�d�d �d�t �d&�ƒ�ƒ|�i�d'�d�d(�d�d��d�t �d)�ƒ�d�d�d�d*�ƒ|�i�d+�d,�d�d-�d�d �d�t �d.�ƒ�ƒ|�i�d/�d0�d�d1�d�d �d�t �d2�ƒ�ƒ|�i�d3�d�d4�d�d �d�t �d5�ƒ�ƒ|�i�d6�d�d �d�t �d7�ƒ�ƒ|�i�d8�d�t �d9�ƒ�d�d:�ƒ|�i�d;�d�d�d�d<�d�|�d�d=�d�g��d�t �d>�ƒ�d�d?�ƒ|�i�d@�d�d�d�d<�d�|�d�d=�d�g��d�t �dA�ƒ�d�d?�ƒ|�i�dB�dC�d�g��d�dD�d�t �dE�ƒ�d�dF�ƒ|�i�dG�dH�d�g��d�dD�d�t �dI�ƒ�d�d?�ƒ|�i�dJ�d�d �d�t �dK�ƒ�ƒ|�i�dL�d�d �d�t �dM�ƒ�ƒ|�i�dN�d�d �d�t �dO�ƒ�ƒ|�i�dG�dP�d�dQ�d�g��d�dD�d�t �dR�ƒ�d�dS�ƒ|�i�dG�dT�d�dU�d�g��d�dD�d�t �dV�ƒ�d�dS�ƒ|�i�dW�d�d �d�dX�d�t �dY�ƒ�ƒ|�i�dG�dZ�d�d[�d�d��d�t �d\�ƒ�ƒd��S(]���Nc���������C���s*���t��d�|��i�ƒ�}�|�i�|�|�f�ƒ�d�S(���s¼���Callback for the enablerepo and disablerepo option. Combines the values given for these options while preserving order from command line. s���parser.values.%sN(���t���evalt���optobjt���destR×���Rê��Rõ��(���Rù��Rê��Rõ��Rö��Rú��(����(����R���t ���repo_optcb��s�����s���Yum Base Optionst���resolves���-hs���--helpt���actionRp��t���helps���show this help message and exitRâ���s���-ts ���--tolerantt ���store_trues���be tolerant of errorss���-CRú��RÙ��s+���run entirely from cache, don't update caches���-cRr���t���defaults���/etc/yum/yum.confs���config file locationt���metavars��� [config file]s���-RR˜���t���typeR·���s���maximum command wait times ��� [minutes]s���-dRn���s���debugging output levels��� [debug level]s���--showduplicatesRP��s2���show duplicates, in repos, in list/search commandss���-eRo���s���error output levels��� [error level]s���-qs���--quietRi���s���quiet operations���-vs ���--verboseRk���s���verbose operations���-yRÏ���s���answer yes for all questionss ���--versions���show Yum version and exits ���--installroots���set install roots���[path]s���--enablerepot���stringRÝ��s3���enable one or more repositories (wildcards allowed)s���[repo]s ���--disablerepos4���disable one or more repositories (wildcards allowed)s���-xs ���--excludeR×���s"���exclude package(s) by name or globs ���[package]R ���s���--disableexcludess7���disable exclude from main, for a repo or for everythings���--obsoletess*���enable obsoletes processing during updatess���--nopluginss���disable Yum pluginss���--nogpgchecks���disable gpg signature checkings���--disablepluginR{���s���disable plugins by names���[plugin]s���--enablepluginR}���s���enable plugins by names ���--skip-brokenRß��s&���skip packages with depsolving problemss���--colorRÔ��s���control whether color is used(���Rû��R���R½��R¿��R¶���RÁ��t���conflict_handlert ���add_optionR÷��R����RA���(���R���R¶���Rû��(����(����R���RÂ����s„���� ( ���R���R���R���R ���Râ���Re���t���staticmethodRz���RA���R„���Rl���R÷��RÂ��(����(����(����R���Rc���R��s���� n c���������C���s[��g��}�t�|�ƒ�}�xBt�|�ƒ�d�j�o.|�i�d�ƒ�}�d�|�j�o:�|�i�d�d�ƒ�\�}�}�|�|�j�o�|�i �|�ƒ�qRq�|�|��j�o�|�i �|�ƒ�q�|�|�j�od�t�|�ƒ�d�j��o �t�|�‚�n�|�i�d�ƒ�}�|�d�d�j�o �t�|�‚�n�|�i�|�|�g�ƒ�q�xB�|�D]:�}�t�|�ƒ�d�j�o!�|�i�|�ƒ�o�|�i �|�ƒ�qqWq�W|�S(���s€��Keep only specific options from the command line argument list This function allows us to peek at specific command line options when using the optparse module. This is useful when some options affect what other options should be available. @param novalopts: A sequence of options to keep that don't take an argument. @param valopts: A sequence of options to keep that take a single argument. @param args: The command line arguments to parse (as per sys.argv[:1] @return: A list of strings containing the filtered version of args. Will raise ValueError if there was a problem parsing the command line. i����t���=i���t���-i���N(���t���outt���listR���R£���RN��t���aRË��Rê��R����t���valoptsR×���t ���novaloptsR‚���t���nextR£��t ���startswith(���R ��R��R���R��Rê��R��R����R ��(����(����R���RÄ��Y��s0���� �� �#((���R���R��R¯���R���R[���R™���R���t���optparseR¾��R¿��RZ���R���R§���R ���t ���yum.Errorst���yum.logginglevelst���yum.misct���yum.pluginst ���rpmUtils.archR´��t���rpmUtils.miscutilst���yum.packagesRE��R����t���yum.rpmtransRï���R���R ���t���yum.i18nR÷���Ré���R���R���R���R���R���R���R���Rc���RÄ��(���R÷���R™���Ré���RZ���R���Rï���R ���R¯���R���R¾��R§���R���RE��R���R¿��R����R���R���Rc���R ���R[���R���R´��RÄ��R��(����(����R���t���?���sB��� ÿ�ÿ�ÿ�ÿ�ÿ�