File Manager
Upload
Current Directory: /home/lartcid/public_html/journal.lartc.id
[Back]
..
[Open]
Hapus
Rename
.htaccess
[Edit]
Hapus
Rename
.well-known
[Open]
Hapus
Rename
README.md
[Edit]
Hapus
Rename
api
[Open]
Hapus
Rename
cache
[Open]
Hapus
Rename
cgi-bin
[Open]
Hapus
Rename
classes
[Open]
Hapus
Rename
config.TEMPLATE.inc.php
[Edit]
Hapus
Rename
config.inc.php
[Edit]
Hapus
Rename
controllers
[Open]
Hapus
Rename
cypress.json
[Edit]
Hapus
Rename
dbscripts
[Open]
Hapus
Rename
docs
[Open]
Hapus
Rename
error_log
[Edit]
Hapus
Rename
favicon.ico
[Edit]
Hapus
Rename
index.php
[Edit]
Hapus
Rename
js
[Open]
Hapus
Rename
lib
[Open]
Hapus
Rename
locale
[Open]
Hapus
Rename
mini.php
[Edit]
Hapus
Rename
pages
[Open]
Hapus
Rename
php.ini
[Edit]
Hapus
Rename
plugins
[Open]
Hapus
Rename
public
[Open]
Hapus
Rename
registry
[Open]
Hapus
Rename
scheduledTaskLogs
[Open]
Hapus
Rename
schemas
[Open]
Hapus
Rename
styles
[Open]
Hapus
Rename
templates
[Open]
Hapus
Rename
tools
[Open]
Hapus
Rename
Edit File
� �v_c�����������@���s(��d��Z��d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d����Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l �Z �d�d�l �Z �d�d�l�Z�d�d�l�Z�d�d�l �Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�e�j�j�a�d����Z�e�j�j�a�d����Z�d�d�l�Z�d�d�l�m�Z�m�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�m �Z �m!�Z!�m"�Z"�m#�Z#�d�d�l$�m%�Z%�d�d�l&�Z�d�d�l'�Z'�d�d�l(�Z(�d�d �l)�m*�Z*�d�d�l+�Z+�d�d �l,�m-�Z-�m.�Z.�d�d�l/�Z/�d�d�l0�Z0�d�d�l1�m2�Z2�m3�Z3�d�d�l4�m5�Z5�d�d �l6�m7�Z7�m8�Z8�m9�Z9�d�d�l:�Z:�d�d�l;�Z;�d�d�l<�Z<�d�d�l=�Z=�d�d�l>�Z>�d�d�l?�Z�d�d�l@�Z�d�d�l@�mA�ZA�mB�ZB�d�d�lC�Z�d�d�lD�ZD�d�d�lE�ZE�eE�jF�d�e�jG���d�d�lH�mI�ZI�mJ�ZJ�d�d�lH�mK�ZK�mL�ZL�mM�ZM�d�d�lH�mN�ZN�mO�ZO�d�d�lP�Td�d�lQ�mR�ZR�mS�ZS�d�d�l�mT�ZT�mU�ZU�mV�ZV�d�d�lW�mX�ZX�mY�ZY�d�d�lZ�ZZ�d�d�l[�m\�Z[�d�d�l1�m]�Z]�d�Z^�e_�g��e^�j`�d���D]�Za�eb�ea���^�q���Zc�e]�jd�je�d�e^�7_e�d�d$�d�������YZf�d�d%�d�������YZg�d �d&�d!�������YZh�d"�e:�ji�f�d#�������YZj�d�S('���s��� The Yum RPM software updater. i����Nc���������C���sX���t��t�d���s�d�Sy6�t�g��t�j�D]�}�t�|���^�q#���}�|�|��k�SWn�d�SXd�S(���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(���t���hasattrt���rpmt���Nonet���tupleR����t���int(���t���vertupt���numt���vi(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_rpm_ver_atleast���s����(c����������O���s ���t��|��|����S(���N(���t���_wrap_yum_i18n__(���t���argst���kwargs(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_5���s����c����������O���s ���t��|��|����S(���N(���t���_wrap_yum_i18n_P_(���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���P_8���s����(���t���ParsingErrort���ConfigParser(���t���archDifferencet���canCoinstallt���ArchStoraget���isMultiLibArch(���t ���compareEVR(���t���RepoStorage(���t���ConfigPreProcessort ���varReplace(���t ���URLGrabbert���URLGrabError(���t ���format_number(���t���packagesNewestByNamet���packagesNewestByNameArcht���ListPackageSack(���t���LibLVMErrort ���lvmerr2strt���ignore(���t ���parsePackagest���comparePoEVR(���t���YumAvailablePackaget���YumLocalPackaget���YumInstalledPackage(���t ���YumUrlPackaget���YumNotFoundPackage(���t���*(���t���RPMTransactiont���SimpleCliCallBack(���t ���to_unicodet���to_strt ���exception2msg(���t ���DeltaInfot���DeltaPackage(���t���proxy(���t���default_grabbers���3.4.3t���.s��� yum/t���_YumPreBaseConfc�����������B���s���e��Z�d��Z�d����Z�RS(���sD��This 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. c���������C���s����d�|��_��d�|��_�t�|��_�t�j�f�|��_�d��|��_�d��|��_ �d��|��_ �d��|��_�d��|��_�d��|��_ �d��|��_�d��|��_�d��|��_�d��|��_�d��|��_�d��S(���Ns���/etc/yum/yum.conft���/(���t���fnt���roott���Truet���init_pluginst���pluginst ���TYPE_COREt���plugin_typesR���t ���optparsert ���debuglevelt ���errorlevelt���disabled_pluginst���enabled_pluginst���syslog_identt���syslog_facilityt ���syslog_devicet���archt ���releasevert���uuid(���t���self(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���__init__z���s���� (���t���__name__t ���__module__t���__doc__RJ���(����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR5���s���s���t���_YumPreRepoConfc�����������B���s���e��Z�d��Z�d����Z�RS(���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. c���������C���s^���d��|��_�d��|��_�d��|��_�d��|��_�d��|��_�d��|��_�d��|��_�d��|��_�d��|��_ �d��|��_ �d��S(���N(���R���t���progressbart���multi_progressbart���callbackt���failure_callbackt���interrupt_callbackt���confirm_funct���gpg_import_funct���gpgca_import_funct���cachedirt���cache(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRJ�������s���� (���RK���RL���RM���RJ���(����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRN�������s���t���_YumCostExcludec�����������B���s ���e��Z�d��Z�d����Z�d����Z�RS(���sW��� This excludes packages that are in repos. of lower cost than the passed repo. c���������C���s"���t��|���|��_�t��|���|��_�d��S(���N(���t���weakreft���repot���_repos(���RI���R[���t���repos(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRJ�������s����c���������C���sM���xF�|��j��j����D]5�}�|�j�|��j�j�k�r/�Pn��|�|�j�j�k�r�t�Sq�Wt�S(���N(���R\���t���listEnabledt���costR[���t���sackt���_pkgtup2pkgsR9���t���False(���RI���t���pkgtupR[���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���__contains__����s����(���RK���RL���RM���RJ���Rd���(����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRY�������s��� t���YumBasec�������� ���B���sP ��e��Z�d��Z�d����Z�d����Z�d����Z�d����Z�d�d���Z�d�d�e�e �j �f�e�e�e�d ���Z�d ����Z �e�e�d�d���Z�d ����Z�e�e�d���Z�d����Z�d����Z�d����Z�e�e�e�e�e�e�d���Z�d����Z�d����Z�d����Z�d����Z�e�d���Z�e�e�d���Z�d����Z�e�e�d���Z�e�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)�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���Z0�e*�d'�dB����d)�dC����d+�dD����d-�dE���Z1�e*�d'�dF����d)�dG����d+�dH����d-�dI���Z2�e*�d'�dJ����d)�dK����d+�dL����d-�dM���Z3�e*�d'�dN����d)�dO����d+�dP����d-�dQ���Z4�e*�d'�dR����d)�dS����d+�dT����d-�dU���Z5�e*�d'�dV����d)�dW����d+�dX����d-�dY���Z6�e*�d'�dZ����d)�d[����d+�d\����d-�d]���Z7�d^����Z8�d_����Z9�e�d`���Z:�e�da���Z;�db����Z<�dc����Z=�i��e�dd���Z>�i��e�de���Z?�df����Z@�dg����ZA�dh����ZB�di����ZC�dj����ZD�dk����ZE�dl����ZF�dm����ZG�dn����ZH�do����ZI�e�e�e�e�g��dp���ZJ�dq����ZK�e�e�dr���ZL�ds����ZM�e�dt���ZN�du����ZO�eP�dv���ZQ�e�dw���ZR�eS�dx�dy�dz�����ZT�eS�d{������ZU�eS�d|������ZV�d}����ZW�d~����ZX�e�e�d���ZY�d�����ZZ�d�����Z[�d�����Z\�d�����Z]�d�����Z^�d�����Z_�d�����Z`�d�����Za�d�����Zb�d�����Zc�d�����Zd�d�����Ze�d�����Zf�d��e�e�e�e�d����Zg�d�����Zh�e�e�e�e�d����Zi�d�����Zj�e�d����Zk�e�e�d����Zl�d�����Zm�d�����Zn�e�e�d����Zo�d�e�e�e�d����Zp�d�����Zq�d�����Zr�d�����Zs�g��e�e�e�d����Zt�e�d����Zu�g��e�e�d����Zv�e�d����Zw�e�d����Zx�d�����Zy�d�����Zz�d�����Z{�d�����Z|�d�����Z}�d�����Z~�e�d����Z�e�e�e�d����Z��d�����Z��d�����Z��d�����Z��e�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��e�d����Z��d�����Z��d�����Z��d�����Z��e�e�e�d����Z��e�d����Z��e�e�d����Z��e�d����Z��e�d����Z��e�d����Z��d�����Z��e�d����Z��eS�d�������Z��d�����Z��e�e�d����Z��d�����Z��d�����Z��e�e�d����Z��d��d����Z��e�e�d����Z��e�e�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��g��e�d����Z��e�e�e�d��d����Z��d�����Z��d�����Z��d�����Z��e�e�d����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. c���������C���sb��t��j�j�|����d��|��_�d��|��_�d��|��_�d��|��_�d��|��_�d��|��_ �d��|��_ �d��|��_�d��|��_�d��|��_ �d��|��_�d��|��_�d��|��_�g��|��_�i��|��_�i��|��_�t�j�d���|��_�t�j�d���|��_�t�j�d���|��_�t�|��_�t�|����|��_�i��|��_�|��j����g��|��_�d��|��_ �t!����|��_"�t#����|��_$�t%����|��_&�t'����|��_(�g��|��_)�d�|��_*�i��|��_+�d��S(���Ns���yum.YumBases���yum.verbose.YumBases���yum.filelogging.YumBasei����(,���t���depsolvet���DepsolveRJ���R���t���_conft���_tsInfot���_rpmdbt���_upt���_compst���_historyt���_igroupst���_pkgSackt ���_lockfilet���_tagst���_upinfot���_fssnapt ���_ts_save_filet���skipped_packagest���_not_found_at���_not_found_it���loggingt ���getLoggert���loggert���verbose_loggert���file_loggerRb���t���_override_sigchecksR���R\���t���repo_setoptst���disablePluginst ���localPackagest���mediagrabberR���RF���R5���t���preconfRN���t���prerepoconft���sett���run_with_package_namest���_cleanupt ���exit_codet���updateinfo_filters(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRJ�������sB���� c���������C���s����y=�|��j�����|��j����|��j����x�|��j�D] �}�|����q+�WWnB�t�j�k �r��}�|��j�j�d�t�|���t �|���|��j �f���n�Xd��S(���Ns���Exception %s %s in %s ignored(���t���closet ���closeRpmDBt���doUnlockR����t���Errorst ���RepoErrorR{���t���debugt���reprt���strt���__del__(���RI���t���cbt���e(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR��������s���� �c���������C���s[���|��j��d�k �r�|��j�j����n��|��j�d�k �r>�|��j�j����n��|��j�rW�|��j�j����n��d�S(���s#���Close the history and repo objects.N(���Rm���R���t���historyR����Rn���t���igroupsR\���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR��������s���� c���������C���s ���t��j����S(���s/���Factory method returning TransactionData object(���t���transactioninfot���TransactionData(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_transactionDataFactory����s����i����c���������C���s���t��|��j�_�|�|��j�_�d�S(���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(���Rb���R����R:���t���confRX���(���RI���RX���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���doGenericSetup��s����s���/etc/yum/yum.confR6���c���������C���s����t��j�t�d���t�j�d�d��t�|��d���r��|�|��j�_�|�|��j�_�|�|��j�_ �|�|��j�_ �|�|��j�_�|�|��j�_�|�|��j�_ �n��|��j�S(���sQ��Deprecated. 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 s9���doConfigSetup() will go away in a future version of Yum. t ���stackleveli���R����(���t���warningst���warnR ���R����t���YumFutureDeprecationWarningR���R����R7���R8���R:���R=���R>���R?���R@���R����(���RI���R7���R8���R:���R=���R>���R?���R@���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���doConfigSetup ��s����c������ ���K���sH��|�r�t��j�d���n��|��j�r&�|��j�St�j����}�|�rr�x7�d�D],�}�|�|�k�r?�t�|��j�|�|�|���q?�q?�Wn��|��j�j�}�|��j�j�}�|��j�j�}�|��j�j �}�|��j�j �}�|��j�j�} �|��j�j�} �|��j�j �}�|��j�j�}�|��j�j�} �|��j�j�}�|��j�j�}�|��j�j�}�|��j�j�}�|��j�j�}�|�r?|��j�j�|���n�|��j�j�}�|�d�k�rst�j�j�|���rsd�}�n��t�j�|�|�|���}�|�|�_�|��j�j�|�_�|�r�|�|�_�n��|�j�r�t�j�j �a!�t�j�j"�a#�n��| �d�k�r�| �|�_�n��| �d�k�r| �|�_�n��| �d�k�r| �|�_�n��|�d�k�r6|�|�_�n��|�d�k�rN|�|�_�n��|�d �k�r�|�j%�d �k�rrd�}�q�t�j�j&�d �|�j'���}�n��|�d�k�r�|�|�_�n��|��j(�|�j�|�j�|�j�|�j�|�j���|�r|�j)�r|��j*�|�|�|�j+�|�j,�|�|���n��t�j-�|���|��_�|��j�j.�}�|�d�k�r:|�t/�j0�_.�n��|��j�j1�d�t/�j0�_2�|��`�x$�|��j3�j4�D]�}�|��j5�j6�|���qcW|��j)�j7�d���|��j3�j8�|��_8�t�j9����|��j3�_:�t�j�j;�d�|��j3�j<�|��j8�j=�d�d���|��j8�j=�d�d���f���|��j3�_>�|��j?�|��j3�j:�|��j3�j@���|��jA�jB�d�t�j����|���|��j)�j7�d���|��j�S(���s���� Parse and load Yum's configuration files and call hooks initialise plugins and logging. Uses self.preconf for pre-configuration, configuration. s2���Use .preconf instead of passing args to _getConfigR7���R8���R:���R=���R>���R?���R@���RA���RB���s���/etc/yum/yum.confs ���/etc/yum.confR6���i����s���/timedhostst ���postconfigs���%s/repos/%s/%s/t���basearchs ���$basearchRG���s���$releasevers���Config time: %0.3ft���init( ���s���fns���roots���init_pluginss���plugin_typess ���optparsers ���debuglevels ���errorlevels���disabled_pluginss���enabled_pluginsN(C���R����R����Rh���t���timet���setattrR����R7���R8���R:���R=���R>���R?���R@���RA���RB���RC���RD���RE���RG���RF���RH���t ���setup_archt ���canonarcht���ost���patht���existst���configt���readStartupConfigR����t ���gaftonmodet���yumt���i18nt ���dummy_wrapperR ���t���dummyP_wrapperR���R���t���installroott ���_getsysvert���distroverpkgt���doLoggingSetupR;���t ���doPluginSetupt ���pluginpatht���pluginconfpatht���readMainConfigt���max_connectionsR3���t���optsRW���t ���timedhostsR����t���history_record_packagesR����t���addt���runt���yumvart���geteuidt���uidt���normpatht ���persistdirt���gett���_repos_persistdirt���doFileLogSetupt���logfileR{���R����(���RI���R���t���conf_stt���argR7���R8���R:���R=���R>���R?���R@���RA���RB���RC���RD���RE���RG���RF���RH���t���startupconft���mct���pkgname(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_getConfig,��s����� � ! "s���/dev/logc���������C���s���t��j�|�|�|�|�|���d�S(���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����(���RI���R?���R@���RC���RD���RE���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�������s���� c���������C���s���t��j�|�|�|��j���d�S(���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����(���RI���R����R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�������s����c������ ���C���s|��|�d�k�r"�t�j�|���d�}�n��t�|�d�|��j�j��}�t����}�y�|�j�|���Wn(�t�k �r~�}�t �j �t�|�������n�Xx�|�j����D]�}�|�d �k�r��q��n��t �j�|���}�|�r��|��j�j�d�|�|�|�j�|���f���q��n��y�|��j�|�|���} �Wn2�t �j�t �j �f�k �r/}�|��j�j�|���q��n"�X|�| �_�|�| �_�|��j�j�| �_�x��t�|��j���D]��} �t �j�| ���s|qan��t�j�| �j�| ���raxp�|��j�| �j�D][�}�t�| �|���s�d�}�|��j�j�|�| �j�|�f���n��t�| �|�t �|��j�| �|�����q�WqaqaW| �j�|��j�k�r�xv�|��j�| �j�j�D]^�}�t�| �|���sid�}�|��j�j�|�| �j�|�f���n��t�| �|�t �|��j�| �j�|�����q.Wn��|�r�|�| ���r�q��n��| �j!�r7x�| �j"�| �j#�| �j$�f�D]b�} �| �s�q�n��t�j%�| �t�j&���s�d�}�| �j'�r$|��j�j�|�| �j�| �f���n��t(�| �_)�q�q�Wn��y�|��j*�j+�| ���Wq��t �j�k �rs}�|��j�j�|���q��Xq��Wd�S( ���s���Read 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 i���t���varst���maint ���installeds!���Bad id for repo: %s, byte = %s %ds-���Repo %s did not have a %s attr. before setopts2���Repo %s forced skip_if_unavailable=True due to: %sN(���s���mains ���installed(,���R���R����t���statR���R����R����R���t���readfpR���R����t���ConfigErrorR/���t���sectionst���misct���validate_repoidRz���t���warningt���findt���readRepoConfigR����t���repo_config_aget���repofileR����t���base_persistdirt���sortedR~���t���re_globt���fnmatcht���idt���itemsR���R����t���getattrt���ssl_check_cert_permissionst ���sslcacertt ���sslclientcertt���sslclientkeyt���accesst���R_OKt���enabledR9���t���skip_if_unavailableR\���R����(���RI���t���repofnt���repo_aget���validatet ���confpp_objt���parserR����t���sectiont���badt���thisrepot���it���optt���msgR7���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���getReposFromConfigFile���sn���� + * c���������C���s4��|��j��j�}�|��j�|��j��j�|���x|��j��j�D]��}�t�j�j�|��j��j�d�|���rl�|��j��j�d�|�}�n��t�j�j �|���}�t�j�j �|���r/�x��t�t�j�d�|�����D]{�}�t�j �|�t�j���s��|��j�j�t�d���t�|�����q��n��t�j�|���d�}�|�|�k��r|�}�n��|��j�|�d�|��q��Wq/�q/�Wd�S(���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. R6���s ���%s/*.repos!���Skipping unreadable repository %si���R����N(���R����t���config_file_ageR����t���config_file_patht���reposdirR����R����R����R����R����t���isdirR����t���globR����R����Rz���R����R ���R����R����(���RI���R����R����R����t���thisrepo_age(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���getReposFromConfig��s���� c���������C���s����t��j�|���}�y�|�j�|�|�|��j���Wn5�t�k �r`�}�t�d�|�|�f���}�t�j�|���n�X|�j�s��|�|�_�|��j �j �t�d���|���n��t�|�j���|�_�t�|��d�d���|�_ �|��j�j�|�_�|�j�j�|��j�j���|�|�_�|�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: %ss8���Repository %r is missing name in configuration, using idt ���_old_cachedirt����(���t���yumRepot ���YumRepositoryt���populateR����t ���ValueErrorR ���R����R����t���nameRz���t���errorR-���R����t���old_base_cache_dirRW���t���basecachedirR����t���updatet���cfgt���asynct���_async(���RI���R����R����R[���R����R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR����9��s"���� c���������C���s���t��j����|��_��d�S(���s���Disable yum plugins.N(���R;���t���DummyYumPlugins(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���X��s����c���������C���sR���t��|��j�t�j���r*�t�t�d�������n��t�j�|��|�|�|�|�|�|���|��_�d�S(���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 s���plugins already initialisedN(���t ���isinstanceR;���t ���YumPluginst���RuntimeErrorR ���(���RI���R>���R=���t ���searchpatht���confpathRA���RB���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR����]��s����c���������C���s)���t��j�t�d���t�j�d�d��|��j����S(���s%���Deprecated. Set up the rpm database.s8���doRpmDBSetup() 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���doRpmDBSetupy��s����c���������C���s����|��j��d�k�r��t�j����}�|��j�j�t�j�t�d�����t�j �d�|��j �j�d�|��j �j�d�d�|��j �j ���|��_��|��j�j�d�t�j����|���n��|��j��S(���s@���sets up a holder object for important information from the rpmdbs���Reading Local RPMDBR8���RG���R����s���rpmdb time: %0.3fN(���Rj���R���R����R{���t���logR����t���DEBUG_4R ���t���rpmsackt���RPMDBPackageSackR����R����R����R����R����(���RI���t���rpmdb_st(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�����s���� !c���������C���se���|��j��d�k �r+�d�|��j��_�|��j��j����n��d�|��_��d�|��_�d�|��_�d�|��_�d�|��_�d�|��_�d�S(���s6���Closes down the instances of rpmdb that could be open.N( ���Rj���R���t���tst���dropCachedDatat���_tsRi���Rk���t���compsR����(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�������s���� c���������C���s���|��`��d��|��_��d��S(���N(���R��R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_deleteTs���s����c���������C���s/���t��j�t�d���t�j�d�d��|��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 s7���doRepoSetup() will go away in a future version of Yum. R����i���(���R����R����R ���R����R����t ���_getReposR9���(���RI���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���doRepoSetup���s����c���������C���s���t��|��d���rm�|��j�|��j�j�d�k�r`�t��|��d���r`�t�|��j�j���}�|��j�j�|�|��_�n��|��j����n��t��|��d���rS|��j�}�|��`�|��j�j �|�j �|�j���|�j�|��j�_�|��j�j �|�j���|��j�j�|�j���|�j�|��j�_�|�j�|��j�_�|�j�|��j�_�|�j�d�k �r+|��j�j�|�j���n��|�j�d�k �rS|��j�j�|�j���qSn��|�r�t�j����}�|��j�j�|���|��j�j�d�t�j����|���n��|��j�S(���sB��� For each enabled repository set up the basics of the repository. R����R6���R���s���repo time: %0.3fN(���R���R����R����t���lenRW���R���R����R����R]���t���setProgressBarRO���RP���RQ���t���setFailureCallbackRR���t���setInterruptCallbackRS���RT���RU���RV���R���t���setCacheDirRX���t���setCacheR����R\���t���doSetupR{���R����(���RI���R����R(��t���irR����t���repo_st(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR �����s6���� !c���������C���s���|��`��t�|����|��_��d��S(���N(���R\���R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_delRepos���s����c���������C���s5���t��j�t�d���t�j�d�d��|��j�d�|�d�|���S(���s4��Deprecated. 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 s7���doSackSetup() will go away in a future version of Yum. R����i���t���archlistR����(���R����R����R ���R����R����t ���_getSacks(���RI���R,��R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���doSackSetup���s���� c���������C���s���|��j��d�k �r"�|�d�k�r"�|��j��S|�d�k�r7�d�}�n�|��j�j�|���}�|��j�j�t�d�����t�j����}�|�s��|��j�j �}�n��i��}�x�|�D]�}�d�|�|�<q��W|��j�j ����j�|���|��j�j�d�|���|��j�j ����s��|��j�j ����S|��j�j ����|��_��|��j ����|��j��j�|���|�d�k�r0|��j�j����}�n��x(�|�D] �}�|��j�|���|��j �|���q7W|��j�j�d���|��j��j����|��j����|��j�j�d�t�j����|���|��j��S(���sz���populates the package sacks for information from our repositories, takes optional archlist for archs to includeR����s���Setting up Package Sacksi���t���whicht���excludes���pkgsack time: %0.3fN(���Ro���R���R]���t ���findReposR{���R����R ���R����RF���R,��t���getPackageSackt���setCompatArchst���populateSackt���excludePackagest���excludeArchsR^���t���includePackagesR;���R����t���buildIndexest���costExcludePackages(���RI���R,��R����R]���t���sack_stt���archdictRF���R[���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR-�����s:���� c���������C���so���d�|��_�x_�|��j�j�j����D]K�}�t�|�d���r>�|�j����q�t�j�t�d���t�d���t �j �d�d��q�Wd�S(���sz���reset the package sacks back to zero - making sure to nuke the ones in the repo objects, too - where it matterst ���_resetSacks2���repo object for repo %s lacks a _resetSack method s%���therefore this repo cannot be reset. R����i���N(���R���Ro���R]���t���valuesR���R<��R����R����R ���R����R����(���RI���R[���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_delSacks!��s���� c���������C���s)���t��j�t�d���t�j�d�d��|��j����S(���s}���Deprecated. Set up the update object in the base class and populate the updates, obsoletes, and other lists. s9���doUpdateSetup() 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 ���doUpdateSetup2��s����c���������C���s@��|��j��r�|��j��S|��j�j�t�d�����t�j����}�t�j�j�|��j�j ����|��j �j ������|��_��|��j�j�d�k�r}�d�|��j��_�n��t �|��d���r��|��j�j�|��j��_�|��`�nT�|��j�j�r��t�j����}�|��j �j�d�t���|��j��_�|��j�j�d�t�j����|���n��|��j�j�|��j��_�|��j�j�|��j��_�|��j�j�|��j��_�|��j�j�|��j��_�|��j�j�|��j��_�|��j�j�|��j��_�t�j����}�|��j��j����|��j�j�d�t�j����|���|��j�j�r�t�j����}�|��j��j����|��j�j�d�t�j����|���n��t�j����}�|��j��j ����|��j�j�d �t�j����|���|��j�j�d �t�j����|���|��j��S(���sn���setups up the update object in the base class and fills out the updates, obsoletes and others listss���Building updates objecti���i���t���_up_obs_hackt���newests���up:Obs Init time: %0.3fs���up:simple updates time: %0.3fs���up:obs time: %0.3fs���up:condense time: %0.3fs���updates time: %0.3f(!���Rk���R{���R����R ���R����t���rpmUtilst���updatest���Updatest���rpmdbt ���simplePkgListt���pkgSackR����R?���R���RA��t���rawobsoletest ���obsoletest���returnObsoletesR9���RF���R����t���myarcht���multilibt���_is_multilibR,��t ���_archlistt���compatarchest���_multilib_compat_archest ���exactarcht ���exactarchlistt ���doUpdatest���doObsoletest���condenseUpdates(���RI���t���up_stt���obs_initt���up_pr_stt���obs_stt ���cond_up_st(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR?��;��s@���� * ! ! c���������C���s2���t��j�t�d���t�j�d�d��d�|��_�|��j����S(���s2���Deprecated. Create and populate the groups object.s8���doGroupSetup() will go away in a future version of Yum. R����i���N(���R����R����R ���R����R����R���R��t ���_getGroups(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���doGroupSetupk��s���� c���������C���sK���|�d��k�r>�|��j�r>�x#�|��j�j����D]�}�t�|�_�q%�Wq>�n��|�|��_�d��S(���N(���R���R\���t���sortRb���t���groups_addedRl���(���RI���t���valR[���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_setGroupst��s ���� c��� ������C���s��|��j��r�|��j��St�j����}�|��j�j�t�j�t�d�����g��}�|��j�x��|��j�j ����D]w�}�|�j �rw�|�j�|���qU�n��|�j����s��t �j�d�|���n��y�|�j����}�Wn�t �j�k �r��}�qU�X|�j�|���qU�W|��j�j�}�t�j�d�|���|��_��|��j�j�d�k�r�|��j��j�d�7_�xI�|��j�j�D];�}�t�j����}�|�|�_�|�_�t�|�_�|��j��j�|���q"WxL�|��j�j�D];�} �t�j ����} �| �| �_�| �_!�t�| �_�|��j��j"�| ���qnWn��x��|�D]��}�|�j �r�q�n��|��j�j�t�j�t�d���|���|�j#����}�|�s#t�d���|�}�|��j$�j%�|���q�n��y�|��j��j&�|���WnK�t �j'�t �j(�f�k �r�}�t�d���|�t)�|���f�}�|��j$�j%�|���q�Xt�|�_ �q�W|��j��j�d �k�r�t �j'�t�d �����n��|��j�j�d�k�r�|��j��j*�|��j+�j,������n��|��j�j-�d�t�j����|���|��j��S(���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 objects���Getting group metadatas���Repository '%s' not yet setupt���overwrite_groupst���objectsi���s%���Adding group file from repository: %ss0���Failed to retrieve group file for repository: %ss1���Failed to add groups file for repository: %s - %si����s%���No Groups Available in any repositorys���group time: %0.3f(.���Rl���R����R{���R��R����R��R ���RH��R]���t���listGroupsEnabledR_��t���appendt���readyR����R����t���getGroupLocationt���RepoMDErrorR����Rb��R��t���Compst ���group_commandt ���compscountR����t���groupst���GroupR��t���groupidR9���t���_weakt ���add_groupt���environmentst���Environmentt ���environmentidt���add_environmentt ���getGroupsRz���t���criticalR����t���GroupsErrort���CompsExceptionR/���t���compileRF��RG��R����( ���RI���t���group_stt���reposWithGroupsR[���t���groupremoteR����t ���overwritet���gidt���grpt���evgidt���envt ���groupfileR����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR\�����sl���� c���������C���sW��t��j�����}�|��j�j�t�j�t�d�����|��j�d�k�r2t�j �j ����|��_�x��|��j�j����D]��}�d�|�j �j����k�rz�qY�n��|��j�j�t�j�t�d���|���yD�|�j�d���}�t�j�|�d�d�|�j��}�|��j�j�|�j�|���WqY�t�j�t�j�f�k �r*}�t�d���|�t�|���f�}�|��j�j�|���qY�XqY�Wn��|��j�j�d�t��j�����|���|��j�S( ���sT��� create the tags object used to search/report from the pkgtags metadatas���Getting pkgtags metadatat���pkgtagss���Adding tags from repository: %ss���pkgtags.sqlitet���cacheds.���Failed to add Pkg Tags for repository: %s - %ss���tags time: %0.3fN(���R����R{���R��R����R��R ���Rq���R���R����t ���pkgtag_dbt���PackageTagsR]���R^���t���repoXMLt ���fileTypest ���retrieveMDR����t���repo_gen_decompressRX���R����R����R����R����t���PkgTagsErrorR/���Rz���Rv��R����(���RI���t���tag_stR[���t���tag_mdt ���tag_sqliteR����R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_getTags���s*���� c���������C���sL��t��j�����}�|��j�j�t�j�t�d�����|��j�d �k�r't�j �d���}�t�j �d���}�t �j�d�|�d�|���|��_�|��j�x��|��j �j����D]��}�d�|�j�j����k�r��q��n��|��j�j�t�j�t�d���|���y�|��j�j�|���Wq��t�j�k �r}�t�d���|�t�|���f�}�|��j�j�|���q��Xq��Wn��|��j�j�d �t��j�����|���|��j�S(���sX��� create the Update Info object used to search/report the updateinfo metadatas���Getting updateinfo metadatas ���yum.update_mds���yum.verbose.update_mdRz���t���vloggert ���updateinfos&���Adding Update Info from repository: %ss1���Failed to add Update Info for repository: %s - %ss���updateinfo time: %0.3fN(���R����R{���R��R����R��R ���Rr���R���Rx���Ry���t ���update_mdt���UpdateMetadataRH��R]���R^���R���R���R����R����Rh��R/���Rz���Rv��R����(���RI���t���upi_stRz���R���R[���R����R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_getUpdateinfo���s,���� c���������C���s]���|��j��d�k�rV�|��j�j�d�}�t�j�j�d�|��j�j�d�|�d�|��j�j�d���|��_��n��|��j��S(���se���auto create the history object that to access/append the transaction history information. s���/historyR8���t���db_pathRG���N( ���Rm���R���R����R����R����R����t ���YumHistoryR����R����(���RI���t���pdb_path(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_getHistory��s����c���������C���sR���|��j��d�k�rK�|��j�j�}�t�j�j�d�|��j�j�d�|�d�|��j���|��_��n��|��j��S(���s:��� create the fssnap object used to query/create snapshots. R8���t���devicesRz���N( ���Rs���R���R����t���fssnap_devicesR����t���fssnapshotst���_FSSnapR����R|���(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_getFSsnap��s����c���������C���sA���|��j��d�k�r:�|��j�j�d�}�t�j�j�d�|���|��_��n��|��j��S(���sk���auto create the installed groups object that to access/change the installed groups information. s���/groupsR���N(���Rn���R���R����R����R����R����t���InstalledGroups(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_getIGroups&��s����t���fgetc���������C���s ���|��j�����S(���N(���R ��(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���<lambda>/��s����t���fsetc���������C���s���t��|��d�|���S(���NR\���(���R����(���RI���t���value(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���0��s����t���fdelc���������C���s ���|��j�����S(���N(���R+��(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���1��s����t���docs0���Repo Storage object - object of yum repositoriesc���������C���s ���|��j�����S(���N(���R-��(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���3��s����c���������C���s���t��|��d�|���S(���NRo���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���4��s����c���������C���s ���|��j�����S(���N(���R>��(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���5��s����s3���Package sack object - object of yum package objectsc���������C���s ���|��j�����S(���N(���R����(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���7��s����c���������C���s���t��|��d�|���S(���NRh���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���8��s����c���������C���s���t��|��d�d����S(���NRh���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���9��s����s���Yum Config Objectc���������C���s ���|��j�����S(���N(���R��(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���;��s����c���������C���s���t��|��d�|���S(���NRj���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���<��s����c���������C���s���t��|��d�d����S(���NRj���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���=��s����s���RpmSack objectc���������C���s ���|��j�����S(���N(���t ���_getTsInfo(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���?��s����c���������C���s ���|��j��|���S(���N(���t ���_setTsInfo(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���@��s����c���������C���s ���|��j�����S(���N(���t ���_delTsInfo(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���A��s����s"���Transaction Set information objectc���������C���s ���|��j�����S(���N(���t���_getActionTs(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���C��s����c���������C���s ���|��j�����S(���N(���R��(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���D��s����s���TransactionSet objectc���������C���s ���|��j�����S(���N(���R?��(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���F��s����c���������C���s���t��|��d�|���S(���NRk���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���G��s����c���������C���s���t��|��d�d����S(���NRk���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���H��s����s���Updates Objectc���������C���s ���|��j�����S(���N(���R\��(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���J��s����c���������C���s ���|��j��|���S(���N(���Ra��(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���K��s����c���������C���s���t��|��d�d����S(���NRl���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���L��s����s���Yum Component/groups objectc���������C���s ���|��j�����S(���N(���R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���N��s����c���������C���s���t��|��d�|���S(���NRm���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���O��s����c���������C���s���t��|��d�d����S(���NRm���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���P��s����s���Yum History Objectc���������C���s ���|��j�����S(���N(���R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���S��s����c���������C���s���t��|��d�|���S(���NRn���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���T��s����c���������C���s���t��|��d�d����S(���NRn���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���U��s����s���Yum Installed Groups Objectc���������C���s ���|��j�����S(���N(���R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���X��s����c���������C���s���t��|��d�|���S(���NRq���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���Y��s����c���������C���s���t��|��d�d����S(���NRq���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���Z��s����s���Yum Package Tags Objectc���������C���s ���|��j�����S(���N(���R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���]��s����c���������C���s���t��|��d�|���S(���NRr���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���^��s����c���������C���s���t��|��d�d����S(���NRr���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���_��s����s���Yum Update Info Objectc���������C���s ���|��j�����S(���N(���R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���b��s����c���������C���s���t��|��d�|���S(���NRs���(���R����(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���c��s����c���������C���s���t��|��d�d����S(���NRs���(���R����R���(���RI���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���d��s����s���Yum FS snapshot Objectc���������C���s����t��}�|��j�ri�xW�|��j�j����D]C�}�|�|�j�j�k�r\�d�|�j�j�|�k�rS�q�qb�t�}�q�t�}�q�Wn��|�r��t�d���}�|��j�j �t �j�|���|��j�j�d�d���n��d�S(���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 informationt���mdtypeN( ���Rb���RH��R]���R^���R`���t���addedR9���R ���R{���R��R����t���INFO_2R4��(���RI���t ���necessaryR[���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���doSackFilelistPopulateg��s���� c���������C���sy���|��j��j�d�d���r�d�Sd �\�}�}�t�|��d���rX�|��j�j�d�|��j�j�d�}�}�n��|�t�d���|��j�|�����d�S( ���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 R��s ���yum-utilsNR��t���termt���boldt���normals1���The program %s is found in the yum-utils package.(���R��R��(���RF��t���containsR���R���t���MODER ���t ���_try_bold(���RI���t���funct���progt���hibegt���hiend(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���yumUtilsMsg��s����$c���������C���s���t��|��_�|�ri�t�j�d�|��j�j���ri�t�d���}�|��j�j�|���|��j �|��j�j�d���t �j�d���n��|��j�j �d���t �j ����}�|��j����\�}�}�|��j����|��j�j�r��|��j�j�t�j�t�d�����|��j����n��d�}�|�d�k�r|��j�j�rt�j�|��j�j������}�n��d�|��j�_�|��j�|�|���\�}�}�|��j�j �d�d �|�d �|��|��j�j�r�|��j�|�d�k���\�}�}�|��j�|�|�d�t���\�}�}�n��|��j�j�d�k �r�|��j�j �j!����n��|�d�k�|��_�g��}�|�d�k�r |��j�j"�r |��j#�j$�r |��j�j%�d�t&���}�n��i��}�xe�|�D]]�} �|��j'�| �j(���r8qn��| �j)�|�k�r`| �j(�g�|�| �j)�<qn��|�| �j)�j*�| �j(���qWg��} �g��}�x��|�D]��}�t+�|�|���d�k�r�xO�|��j�j,�|�g���D]5�} �|��j�j%�| �j-�t.���r�q�n��|�|�j*�| ���q�Wn��|�|�d �}�xx�|�|�d�D]h�}�|�j/�|���r4qn��t�d���}�|�sjt�d���i�|�d�6}�|�|�}�n��|�j*�|�|�|�f���qWq�W|�r�d�}�t��|��_�|�}�n��t0�t1�g�}�g��}�|�d�k�r�|��j�j�r�t2�|��j�j���}�|��j�j%�d�|���}�n��i��}�x��|�D]��} �|�d�k �r,| �j-�|�k�r,n:�|�d�k �rQ| �j)�|�d �k�rQqn�| �j)�|�k�rfqn��| �j)�|�k�r�g��|�| �j)�<n��|�| �j)�j*�| �j-���qWx��|��j�j,�|�j3������D]w�}�|�d�k �r�|�j)�|�d �k�r�|�|�|�d �k�r�q�n��|�j)�|�k�r q�n��|�j-�|�|�j)�k�r�|�|�j)�=q�q�Wx��|�j3����D]��}�|�d�k �r}|�|�d �k�r}|�|�|�d �k�r}qAn��xj�|��j�j4�d�|���D]S�} �| �j)�|�k�r�q�n��| �j-�|�|�j)�k�r�q�n��| �j5�t&�k�r�|�|�j)�=q�q�WqAW|�r:d�}�g��}�x+�t6�|���D]�}�|�j*�t�d���|���q Wt��|��_�n��|�d�k�rh|��j�j7�rh|��j8�d�t9���qhn��t:�j;�|��j�j<�k�r�xT�|��j�j=����D]@�}�|�j>�d�k�r�|��j'�|�j(���r�|��j?�|�j(���r�Pq�q�q�Wn��|��j�j@�d�t �j ����|���|�|�f�S(���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).s���yum-complete-transactioni���t ���preresolves*���--> Finding unneeded leftover dependenciesi���t���postresolvet���rescodet���restringi���t ���clear_skippedi����s%���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). R��s)���Trying to remove "%s", which is protectedt���autoR����s���Depsolve time: %0.3fN(A���Rb���t���_depsolving_failedR����t���find_unfinished_transactionsR����R����R ���Rz���Rv��R���R����t���sleepR;���R����t���resolveDepst���_limit_installonly_pkgst���clean_requirements_on_removeR{���R��R����R���t���_remove_old_depsR���t���protected_packagest���get_running_kernel_pkgtupRF��t ���readOnlyTSR��t ���_doSkipBrokent���tsInfot���changedRo���RH��R��t���protected_multilibRF���RM��t���getMembersWithStatet���TS_INSTALL_STATESt���allowedMultipleInstallst���poR��Re��R"��t���searchNamesRc���t���TS_REMOVE_STATESt���verEQt���TS_OBSOLETEDt���TS_ERASER����t���keyst ���matchNaevrt���output_stateR����t ���autosavetst���save_tsR9���R���t���RPMPROB_FILTER_OLDPACKAGEt���probFilterFlagst ���getMemberst���ts_statet���_enable_oldpackage_flagR����(���RI���t���unfinished_transactions_checkR����t���ds_stR���R���t���kern_pkgtupt���txmbrst���verst���txmbrt���finet ���xrestringR����t���pkgt���firstt���othert���bigmsgt���protect_statest ���protectedt���bad_togot���ipkgt���m(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���buildTransaction���s����� !$ !c���������C���s����|��j��j�ry�|�d�k�ry�|�r*�g��|��_�n��t�j����}�|��j�|�|���\�}�}�|��j����|��j�j�d�t�j����|���n��|�|�f�S(���s!��� do skip broken if it is enabled i���s���Skip-Broken time: %0.3f(���R����t���skip_brokenRu���R����t���_skipPackagesWithProblemst���_printTransactionR{���R����(���RI���R���R���R���t���sb_st(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���Y��s���� !c������������s��������f�d����}�����f�d�������d�}�t�����}�t�������|�}�d�}�x�t���j���d�k�r�|�d�k�r�|�d�7}���j�j����d���_���j�j�d�|���|�d�k�r����j�j�d���Pn����j ������j ����}�t����j���} �t�����} �xR���j�D]G�\�}�}�} ���j�j�|�j ���s.|�|�|�| ���q��|�|�|�| ���q��Wxc�| �D][�}���j�|���}�xC�|�D];�}�|�j�|���|���k�re|�j�d�k�re���|���qeqeWqIW| �s�|�d�7}�|�d �k�r�Pq���j�j�d �����j�j�d�t���n����j�t�d�t��\�}�}�t����j���}�| �|�t�����k�rk|�d�7}�|�d �k�rEPqq��j�j�d �����j�j�d�t���n�d�}�|�d�k�rK���j�j�d�����j�j�d�t�����j������j������j����\�}�}�qK�qK�W|�d�k�r{��j�j�d�|�����j�j�t�d�����g��|�D]�}�|�^�q }�|�j����x@�|�D]8�}�t�d���t�|���|�j�j�f�}���j�j�|���q,W��j�j�|���n���j�j�d���d�|�f�S|�|�f�S(���s=��� Remove the packages with depsolve errors and depsolve again c������������s+���|��s �d��S��j��|��|�|������|����d��S(���N(���t���_getPackagesToRemove(���R���t���depTreet���toRemove(���t���_remove_from_sackRI���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_removek��s����c������������s������j��|����}�xw�|�D]o�}�|��j�d�k�r�|����k�r���j�j�d�t�|��������j�j�|�����j�j�|�j������j �|���q�q�Wd��S(���NR����s.���SKIPBROKEN: removing %s from pkgSack & updates( ���t���_getPackagesToRemoveAllArcht���repoidR{���R����R����RH��t ���delPackaget���upRc���R����(���R���t���pkgsR���(���t���removed_from_sackRI���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���r��s���� i����i���s1���SKIPBROKEN: ########### Round %i ################i���s���SKIPBROKEN: Too many loops R����i���sE���SKIPBROKEN: resetting already resolved packages (no packages to skip)t���hardt���skipping_brokensI���SKIPBROKEN: resetting already resolved packages (transaction not changed)s0���SKIPBROKEN: sanity check the current transactions���SKIPBROKEN: took %i rounds s1��� Packages skipped because of dependency problems:s��� %s from %ss$���Skip-broken could not solve problemsN(���R����R"��t���po_with_problemsRF��t���transactionResetR���t���installedFileRequiresR{���R����R���t ���_buildDepTreeR���R����Rc���t���_skipFromTransactionR����R���t ���resetResolvedR9���R���t���_checkMissingObsoletedt���_checkUpdatedLeftoverst���infoR ���R^��R����R[���R����Ru���t���extend(���RI���R���R���R���t���countt ���skipped_pot ���orig_restringt���loopingR���t���startTsR���R���t���wpot���errt���skippedt���skipt���endTst���pt���skipped_listR����(����(���R���R��RI���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���h��s|���� $ " c���������C���sG���|�r �d��S|�d�|�d�|�d�|�d�|�d�f�}�d��|�k�rC�d��S|�S(���NR��RF���t���epocht���versiont���release(���R���(���RI���R��t ���nevra_dictRc���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_add_not_found���s���� c���������C���sN���|�d��k�r'�|�r'�|��j�|�|���}�n��|�d��k�r7�d��St�|���|��j�|�<d��S(���N(���R���R!��R)���Rv���(���RI���R��R ��Rc���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_add_not_found_a���s ����c���������C���sN���|�d��k�r'�|�r'�|��j�|�|���}�n��|�d��k�r7�d��St�|���|��j�|�<d��S(���N(���R���R!��R)���Rw���(���RI���R��R ��Rc���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_add_not_found_i���s ����c���������C���s����x��|��j��j�d�t�t�g���D]��}�x^�|�j�D]S�}�|��j��j�|�j���s,�|��j��j�|�|�j ���}�|��j �j�d�|�|�j �f���q,�q,�Wx\�|�j�D]Q�}�|��j��j�|�j���s��|��j �j�d�|�j �|�f���|��j��j �|�j �j���q��q��Wq�Wd�S(���s���� If multiple packages is obsoleting the same package then the TS_OBSOLETED can get removed from the transaction so we must make sure that they, exist and else create them s+���SKIPBROKEN: Added missing obsoleted %s (%s)s*���SKIPBROKEN: Remove extra obsoleted %s (%s)N(���R���R���R���t ���TS_OBSOLETINGR���RJ��R����Rc���t���addObsoletedR���R{���R����t���obsoleted_byt���remove(���RI���R���R���t���obs(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR �����s����"$c���������C���s����x�|��j��j�d�t�g���D]e�}�x\�|�j�D]Q�}�|��j��j�|�j���s)�|��j�j�d�|�j �|�f���|��j��j �|�j �j���q)�q)�Wq�Wd�S(���s���� If multiple packages is updated the same package and this package get removed because of an dep issue then make sure that all the TS_UPDATED get removed. s(���SKIPBROKEN: Remove extra updated %s (%s)N(���R���R���R���t ���TS_UPDATEDt ���updated_byR����Rc���R{���R����R���R'��(���RI���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�����s ����c��� ������C���s����g��}�|��j��j�r��|�j�\�}�}�}�}�}�xd�|��j��j�D]F�}�|�|�|�|�|�f�}�|��j�j�|�|�|�|�|���} �|�j�| ���q7�Wn �|�j�|���|�S(���s,��� get all compatible arch packages in pkgSack(���RF���RM��Rc���R,��RH��t���searchNevraR��Re��( ���RI���R���R��t���nt���aR����t���vt���rRc���t���matched(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�����s���� c���������C���s����g��}�|�j��\�}�}�}�}�}�x��|��j�j�D]r�}�|�|�|�|�|�f�}�|��j�j�|���r+�xB�|��j�j�|���D]+�} �| �j�} �|��j�| ���}�|�j�|���qk�Wq+�q+�W|�S(���N( ���Rc���RF���R,��R���R����R���R���t���_removePoFromTransactionR��(���RI���R���R��R,��R-��R����R.��R/��Rc���R���R���R��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR��!��s���� c���������C���sn���g��}�|��j��j�|�j���rj�|��j�j�d�t�|�����|��j��j�|�j���|�j�d�k�sj�|�j�|���qj�n��|�S(���Ns(���SKIPBROKEN: removing %s from transactionR����( ���R���R����Rc���R{���R����R����R'��R���Re��(���RI���R���R��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR1��.��s����c���������C���sN���i��}�xA�|��j��D]6�}�x-�|�j�D]"�}�|�j�|�g����j�|�j���q �Wq�W|�S(���s&��� create a dictionary with po and deps (���R���t ���depends_ont ���setdefaultRe��R���(���RI���R���R���t���dep(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR ��7��s ����$c���������C���s@���x9�|�j�����D]+�\�}�}�|�GHx�|�D]�}�d�G|�GHq%�Wq �Wd��S(���Ns��� (���t ���iteritems(���RI���t���treeR���t���lR��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_printDepTree@��s���� c���������C���s��i�d�t��6d�t�6d�t�6d�t�6d�t�6d�t�6d�t�6d�t�6}�|��j�j �t �j�d �t�|��j �����x��t�|��j ���D]��}�d �|�|�j�|�j�f�}�|��j�j �t �j�|���xI�t�t�|�j�����D]2�\�}�}�d�|�|�f�}�|��j�j �t �j�|���q��Wqq�W|��j�j �t �j�d�d �d���d��S(���NR ��t���installt���trueinstallt���eraset ���obsoletedt ���obsoletingt ���availablet���updateds/���SKIPBROKEN: Current Transaction : %i member(s) s���SKIPBROKEN: %-11s : %s s%���SKIPBROKEN: %s : %ss ���SKIPBROKEN:%si<���t���=(���t ���TS_UPDATEt ���TS_INSTALLt���TS_TRUEINSTALLR���R���R$��t���TS_AVAILABLER)��R{���R��R����t���DEBUG_2R"��R���R����R���R���R����t ���relatedto(���RI���t���stateR���R����R���t���rel(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���F��s ���� #"c���������C���s����|�j��|���x��|��j�j�|�j���D]{�}�x8�|�j�|�j�D]&�}�|�j��|���|��j�|�|�|���q:�Wx7�|�j�D],�\�}�}�|�j��|���|��j�|�|�|���qn�Wq#�W|��j�|�|�|���d�S(���s2��� get the (related) pos to remove. N(���R����R���R���Rc���RD��RJ��t���_getDepsToRemoveRF��(���RI���R���t���deptreeR���R���R���t���relativet���relation(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���Z��s���� c���������C���s����x��|�j��|�g����D]��}�t�}�xe�|��j�j�|�j���D]N�}�|�j�|���|�j�r[�t�}�Pn��x%�|�j�|�j �D]�}�|�j �|���ql�Wq5�W|�r��q�n��|�|�k�r��q�n��|�j �|���|��j�|�|�|���q�Wd��S(���N(���R����Rb���R���R���Rc���t ���removeDepR2��R9���RD��RJ��R����RI��(���RI���R���RJ��R���R4��t ���more_depsR���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRI��i��s���� c������������s*����d��k�r�|��j�j���n��|�d��k�r6�d�d�g�}�n��|�d��k�rc�t�d�����������f�d����}�n��|�r|���t�d�����n��t�|���t�g����t�t������f�k�r��t�|���}�n�t�|�g���}�t�d����|�D����}�d�}�g��}�|�j�t�d�����r�i�t�d ���d �6t�d���d�6} �x��|��j�j����D]|�} �| �j �j �|�k�rFq(n��| �j�d�k�r�t�}�x*�| �j �D]�}�|�j �|�k�ret�}�PqeqeW|�r�q(q�n��|�j�| ���q(Wn��|�j�t�d�����r/t�|��j�j���} �xZ�|��j�j�| ���D]C�} �| �j �j �|�k�rq�n��| �j�j �|�k�rq�n��|�j�| ���q�Wn��|�j�t�d�����r�xW�|��j�j����D]C�} �| �j �j �|�k�rrqTn��| �j�j �|�k�r�qTn��|�j�| ���qTWn��|�j�t�d�����r�x?�|��j�j����D]+�} �| �j �j �|�k�r�q�n��|�j�| ���q�Wn��|�t�|�����x�t�|���D]�} ���| ���qW|�S(���Nt���dependenciest ���duplicatessF���** Found %d pre-existing rpmdb problem(s), 'yum check' output follows:c������������s���|��p������|����S(���N(����(���t���problems(���R����t���out(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����s&���Warning: RPMDB altered outside of yum.c���������s���s���|��]�}�|�j��Vq�d��S(���N(���Rc���(���t���.0R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pys ���<genexpr>���s����i����t���alls���missing requirest���requiress���installed conflictt ���conflictsR<��t���provides(���s���allRO��(���s���allRP��(���s���alls ���obsoleted(���s���alls���provides(���R���Rz���R����R ���t���typeR����t���intersectionRF��t���check_dependenciesR���Rc���t���problemR9���RV��Rb���Re��R����t���installonlypkgst���check_duplicatest ���duplicatet���check_obsoletedt ���obsoletert���check_providesR"��R����(���RI���RR��R����t���chkcmdt���headert���ignore_pkgst���ignore_pkgtupst���rct���probst���prob2uit���probt���foundt���rest���iopkgs(����(���R����RR��s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_rpmdb_warn_checks{��sl����' c���!���������sq��t�����f�d���}����j�j�s*����j�j�r�����j�j�r��t�d���}����j�j�d-�k�rp�t�j �d�d�d�|�����q�����j �j�|���n�����j�j�r:���j�j�s�����j�j�r:���j�j�r:t��}�y����j�j ����}�Wn5�t�k �r}����j �j�t�|�����t�}�g��}�n�Xt�|�d�d ����d �t��}�d�}�d�}�g��} �xd�|�D]\�} �|�d �7}�|�| �d�k�rn| �d�}�d �}�q8n��|����j�j�k�r8| �j�| �d���q8q8Wy����j�j�d�| ���}�Wn5�t�k �r�}����j �j�t�|�����t�}�g��}�n�Xt�|���r���j �j�t�d���t�|�����q:|�r:���j �j�t�d�����q:n�����j�j�rr���j�j�t�j���rr���j�j�rr|����n�����j�j�d���x4����j�j����D]#�}�|�j �r����j!�j"�d���Pq�q�W���j�j#�s����j�j�t�j���r����j$�j%����}�n�t&����j!���} ����j'�j(�d�| ���}����j'�j)�d�t���d�}����j*�j+����}�|�d.�k �rQ|�j-�}�n��g��}�|�d.�k�so|�|�k�r����j$�j.�d.�t/���}�g��|�D]�}�|�j0�^�q�}�|�d.�k �}����j1�d�|�d�|���}�n��d.�}�t2����d���r����j3�r�d�j4����j3���}�n-�t2����d���r'���j5�r'd�j4����j5���}�n�����j$�j%����}����j*�j6�|�|�t&����j$������j7�|�|������j8����t2����d���r����j9����n�����j�j�d������j'�j:�|������j;�d.�k �rt<����j;�d���j=����}����j*�j>�d�|���y�t?�j@����j;���WqtA�tB�f�k �r}�qXn��d.����_;����j�jC�rft?�jD�d���}�|�rfy�t?�jD�|���Wqcd�}�qcXqfn�����j�j�|�jE�d ���}����j�jC�r�y�t?�jD�|���Wq�q�Xn��tF�jG����}�d�|�_H�|�d.�k�r�nt�|���d�k�rt�d!���}����j �j�|���d �|�_H�n�����j�j#�ry���j�j�t�j���ryg��|�D]�}�tI�tJ�|�����^�q/}����j�j�d"������j*�jK�|�d#�d�|��n�����jL�j�t�d$�����x"�|�D]�}����jL�j�|�d���q�Wt�j �d�t�d%���d�|��������j�j�t�j���s����jM����n��xv�d/�D]n�}�t2�|�|���r�tN�|�|���}�y�tF�jO�|���WqitA�tB�f�k �re}����jL�j�t�d(���|���qiXq�q�W���j�j�t�j���s�|�jH�r����j'�jP����n����j'�jQ�t&����j$��������j�j�d)������j�j�t�j���s/d.�} �t2�|�d*���r�|�jR�} �n�����jS�|�| ������j�jT�d+�k�r/���jU�jV����q/n�����j�j�rm���j�j�t�j���rm���j�j�rm|�d,�t���n��|�S(0���sO��Perform 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 c������������s���t��d�|��r�d�n�d���}�y����j�j����j�j���}�Wn/�t�k �ri�}�t��d���t�|���}�t�}�n�X|�s��|��r�����j�j�d�k�r��t �j �d�d�d �|�����q����j�j�|���n��i�d �g�d�6}�t��d���}�y"����j�j ����j�j�d �|��}�Wn-�t�k �r$}�|�d�t�|���7}�g��}�n�X|�sr|��r_���j�j�d�k�r_t �j �d�d�d �|�����qr���j�j�|���n��x4�|�D],�\�}�}����j�j�t��d���|�|�f���qyWd�S(���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 transs���pre.s3���Could not determine free space on logical volumes: s���snapshot-failuret���anyR����s���Aborting transactiont���errorss���reason=automaticR*���s���Failed to create snapshott���tagss���: s(���Created snapshot from %s, results is: %sN(���s���snapshot-failures���any(���s���snapshot-failures���any(���R ���t���fssnapt ���has_spaceR����t���fssnap_percentageR ���R!���Rb���t���fssnap_abort_on_errorsR����t���YumRPMTransErrorR{���Rv��t���snapshotR��(���t���postR����Rr��R����Rp��t���snapst���odevt���ndev(���RI���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���create_snapshot���s0���� " s���Snapshot support not available.s���broken-setupRn��R����s���Aborting transaction.Ro��t���keyc���������S���s���|��d�|��d�f�S(���Nt���ctimet ���origin_dev(����(���t���x(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����t���reverses���<n/a>i����i���R~��t���devR���s���Deleted %u snapshots.s3���Skipping the cleanup of old snapshots due to errorst���pretranss���yum-metadata-parsert���patternst ���main_onlyR����Rd��R���t��� t���cmdst���_shell_history_writet���historybeginR/��t���saved_txR��sI���Warning: scriptlet or other non-fatal errors occurred during transaction.t ���historyendi���s���Transaction couldn't start:s���Could not run transaction.t ���ts_all_fnt ���ts_done_fns$���Failed to remove transaction file %st ���posttranst���verify_txmbrRc��Rw��(���s���broken-setups���anyN(���R���R���(W���Rb���R����t���fssnap_automatic_pret���fssnap_automatic_postRq��R>��R ���Rt��R����Ru��R{���Rv��t���fssnap_automatic_keept ���old_snapshotsR ���R����R!���R9���R����Re��t ���del_snapshotsR"��R��R����R��t���isTsFlagSetR���t���RPMTRANS_FLAG_TESTR;���R����R]���R^���t���_xml2sqlite_localR����R����t���history_recordR���t���futureRpmDBVersiont���listRF��t���returnPackagest ���simpleVersionR����t���lastR���t���end_rpmdbversionR���R���R���Rm��R���R���t���joinR���t���begRu���t���_store_config_in_historyR���t���transactionResultVersionRt���t���opent���readt���write_addon_dataR����t���unlinkt���IOErrort���OSErrort ���reset_nicet���niceRQ���R����t ���GenericHoldert���return_codeR-���R.���t���endRz���t���cleanUsedHeadersPackagesR����t���unlink_fR��t���dropCachedDataPostTransactionR���t���verifyTransactionRj��R����t���save(!���RI���R����R{��R����t���cleanup_failRx��R����R���R���t���todelt���snapR[���t���frpmdbvt���using_pkgs_patst ���using_pkgst���rpmdbvt���lastdbvt���rpmdb_problemsR���R���Rd��t���output_warnt���cmdlinet ���savetx_msgt���oniceRo��t���resultobjectt ���errstringR��t���herrorsR����R7���t���vTcb(����(���RI���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���runTransaction���s��� % # "% % c������������s�����f�d����}�|��j��j�}�|�s3�t�j�d���}�n��|�d�k�rH�d�}�n'�|�ro�d�j�t�|�j�d�������}�n��t�j����}�|��j�j �d���d�}�x�|��j �D]�}�|�j�t�k�r��|��j �j�d�|�j���s|��j�j�t�d ���|�j���t�|�_�|�|�|���}�q��n��|�|�|���}�|��j�|�j���}�|�j�} �| �j�|�j�_�|�j�|�j�_�|��j��j�d �|�j�_�xk�|��j��j�D]]�} �| �d �k�r�qnn��| �d�k�r�qnn��| �d�k�r�qnn��t�|�j�d �| �|��j��j�| ���qnW|�r�|�|�j�_�n��d�|��j��j�k�rd�|�j�_�n��d�|��j��j�k�r&d�|�j�_ �n��d�|��j��j�k�rGd�|�j�_!�n��d�|��j��j�k�rhd�|�j�_"�n��t#�|��d���r�|��j$�r�d�j�|��j$���|�j�_%�n3�t#�|��d���r�|��j&�r�d�j�|��j&���|�j�_%�n��| �j'����}�|�d#�k �rt)�|�d���|�j�_*�t)�|�d���|�j�_+�n��t,�| �t-���r�y[�t.�j/�| �j0������}�t)�t1�|�j2�����} �t)�t1�|�j3�����}�| �|�j�_4�|�|�j�_5�Wq�q�Xn��| �j6�d#�k �r�| �j6�|�j�_7�n��t#�| �j8�d���r| �j8�j9�}�|�r�|�j:�d#�k �r�t)�|�j:���|�j�_4�n��|�rt)�|�j;���|�j�_5�qn��t#�|�d���r:|�j<�|�j�_<�n��t=�j>����}�|�j?�sa|�j@�sa|�jA�r|�j?�rz|�j?�d�}�n�|�j@�r�|�j@�d�}�n�|�}�d�|�j�k�r�|�j�jB�|�j�_B�n��d�|�j�k�r�|�j�j<�|�j�_<�n��|�d#�k �r&t)�|���|�j�_C�q&n!�|�d#�k �r&t)�|���|�j�_B�n��|��j��jD�rH|��jE�jF�|���qHq��q��Wx |��j �D]��}�|�j�t�k�rnqV|�j�tG�k�r(|��j �j�d�|�j���r�|��j �jH�d�|�j�d�t���s�|��j�j�t�d�|�j�����t�|�_�|�|�|���}�qVq�n��|�|�|���}�|��j �jI�jJ�d�|�j���}�|�jK����qV|�|�|���}�|��jL�jM�tN�jO�d�|�j���qVW|��j�j �d���|��j �jP�d�tQ���d�}�|��j��jD�r�|��jR�jS�t�jT���r�d �}�|�d#�k �r�|�jU�}�n��|��j�j �d!���|��jE�jV�|�|���n��|��j �jW����|��jL�jX�d"�t�j����|���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 c������������s*������d��k �r&�|�d�7}����|��|���n��|�S(���Ni���(���R���(���R���R��(���t���txmbr_cb(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_call_txmbr_cb���s���� s���%_install_langsRT��R��t���:t���preverifytransi����R���s+���%s was supposed to be installed but is not!RG���R����RF���t���var_t ���nocontextst���truet���nodocst ���noscriptst ���notriggersR���R���R���i���R���t���group_membert���installed_byRc���t ���output_statess)���%s was supposed to be removed but is not!s���What is this? %st���postverifytransR���i����R���s���VerifyTransaction time: %0.3fN(Y���R����t���override_install_langsR���t���expandMacroR���R����t���splitR����R;���R����R���R���R���RF��R���R���Rz���Rv��R ���t ���TS_FAILEDt���getInstalledPackageObjectRc���R���t ���yumdb_infot ���from_repot���reasonR����RG���R����t���ts_install_langst���tsflagst���tsflag_nocontextst ���tsflag_nodocst���tsflag_noscriptst���tsflag_notriggersR���R���t���command_lineR���t���returnIdSumR���R����t ���checksum_typet ���checksum_dataR��R&���R����R����t���localPkgR���t���st_ctimet���st_mtimet���from_repo_revisiont���from_repo_timestampt���xattr_origin_urlt ���origin_urlR[���R���t���revisiont ���timestampR���R����t���getloginuidRD��t ���downgradest ���reinstallR���t ���changed_byR���R����t ���sync_alldbR���R���t���yumdbt���get_packaget���cleanR{���R��R����RE��R���R9���R��R���R���R���R���R��R����(���RI���R���R���R���t���oilt���vt_stR��R���R���t���rpot���vart���csumt���stt���lp_ctimet���lp_mtimet���mdt���loginuidt���opot ���yumdb_itemR���t���ret(����(���R���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����� ! ���%� !" c��� ������C���s����i��}�x3�|��j��j����D]"�}�|�j�|�j�g����j�|���q�Wt�|���d�k�rR�d�St�}�d�}�g��}�xw�t�|���D]i�}�|�r��xC�|�|�D]4�}�t�|�|��j����}�|�j �j �|�j�|�d�|���q��Wn��|�j�|�|���t �}�qq�Wd�S(���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. i���Ns���yum.costexcludess���exclude.pkgtup.in(���R]���R^���R3��R_���Re��R"��Rb���R����RY���R`���t���addPackageExcluderR����R��R9���( ���RI���t���costsR/��t���donet���exidt���oreposR_���R[���t���yce(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR9��C��s ���� c���������C���s����d�|��j��j�k�r�d�S|�sM�d�|��j��j�k�r2�d�S|��j��j�}�d�}�d�}�n8�|�j�|��j��j�k�rf�d�S|�j����}�|�j�}�d�|�}�d�}�xA�|�D]9�}�|�d�7}�d�|�|�f�}�|��j�j�|�|�d �|���q��Wd�S( ���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 RT��NR����s���yum.excludepkgss���yum.excludepkgs.i����i���s���%s.%us ���exclude.match(���R����t���disable_excludesR0��R���R����t���getExcludePkgListRH��R��(���RI���R[���t���excludelistR���t���exid_begR��t���matchR��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR5��]��s$���� c���������C���s����x<�t��|��j�d�g����D]%�}�|�d�k�s7�|�|�j�k�r�d�Sq�W|�j����}�t�|���d�k�ra�d�Sd�}�|��j�j�|�j�|�d���d�}�xD�|�D]<�}�|�d�7}�d�d �|�f�}�|��j�j�|�j�|�d �|���q��Wd�}�|��j�j�|�j�|�d���d�S( ���s����Remove packages from packageSacks based on list of packages to include. :param repo: the repository to use t���disable_includesRT��Ni����s���yum.includepkgs.1s���mark.washedi���s���%s.%us���yum.includepkgs.2s ���wash.matchs���yum.includepkgs.3s���exclude.marked(���R����R����R����t���getIncludePkgListR"��RH��R��(���RI���R[���t���dit���includelistR��R��R��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR7��}��s���� c���������C���sK��|��j��j�d�k�rC�|��j��j�r"�d�S|��j��j�}�t�j�j�|���}�n�|��j��j�}�|�d�|�}�t�j�j�|���}�t �t�j ������}�x��t�r|��j�|�|�d���}�|�r��Pn��|��j �|���}�|�s��|��j�|���q��n��|�t�j ����k�r��d�}�Pn��t�d���|�|�f�}�t�j�d�|�|�����q��W|�d�k�r,d�S|�d�k�s>t���|�|��_�d�S(���s����Acquire the yum lock. :param lockfile: the file to use for the lock :raises: :class:`yum.Errors.LockError` i����NR6���i���i���s4���Existing lock %s: another copy is running as pid %s.i���(���R����R����RX���RW���R����R����t���basenameR����R����R����t���getpidR9���t���_lockt���_get_lockert���_unlockR ���R����t ���LockErrort���AssertionErrorRp���(���RI���t���lockfileR8���t���mypidR��t���oldpidR����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���doLock���s4���� c���������C���s����t��|��d���r�d�S|��j�j�d�k�r.�d�}�n��|�d�k �rW�|��j�j�}�|�d�|�}�n�|��j�d�k�rj�d�S|��j�}�|��j�|���d�|��_�d�S(���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����Ni����R6���(���R���R����R����R���R����Rp���R��(���RI���R��R8���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�������s���� R��i���c���������C���s����t��j�j�|����}�ya�t��j�j�|���s+�d�St��j�|��t��j�t��j�Bt��j�B|���}�t��j�|�|���t��j �|���d�SWnc�t �k �r��}�|�j�t�j�k�s��t �d���|��t�|���f�}�t�j�|�j�|�t�|�������n��d�SXd��S(���Ni���i���s ���Could not create lock at %s: %s i����(���R����R����t���dirnameR����R���t���O_EXCLt���O_CREATt���O_WRONLYt���writeR����R���t���errnot���EEXISTR ���R/���R����R��R���(���t���filenamet���contentst���modet���lockdirt���fdR����t���errmsg(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�����s����& !c���������C���s���t��j�|����d��S(���N(���R����R���(���R#��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�����s����c���������C���s:��y�t��|��d���}�WnD�t�t�f�k �rY�}�t�d���|��|�f�}�t�j�t�j�|�����n�Xy�t�|�j ������}�Wn�t �k �r��d��SXy4�t��d�|���j ����}�|�j����d�d�k�r��d��SWnz�t�k �r5y�t �j�|�d���Wq6t�k �r1}�|�d�t�j�k�rd��St�d���|�}�t�j�t�j�|�|�����q6Xn�X|�S(���NR/��s���Could not open lock %s: %ss ���/proc/%d/stati���t���Zi����s#���Unable to check if PID %s is active(���R���R���R���R ���R����R��R!��t���EPERMR���t���readlineR��R���R���R����t���killt���ESRCH(���R��R'��R����R����R��R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�����s,������ � c��� ������C���s/��t��}�t�|���t�j�k�r'�|�j�}�n��|�|�j����k�rE�|�|�_�n��|�j����sZ�t�}�n3�t �|��j �j����|���}�|�j�|�j�k�r��t�}�n��|�r+t �j�|���d�}�t�|�j���}�|�|�k�r��|�j�j�r��|�j�|�j�j���r��t �j�|���q��n��|�r$t�d���|�j�j�}�t�d�|�����q+t��Sn��t�S(���s��Check 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 i���s\���Package does not match intended download. Suggestion: run yum --enablerepo=%s clean metadatai����(���Rb���RX��t���typest���InstanceTypeR#��R���t ���localpatht���verifyLocalPkgR9���R&���RF��R���Rc���R����R����t���longt���sizeR[���RX���t ���startswitht���pkgdirR���R ���R����R���( ���RI���t���foR���t ���raiseErrort���failedt���ylpt���cursizet���totsizeR����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���verifyPkg ��s*���� c���������C���sl���y�t��j�|�|���}�Wn+�t�j�k �rC�}�t�d�t�d�������n�X|�|�k�rh�t�d�t�d�������n��d�S(���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����s���Could not perform checksumi����s���Package does not match checksumi����(���R����t���checksumR����t ���MiscErrorR���R ���(���RI���R6��t���checksumTypeR���t���filesumR����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���verifyChecksumO ��s����c������������s���d����}�i������f�d���������j��j������j�j�d�d�|��t������t���j�d�t�����g��}�d������������f�d����}�g��}�x[�|�D]S�}�t�|�d���r��|�j �d �k�r��q��n��|�|���r��q��n����r����S|�j �|���q��Wt���|��������d�} �} �xv�|�D]n�}�t�|�t ���r^|�|���r>��j�|���q n��| �|�j�7} �| �|�j�j�7} �n��|�j �|�����|�j�7��q W| �r���j�j�t�d ���t�| ���t�| ���d�| �d�| ���n����r�t���d ���rlx��|�D]��}�|�j�j���j�j���s�q�n��|�j�t���j�j���}�y�t�j�|�j���j�|���Wq�y�t�j�|�j���j�|���WqeqeXq�Xq�Wn����j�j������j������j ����n��t!�j!����}�|�} ���}�x9t"�r�|�j#�|���t�t$�j%�d���r�t�|���d�k�r�t$�j%�j&�����n��d�}�d�g���t������t�t$�j'�d���}�x,|�D]$}�|�d�7}�|�������������f�d���}�t�j(�j)�|�j*���}�i��}�|�r�|�j+�j,�r�|����f�d���|�d�<t"�|�d�<nB�|�d�k�o���d�o���|�j�k�s�d�|�t�|���|�f�}�n��y5�|�j+�j-�|�d�|�d�|�d�|�j+�j.�d�k�|��Wq&t/�j0�k �rI}����|�t1�|�����q&Xq&W|�r�y�t$�j'�j2����Wq�t3�k �r�xm�|�D]e�}�|�j�j4�d���r�t5�j6�|�j���q|t�|�t ���r||�j�j�j4�d���r|t5�j6�|�j�j���q|q|W���q�Xn����j7������j8����t�t$�j%�d���r(t$�j%�j&�d���n��t�}�x'���D]�}�t�|�t ���s5t"�}�Pq5q5W��se|�riPn��g��}�d���x1���D])�}�|�j�}�|�j �|�����|�j�7��q|W| �j9�|���|���7}���j:������j�j;�t�d�����q�W|�r��r|�| �|�|���n����s)��j�j�d�d�|�d����n��t�t$�j'�d���rKt$�j'�j<����n����r���r���j�j�t�d�����t=�j>���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` c���������S���s����|��j�����}�|�j�����}�|�d��k�r^�|�d��k�r^�t�t�|�t���t�|��t�����p]�t�|��|���S|�d��k�rn�d�S|�d��k�r~�d�S|�|�k��r��d�S|�|�k�r��d�Sd�S(���Ni����i���i����(���t ���getDiscNumR���t���cmpR��R1���(���t���apot���bpoR-��t���b(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���mediasortp ��s����c������������sB������j��|��g����j�|���|��j�j�d���r>�t�j�|��j���n��d��S(���Ns���.tmp(���R3��Re��R0��t���endswithR����R���(���R���R����(���Ro��(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���adderror� ��s����t���predownloadt���pkglistt���downloadonlyi����c������������sF��|��j�����}�|���k�r6���j�j�t�d���|����t�S��j�|�����ro�t�j�j�|���ro�|��j �j �|����n��t�j�j�|���r����j�|�|��t���r����j�j �t�d���|����t�S|��j �j�r�����|��t�d���|��j �j���t�Sn����rB|��j�d�t�j����7_�y�t�j�|�|��j���Wn�t�k �r-n�X|��j����|��j�n��t�S(���Ns���ignoring a dupe of %ss���using local copy of %ss4���package fails checksum but caching is enabled for %ss���.%d.tmp(���R���R{���R����R ���R9���R����R����R����R����R[���t���_preload_pkg_from_system_cacheR<��Rb���R����RX���R����R0��R��t���renameR���R���t���basepath(���R���t���local(���RI��t ���beenthereRL��RI���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���verify_local� ��s0���� � � t���pkgtypeRP��s3���Delta RPMs reduced %s of updates to %s (%d%% saved)id���g������Y@R���t���text_meter_total_sizei���t ���parallel_waitc������������s9����j��|��|�d���|�j�j�d���r]�|�j�j�d�d���d�}�t�j�|�j�|���|�|�_�n����d�c�|�j�7<t�t�j �d���r��t�j �j �����d���n��t�|�t���r����j �|���d��S��j����|�j����k�r���j�|�j�����j�|���\�}�}�|�d�k�r��j�j�d�|���qn��|���k�r5��|�=n��d��S(���Ni���s���.tmpR4���i���i����RT��s���%s(���R<��R0��RH��t���rsplitR����RN��R3��R���t ���urlgrabbert���progressRT��R��R1���t���rebuildt���dequeue_maxR���R����t���sigCheckPkgR{���R����(���t���objR���t���rpmfilet���resultR(��(���t ���done_reposRo��t ���local_sizet���prestot���remote_sizeRI���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���checkfunc� ��s(���� c������������s������|�t��|��j�����S(���N(���R/���t ���exception(���R\��R���(���RI��(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR��� ��s����t���failfuncR��s���(%s/%s): %sRc��t���textRX���t���nones���.tmps9���Some delta RPMs failed to download or rebuild. Retrying..t���postdownloadRo��t���reset_curl_objs)���exiting because "Download Only" specified(@���R����R����R;���R����R����R����R����Rb���R���RS��Re��R0���R��R1���RY��R3��R���R{���R��R ���R���R0��R4��RW���R"��R����t���linkR���t���shutilt���copy2R]���R����R����R����R9���R^��RW��RX��RT��t���grabberR����R��t���relativepathR[���R ��t ���getPackaget���http_cachingR����R����R/���RU��t���KeyboardInterruptRH��R����R���t���dequeue_allt���waitR��t���clearR����Ri��t���syst���exitR����(���RI���RK��RQ���t���callback_totalRG��t���remote_pkgsRR��R��R���t ���deltasizet���rpmsizeR���t���beg_downloadt���all_remote_pkgst���all_remote_sizeR����R��Rc��Rf��R���R����t���fatal(����( ���RI��RQ��R_��RL��Ro��R`��Ra��Rb��RI���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���downloadPkgsd ��s����� ( ! & $ c���������C���s����t��|���t�j�k�r!�|�j�}�n��y�t�j�|���}�|�d�}�Wn<�t�j�t�f�k �r|�|�ru�t�d�t �d�������q}�d�Sn�Xt �|���}�|�j�|�j�k�r��|�r��t�d�d�����q��d�Sn��d�S(���s���Check that the header of the given file object and matches the given package. :param fo: the file object to check :param po: the package object to check :param raiseError: if *raiseError* is True, a :class:`URLGrabError` will be raised if the header matches the package object, or cannot be read from the file. If *raiseError* is False, 0 will be returned in the above cases :return: 1 if the header matches the package object, and 0 if they do not match, and *raiseError* is False :raises: :class:`URLGrabError` if *raiseError* is True, and the header does not match the package object or cannot be read from the file i����i����s���Header is not complete.s'���Header does not match intended downloadi���(���RX��R.��R/��R#��R���t���readHeaderListFromFileR��t ���IndexErrorR���R ���R'���Rc���(���RI���R6��R���R7��t���hlistt���hdrt���yip(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���verifyHeaderS ��s����c��� ������C���s���t��|�d���r"�|�j�d�k�r"�d�Si��}�|�j����}�|��j�j�|�j���}�t�j�j�|���r��y�|��j �|�|�d�d��}�Wn �t �k �r��}�t�j�|���q��X|�|�_ �d�Sn(�|��j�j�r��t�j�t�d���|�j ���n��|��j�r��|��j�j�|�j���n��yh�t�j�j�|�j���st�j�|�j���n��|��j �|�d�f�i��f�}�|�j�|�d�|�d�|�j�d �k��}�Wn[�t�j�k �r�}�|�} �y�t�j�|���Wn�t�k �r�}�t�j�| ���q�Xt�j�| ���n�X|�|�_ �d�Sd�S( ���s����Download a header from a package object. :param po: the package object to download the header from :raises: :class:`yum.Errors.RepoError` if there are errors obtaining the header RS��RP��NR7��i���sK���Header not in local cache and caching-only mode enabled. Cannot download %sRc��RX���Rg��(���R���RS��t���localHdrR]���t���getRepoR���R����R����R����R���R���R����R���t���hdrpathR����RX���R����R����R ���t ���dsCallbackt���downloadHeaderR��t���hdrdirt���makedirst ���getHeaderRp��R���( ���RI���R���Ro��RP��R[���R^��R����Rc��R���t���saved_repo_error(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���z ��s@���� � c��� ������C���s���|��j��r�t�}�d�}�n\�t�|�d���rK�|�j�d�k�rK�|��j�j�}�d�}�n)�|��j�j�|�j���}�|�j �}�|�j �}�|�r�|��j�j����}�t �j�j�|�|�j����d�|��j�j��}�t�j�j�|�j������}�|�d�k�r��d�}�d�} �q�|�d�k�r|�r��d�}�n�d�}�t�d���|�} �q�|�d�k�r<d�}�t�d ���|�} �q�|�d �k�rv|�rWd�}�n�d�}�d�}�t�d���|�} �q�|�d�k�r�d�}�t�d ���|�} �q�n�d�}�d�} �|�| �f�S(���s���Verify the GPG signature of the given package object. :param po: the package object to verify the signature of :return: (result, error_string) where result is:: 0 = GPG signature verifies ok or verification is not required. 1 = GPG verification failed but installation of the right GPG key might help. 2 = Fatal GPG verification error, give up. i����RS��RP��t���payloadR��i���i���s"���Public key for %s is not installeds���Problem opening package %si���s ���Public key for %s is not trustedi���s���Package %s is not signed(���R}���Rb���R���RS��R����t���localpkg_gpgcheckR]���R���R���t���gpgcheckt���gpgkeyRF��R���RC��t ���miscutilst���checkSigR���t���payload_gpgcheckR����R����R��R ���( ���RI���R���t���checkt ���hasgpgkeyR[���R��t ���sigresultt���localfnR^��R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR[��� ��sJ���� c���������C���s���g��}�x|��j��D]}�|�j�j�t�k�r.�q�n��|�j�j�d�k�rF�q�n��|�j�j�|��j�j�k�rd�q�n��|�j�j�j�ry�q�n��|��j�j�|�j�j�}�t�}�x*�|�j �D]�}�|�j �d���r��t�}�Pq��q��W|�r��|�j�|�j�j ����g���q�|�j�j�|�j�|�j�j����|�j�j ����g���q�Wx��|�D]��}�t�j�j�|���s<qn��y�t�j�|���Wn/�t�k �r~}�|��j�j�t�d���|���qqX|��j�j�t�j�t�d���|���qWd�S(���s`���Delete the header and package files used in the transaction from the yum cache. R����s���file:s���Cannot remove %ss ���%s removedN(���R���R���RG��R���R���R]���R[���t ���keepcacheRb���t���baseurlR4��R9���R��R���R���R���R����R����R����R����R���R���Rz���R����R ���R{���R��R����R��(���RI���t���filelistR���R[���RP��t���uR7���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���� ��s<���� ) c���������C���s���d�g�}�|��j��|�d�d���S(���s+���Delete the header files from the yum cache.R���R���Rc��(���t���_cleanFiles(���RI���t���exts(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���cleanHeaders��s���� c���������C���s���d�g�}�|��j��|�d�d���S(���s,���Delete the package files from the yum cache.R���R5��t���package(���R���(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���cleanPackages��s���� c���������C���s(���d�d�d�d�d�g�}�|��j��|�d�d���S(���s+���Delete the sqlite files from the yum cache.t���sqlites ���sqlite.bz2s ���sqlite.gzs ���sqlite.xzs���sqlite-journalRW���(���R���(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���cleanSqlite ��s���� c���������C���s.���d�d�d�d�d�d�d�g�}�|��j��|�d�d ���S( ���s-���Delete the metadata files from the yum cache.s���xml.gzt���xmlt���cachecookies���mirrorlist.txtt���ascs���xml.bz2s���xml.xzRW���t���metadata(���R���(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���cleanMetadata'��s����c���������C���s���d�d�g�}�|��j��|�d�d���S(���so���Delete the local data saying when the metadata and mirror lists were downloaded for each repository.R���s���mirrorlist.txtRW���R���(���R���(���RI���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���cleanExpireCache/��s����c���������C���sP���|��j��j�d�}�t�j�j�|���s+�g��}�n�t�j�|�d�g����}�|��j�d�|���S(���s,���Delete any cached data from the local rpmdb.s���/rpmdb-indexes/R��RF��(���R����R����R����R����R����R����t���getFileListt���_cleanFilelist(���RI���RW���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���cleanRpmDB6��s ���� c���������C���sw���|��j��j�j����}�x�|�D]�}�d�|�|�<q�Wt�j�|��j��j�|��j��j���}�t�j�|��j��j�|���}�|�|�j�d�d���S(���s{���Return a glob matching all dirs where yum stores cache files, based on cachedir and the given list of dynamic vars.R*���s���//R6���(���R����R����t���copyR����R���R����t���_pristine_cachedirt���replace(���RI���t���dynvarR����t���dt���instrootRW���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���getCachedirGlob@��s���� c���������C���s����g��}�xs�|�D]k�}�xb�|��j��j����D]Q�}�t�|�|���}�t�j�j�|���r#�t�j�j�|���r#�t�j�|�|�|���}�q#�q#�Wq �W|��j �|�|���S(���N( ���R]���R^���R����R����R����R����R����R����R���R���(���RI���R���t���pathattrt���filetypeR���t���extR[���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���J��s���� $ c���������C���s����d�}�x��|�D]x�}�y�t��j�|���Wn2�t�k �rX�}�|��j�j�t�d���|�|���q �q �X|��j�j�t�j �t�d���|�|���|�d�7}�q �Wt �d�d�|���|�|�f�}�d�|�g�f�S(���Ni����s���Cannot remove %s file %ss���%s file %s removedi���s���%d %s file removeds���%d %s files removed(���R����R���R���Rz���Rv��R ���R{���R��R����R��R���(���RI���R���R���t���removedt���itemR����R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���S��s���� RT��c���+������C���s ��|�d�k�r�|��j�j�}�n��t�j�d�|���}�g��}�g��}�g��} �g��} �g��}�g��}�g��} �g��}�g��}�|�}�|�d�k�r�i��}�i��}�x��|��j�j�d�|�d�|���D]x�}�t�j�|�g�|���s��q��n��|�|�|�j�<|�r��q��n��|�j �|�j �f�}�|�|�k�s|�j�|�|���r��|�|�|�<q��q��W|�j����}�|�rO|��j �j�d�|�d�|�d�|���}�nm�|�r�|��j �j�|�}�|�j�d�|�d�|���}�n<�y�|��j �j�d�|�d�|���}�Wn�t�j�k �r�g��}�n�Xx�|�D]��}�|�r�|�j�|�k�r�| �j�|���q�|�j�|���q�|�j �|�j �f�}�|�j�|�k�r/| �j�|���q�|��j�j�|�j �d�|�j ��}�|�rjt�|���d�|�|�<n��|�|�k�s�|�j�|�|���r�|�j�|���q�| �j�|���q�Wn|�d�k�r�x��|��j�j����D]��\�}�}�}�}�}�|��j �j�d �|�d�|�d �|�d�|�d�|���}�t�j�|�|���}�t�|���d �k�rf|�j�|�d���|��j�j�t�j�t�d���|�d���q�t�|���d �k�r�|�j�|�d���q�|��j�j�t�j�t�d���|�|�|�|�|���q�W|�r� t�|�|�d�|��\�}�}�} �|�|�}�q� n�|�d�k�r,|��j�j�d�|�d�|���}�t�j�|�|���}�n�|�d�k�r�|�rb|��j �j�d�|�d�|�d�|���}�nm�|�r�|��j �j�|�}�|�j�d�|�d�|���}�n<�y�|��j �j�d�|�d�|���}�Wn�t�j�k �r�g��}�n�Xx�|�D]��}�|�r|��j�j�d�|���r| �j�|���q�|�j�|���q�|��j�j�|�j �d�|�j ��}�|�rTt�|�d�t��d�}!�n��|�sj|�j�|!���rz|�j�|���q�|�j �|!���r�| �j�|���q�| �j�|���q�Wn|�d�k�rC|��j �j!�d�|�d�|���}�t"�|���}�x�|��j�j�d�|�d�|���D]@�}�t�j�|�g�|���sq�n��|�j�|�k�r�|�j�|���q�q�Wny|�d�k�r�xj|��j�j�d�|�d�|���D]L�}�t�j�|�g�|���s�qkn��|��j �j#�|�j �g���r�qkn��|�j�|���qkWn�|�d�k�r�d �|��j�_$�x��|��j�j%����D]��\�}"�}#�|"�\�}�}�}�}�}�|��j �j�d �|�d�|�d�|�d�|�d �|���}$�t�j�|$�|���}$�|��j&�|#���}%�t�|$���d �k�r�|��j�j�t�j�t�d���|$�d���n��t�|$���d �k�r�|�j�|$�d���| �j�|$�d�|%�f���q�q�W|�rTt�|�|�d�|��\�}�}�} �|�|�}�t"�|���}&�g��}'�x9�| �D]1�\�}�}%�|�|&�k�r4qn��|'�j�|�|%�f���qW|'�} �n��|�s� t'�|���}�t"�|���}(�g��}'�x9�| �D]1�\�}�}%�|�|(�k�r�qn��|'�j�|�|%�f���qW|'�} �q� n��|�d�k�r� t(�j(����})�|)�|��j�j)�d�}*�|�r |��j �j�d�|�d�|�d�|���}�nm�|�rG |��j �j�|�}�|�j�d�|�d�|���}�n<�y�|��j �j�d�|�d�|���}�Wn�t�j�k �r� g��}�n�Xx6�|�D]+�}�t*�|�j+���|*�k�r� |�j�|���q� q� Wn��|�|�_,�|�|�_-�| �|�_.�| �|�_/�|�|�_0�|�|�_$�| �|�_1�|�|�_)�|�|�_2�|�S(���sO��Return a :class:`yum.misc.GenericHolder` containing lists of package objects. The contents of the lists are specified in various ways by the arguments. :param pkgnarrow: a string specifying which types of packages lists to produces, such as updates, installed, available, etc. :param patterns: a list of names or wildcards specifying packages to list :param showdups: whether to include duplicate packages in the lists :param ignore_case: whether to ignore case when searching by package names :param repoid: repoid that all pkgs will belong to :return: a :class:`yum.misc.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 t���iterRT��R���t���ignore_caseR���RF���i����RD��R��R��t���verRH��i���i����s,���More than one identical match in sack for %ss*���Nothing matches %s.%s %s:%s-%s from updatet ���casematchR����R>��R���R���t���extrass ���distro-extrasRJ��t���recenti�Q�N(3���R���R����t���showdupesfromreposR����R���RF��R���t���filter_pkgs_repoidRc���R��RF���t���verGTR=��RH��t���sackst���returnNewestByNameArchR����t���PackageSackErrorRe��R+��R����R��t���getUpdatesListR"��R{���R��R����t���DEBUG_1R ���R#���R���R9���R���RG��R����R���RJ��t���getObsoletesTuplesR���R���R����R���R���t���filetimeR����R>��t���reinstall_availablet ���old_availableRD��t���obsoletesTuplesR���(+���RI���t ���pkgnarrowR���t���showdupsR���R���t���yghR����R>��R���R���RD��RJ��R���R���R���t���ict���dinstt���ndinstR���R|��t���availR���t���ipkgsR,��R-��R����R.��R/��t���matchest ���exactmatchR0��t ���unmatchedt���latestRc���t���instTupR��t���instpot���matched_obsoletest���nobsoletesTuplest���filtt���nowt���recentlimit(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���doPackageListsb��sn��� % - c���������C���s����i��}�x��|�D]��}�i��|�|�<|�j��}�|�j����|�|�}�xo�|�D]g�}�|�\�}�}�} �|�j�d���rk�qA�n��g��} �x*�|��j�|�|�| ���D]�}�| �j�|���q��W| �|�|�<qA�Wq �W|�S(���s;��Return the dependencies for a given package object list, as well as possible solutions for those dependencies. :param pkgs: a list of package objects :return: the dependencies as a dictionary of dictionaries: packageobject = [reqs] = [list of satisfying pkgs] s���rpmlib((���RU��R^��R4��t���whatProvidesRe��(���RI���R��t���resultsR���t���reqst ���pkgresultst���reqR/��t���fR.��t ���satisfiersR���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���findDepsg��s���� c���%������#���s��g��}�x'���D]�}�|�j��t�j�|�|�����q �Wi��} �g��} �g��}�g����i����d�}�i�����xX�|�D]P�} �|�j��| �����j��| �j������| ���| �j����<���j�| �|���|�d�8}�qa�Wx3�|��j�j�j����D]�}�| �j�|�j �|�|�����q��W������f�d����}�|�| �| ���|�rK|��j �j �����d�t��} �|��j����|�| �| ���~ �n��i��}�|�r|��j �����} �x��| �D]��}�d�}�g��}�g��}�xv�| �|�D]j�\�}�}�|�t�|���7}�|�j����|���|�j�|���|�|�k�r�g��|�|�<n��|�|�j��|�|�f���q�WqmW~ �n��| �j����rxxa�| �j����D]P�}�xG�|�D]?�\�}�}�}�|�|�k�rVg��|�|�<n��|�|�j��|�|�f���q.Wq!Wn��i��} �x��|�D]��}�g��}�g��}�x2�|�|�D]&�\�}�}�|�j�|���|�j�|���q�Wt�j�|���}�t�j�|���}�t�|���}�|�| �k�rg��| �|�<n��| �|�j��|�|�|�f���q�Wt�j�d�����d����}�|�rl���f�d��������f�d����}�n��i��}�x�t�t�| �����D]�}�d �}�x0t�| �|�d����D]} �|�r�| �\�}!�}"�}#�n��| �d�j�| �d�j�f�|�k�r�q�n��| �d�j�| �d�j�f�}$�|�d �k�s5|�d�|$�k�rG|�|�d�| ���rG|$�| �f�}�q�n��|�d�\�}!�}"�}#�|�d�|$�k�rsd �}�n�|$�| �f�}�|�r�|!�|"�|#�f�Vn�|!�|#�f�V|�s�d�|�|!�j�|!�j�f�<q�q�W|�d �k �r�|�d�\�}!�}"�}#�|�r�|!�|"�|#�f�Vq|!�|#�f�Vq�q�Wd �S( ���s���Yield the packages that match the given search criteria. This generator method will lighten memory load for some searches, and is the preferred search function to use. :param fields: the fields to search :param criteria: a list of strings specifying the criteria to search for :param showdups: whether to yield duplicate packages from different repositories :param keys: setting *keys* to True will use the search keys that matched in the sorting, and return the search keys in the results :param searchtags: whether to search the package tags :param searchrpmdb: whether to search the rmpdb i����i���c��� ���������s����x��|��D]��\�}�}�t�����}�g��}�|�|�k�r;�g��|�|�<n��xv���D]n�}�xe����D]]�}�t�t�|�|�����}�|�rO�|�j����j�|���d�k�rO�|�j�|���|�j���|���qO�qO�WqB�Wt�|���d�k�r�|�|�j�|�|�|�f���q�q�Wd��S(���Ni����i����(���R����R-���R����t���lowerR����Re��R����R"��( ���t���tmprest���sorted_listsR���R��t���tmpkeyst ���tmpvaluest���st���fieldR���(���t���fieldst���rcl2ct���real_crit_lower(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���results2sorted_lists���s���� � ! t���loweredc���������S���s���t��S(���N(���R9���(���R��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR��� ��s����c������������sM���t�����f�d����|��d�D����t�|��d���d�j�t�|��d�����|��d�f�S(���Nc���������3���s���|��]�}����|�Vq�d��S(���N(����(���RS��t���y(���t���critweights(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pys ���<genexpr> ��s����i���i���t����i����(���t���sumR"��R���R����(���R��(���R���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR��� ��s���c������������s������|����d� ���|���d� k�S(���Ni����(����(���R��R���(���t ���sort_func(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR��� ��s����R|��N(���Re��t ���RPM_TO_SQLITER����R���R3��RH��R���R=��R��t"���searchPrimaryFieldsMultipleStringsRF��R9���R����t���searchPackageTagsR"��R����t���uniquet���operatort ���itemgettert���reversedR����R���R��RF���(%���RI���R���t���criteriaR���R���t ���searchtagst���searchrpmdbt ���sql_fieldsR���R���R���t ���real_critt ���critweightR���R`���R���t���results_by_pkgR���R��t ���matchkeyst ���tagresultsR��t���taglistR���t���kR.��t���totkeyst���totvalst���dupt���yieldedR`��R���t���sl_valsR���t���kst���vst���na(����(���R���R���R���R���R���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���searchGenerator���s����� " / c��� ������C���s����i��}�x��|�D]��}�|�j�����}�|��j�j�|���}�xu�|�j����D]g�\�}�}�|��j�j�d�|���}�|�sk�q>�n��|�d�}�|�|�k�r��g��|�|�<n��|�|�j�|�|�f���q>�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 R��i����(���R���R���t���search_tagsR����RH��R+��Re��( ���RI���R��R���t���cRk��R��R ��R��R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���: ��s���� c���������C���s����t��j�t�d���t�j�d�d��i��}�|��j�|�|���}�xT�|�D]L�\�}�}�|�r`�|�|�|���n��|�|�k�ry�g��|�|�<n��|�|�j�|���q>�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) so���searchPackages() will go away in a future version of Yum. Use searchGenerator() instead. R����i���(���R����R����R ���R����R����R��R��(���RI���R���R��RQ���R���t ���match_genR���t���matched_strings(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���searchPackagesR ��s���� c���������C���se��d����}�i��}�xf|�D]^}�t��|���}�|�|���\�}�}�|�sX�t�} �|��j�|���} �n�t�} �|��j�j�|���} �|��j�j�t�j �t �d�d�t�| �����t�| �����x�t�| ���D]�}�|��j�j�t�j �t�d���|���g��}�| �r��|�j�|���n��|�r|�r|�j�|���n��|�r{|�r{|��j�j�t�j �t�d�����xD�|�j�|�j�|�j�D](�} �t�j�| �|���rL|�j�| ���qLqLWn��|��j�j�t�j �t�d�����x��|�j�D]v�\�}�}�\�}�}�}�t�j�|�|�|�|�|�f�f���}�| �s�t�j�|�|���st�j�|�|���r|�j�|���qq�q�Wt�|���d�k�r��|�rc|�rS|�rS|�|�|�|���qc|�|�|���n��|�|�|�<q��q��Wq�Wd�d �d �g�}�d �g�}�x�|�D]�}�|�|���\�}�}�|�s5|��j�|���} �t�} �x�| �D]]�}�|�g�}�t�|���d�k�r�|�r!|�r|�|�|�|���q!|�|�|���n��|�|�|�<q�q�Wq�t�} �|��j�} �|�rS|�}�n�|�}�t�j�t�j�|�����}�x��t�| ���D]��}�g��}�g��}�xa�|�D]Y�}�t�|�|���}�|�d�k�r�q�n��t�|���t�j �k�r�|�j!�|���q�|�j�|���q�Wx-�|�D]%�}�|�j"�|���r�|�j�|���q�q�Wt�|���d�k�r~|�rL|�|�|���n��|�|�|�<q~q~Wq�W|�S(���sn��Search for and return a list package objects that provide the given files or features. :param args: a list of strings specifying the files and features to search for the packages that provide :param callback: a callback function to print out the results as they are found :param callback_has_matchfor: whether the callback function will accept a list of strings to highlight in its output. If this is true, *args* will be passed to *callback* so that the files or features that were searched for can be highlighted c���������S���sF���t��j�|����s'�t�}�|��j�d���}�n�t�}�t��j�|����}�|�|�f�S(���NR6���(���R����R����Rb���R4��R9���t���re_filename(���R����t���isglobt ���canBeFile(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_arg_data| ��s����s���Searching %d packages���Searching %d packagess���searching package %ss���searching in file entriess���searching in provides entriesi����R���t���dirnamest���provides_namesN(#���R-���R9���t���returnPackagesByDepRb���RH��t���searchProvidesR{���R��R����R���R���R"��R����RE��R ���Re��t���dirlistR���t ���ghostlistR����RW��R����t���prco_tuple_to_stringt���returnInstalledPackagesByDepRF��t���reRy��t ���translateR����R���RX��R.��t���ListTypeR��R��(���RI���R���RQ���t���callback_has_matchforR��R���R����R��R��t ���usedDepStringt���whereR���R���t���thisfilet���p_namet���p_flagt���p_et���p_vt���p_rt���provR ��t���taglist_provonlyt���arg_taglistt ���arg_regext ���searchlistt���tagt���tagdataR���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���searchPackageProvidesm ��s����� " "!$ c���������C���s8��i��}�|�s�|��j��j�d�k�r#�|�Si��}�|�j�|��j�j�k�rW�|��j�j�|�j�j�}�n��t�t�|�����}�t�|�d���r��|�j �|�j ���n��x��|�D]��}�|��j�j�|�g���}�|�|�k�r��|�r��d�|�|�<q��n��|�s��d�|�|�<q��n��xG�|�D]5�}�|�j �j�d�d���|�j�k�rq��n��d�|�|�<Pq��Wd�|�|�<q��W|�S( ���s���� Return a dict of pkg_name => (installed, available, backlisted-installed, blacklisted-available). Rc��t���packagesR>��s���blacklisted-availableR���R��R����s���blacklisted-installed(���R����Rj��Rn��R����Rl��t ���pkg_namesR����R���R���R ��R:��RF��R���R���R����(���RI���t���groupR��R;��t ���all_pkg_namest���pkg_nameR���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_groupInstalledData� ��s0���� c���������C���s��i��}�|�s�|��j��j�d�k�r#�|�Si��}�|�j�|��j�j�k�r]�|��j�j�|�j�}�|�j�}�n��t�t�|�����}�t �|�d���r��|�j �|�j���n��x��|�D]}�}�|��j�j�j�|���}�|�|�k�r��|�r��d�|�|�<q��n��|�s��d�|�|�<q��n��|�j �|�j�k�rd�|�|�<q��d�|�|�<q��W|�S(���s���� Return a dict of grp_name => (installed, available, backlisted-installed, blacklisted-available). Rc��t ���allgroupsR>��s���blacklisted-availableR����s���blacklisted-installed(���R����Rj��Rs��R����Rl��Rq��t ���grp_namesR����R���R���R ��R@��R����t���environment(���RI���t���evgroupR��RA��t ���all_grp_namest���grp_namet���igrp(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_groupInstalledEnvData��s,���� c���������C���s$��d��}�d��}�|�d��k�r��|��j�j�}�|��j�j�d�k�rK�|��j�j�j����}�n��|��j�j�}�|��j�j�d�k�r~�|��j�j�j����}�n��|�|�|�|�f�Sg��}�g��}�xn�|�D]f�} �| �j�d���r��|�j �| �d���q��| �j�d���r��|�j �| �d���q��|�j �| ���|�j �| ���q��Wd�j �|���}�d�j �|���}�|�} �|��j�j�|�d�| ��}�|��j�j�d�k�r�|�d�d�j �g��|�D]�}�|�j�^�qn��}�|��j�j�|�d�| ��}�n��|��j�j �|�d�| ��}�|��j�j�d�k�r|�d�d�j �g��|�D]�}�|�j�^�q���}�|��j�j �|�d�| ��}�n��|�|�|�|�f�S(���NRc��s���@^i���t���@i���t���,t���case_sensitive(���R���R��Rl��R����Rj��R����R=��Rq��R4��Re��R���t ���return_groupsRn��t���return_environmentsRs��(���RI���R���R���t���igrpst���ievgrpst���grpst���evgrpst���gpatst���epatst���patt���csR��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_groupReturnGroups7��s>���� --c���������C���sL��g��}�g��}�g��}�g��}�|��j��j�d�k�r?�t�j�t�d�����n��|��j�|�|���\�} �} �}�}�| �d�k �r��i��} �x�| �D]�}�|�| �|�j�<qv�W| �} �n��|�d�k �r��i��} �x�|�D]�}�|�| �|�j�<q��W| �}�n��x��| �D]��}�| �d�k�r��|�j �}�n"�|�j �| �k�}�|�r| �|�j �=n��|�rN|�r>|�j�rK|�j�|���qKq}|�j�|���q��|�rp|�j�r}|�j�|���q}q��|�j�|���q��Wxk�|�D]c�}�|�d�k�r�|�j �}�n"�|�j �|�k�}�|�r�|�|�j �=n��|�r�|�j�|���q�|�j�|���q�W| �d�k�ri��} �n��|�d�k�ri��}�n��| �s&t���|�s3t���xo�| �j����D]a�}�t��j����}�|�j�|�_ �t�|�_ �|�j �|�_�x�|�j�D]�}�d�|�j�|�<q}W|�j�|���q@Wx`�|�j����D]R�}�t��j����}�|�j�|�_ �t�|�_ �|�j �|�_�t�|�j���|�_�|�j�|���q�W|�r6t�|���t�|���t�|���t�|���f�St�|���t�|���f�S(���s���Return two lists of groups: installed groups and available groups. :param uservisible: If True, only groups marked as uservisible will be returned. Otherwise, all groups will be returned :param patterns: a list of stings. If given, only groups with names that match the patterns will be included in the lists. If not given, all groups will be included :param ignore_case: whether to ignore case when determining whether group names match the strings in *patterns* :param return_evgrps: whether to return environment groups as well as package groups i����s3���No group data available for configured repositoriesi���N(���R��Rk��R����Rw��R ���RU��R���R~��R���R����Rn��t���user_visibleRe��Rs��R��R=��Rm��R9���R��R;��t���mandatory_packagesRr��R���Rl��t���_groupsR����(���RI���t���uservisibleR���R���t ���return_evgrpsR����R>��t ���einstalledt ���eavailableRM��RO��RN��RP��t���digrpsRF��t���ievgrpR��t ���grp_installedt���evgrpt���evgrp_installedR>��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���doGroupLists_��s����� c���������C���s��g��}�|��j��j�|���}�|�s=�t�j�t�d���t�|�����n��x��|�D]��}�|��j�|���}�t�|�_�|�j �}�|�j �}�xv�|�D]n�}�|�|�k�r��|�|�d�k�r��q{�n��|��j�d�|�d�t���} �|�j�| ���x�| �D]�} �| �j �j�|���q��Wq{�W|�rD�|��j�j�|���qD�qD�W|�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 s���No Group named %s existsR����R��t���silence_warnings(���R��RK��R����Rw��R ���R-���R?��R9���t���toremoveR:��Rn��R'��R��Rl��Re��R����t ���del_group(���RI���t���grpidt���txmbrs_usedt���thesegroupst ���thisgroupt���igroup_dataR��R~��R���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���groupRemove���s&���� c������ ���C���s+��|��j��j�|���}�|�s7�t�j�t�d���t�|�����n��x��|�D]��}�t�|�_�|�j�}�x��|�j�D]��}�x��|��j �D]��}�|�j �j�|�k�rp�|�j �j�t �k�rp�y�|�j�j�|���Wn9�t�k �r��|��j�j�t�j�t�d���|�j �|���qp�n�Xt�|�j���d�k�r|��j �j�|�j �j���qqp�qp�Wq`�Wq>�Wd�S(���s����Unmark any packages in the given group from being removed. :param grpid: the name of the group to unmark the packages of s���No Group named %s existss%���package %s was not marked in group %si����N(���R��RK��R����Rw��R ���R-���Rb���Rd��R:��R���R���R��RG��R���Rl��R'��R��R{���R��R����R���R"��Rc���(���RI���Rf��Rh��Ri��R��R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���groupUnremove���s$���� $ c���������C���s����g��}�|��j��j�|���}�|�s=�t�j�t�d���t�|�����n��x��|�D]��}�|��j�|���}�|�j�}�|�j�}�xm�|�D]e�}�|�|�k�r��|�|�d�k�r��qr�n��|��j �|���} �|�j �| ���x�| �D]�} �| �j�j�|���q��Wqr�W|�rD�|��j �j�|���qD�qD�W|�S(���s��Mark 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 s���No Environment named %s existsR����(���R��RL��R����Rw��R ���R-���RG��R@��Rs��Rk��R��Rq��Re��R����t���del_environment(���RI���t���evgrpidRg��Rh��Ri��Rj��RO��R���R��R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���environmentRemove��s$���� c���������C���s��g��}�|��j��j�|���}�|�s=�t�j�t�d���t�|�����n��|��j�j�}�|�rX�|�}�n��|��j�j�d�k�rs�t �}�n��x�|�D]�} �| �j �r��qz�n��t�| �_ �|�} �g��}�d�|�k�r��|�j�| �j ���n��d�|�k�r��|�j�| �j���n��d�|�k�r|�j�| �j���n��|��j�| ���}�d�} �|�rl| �j�|��j�j�k�rM|��j�j�| �j�} �t�} �ql|��j�j�| �j�| �j�|���n��x.�|�D]&�}�|�|�d�k�rs|�j�|���qsqsWt�|���}�x�|�D]�}�|��j�j�d�k�r-|�|�k�s�t���|�|�k�s�|�|�j�d���r-t�d ���}�|��j�j�t�j�|�|�| �j���q�q-n��|��j�j�t�j�t�d ���|�| �j���| �d�k �r}| �j�j �|���t�|��j�_!�n��g��}�y��| �r�|��j�j�d�k�s�|�r�|�|�d�k�r�|��j"�d�|�d �d���}�ni�|�r�|�|�d�k�r�nP�|��j#�d�|�d �d���}�x5�|�D]-�}�| �j�|�_$�| �r+| �|�_%�q| �|�_&�qWWn/�t�j'�k �rj}�|��j�j(�t�d���|���q�X|�j�|���x!�|�D]�}�|�j�j�| �j���qWq�W|��j�j)�}�|�d�k �r�|�}�n��d�}�| �r�|�r�x�| �j*�j+����D]�\�}�}�|��j,�|���r�y�|��j#�d�|���}�Wn�t�j'�k �r.q�n&�X|�|��j-�j.�k�rTg��|��j-�j.�|�<n��|�j�|���x;�|�D]3�}�|�j�j�| �j���|��j-�j.�|�j�|�j/���qhWq�n��|��j0�j1�d�|���}�|�r�|��j2�j3�r9|��j�j4�d�k�r9g��}�|��j2�j5�}�|�j�d���x-�|�D]%�}�|�j2�|�k�r|�j�|���qqW|�}�q9n��t6�|���}�|�t�|���7}�|�|��j-�j.�k�rzg��|��j-�j.�|�<n��|��j-�j.�|�j�|���q�q�Wn��| �rz�t�|���|�k�rz�|��j7�j8�t�d���| �j���|�r�|��j7�j8�t�d���| �j�|���q�qz�qz�W|�S(���s���Mark all the packages in the given group to be installed. :param grpid: the name of the group containing the packages to mark for installation :param group_package_types: a list of the types of groups to work with. This overrides self.conf.group_package_types :param enable_group_conditionals: overrides self.conf.enable_group_conditionals :return: a list of transaction members added to the transaction set by this function s���No Group named %s existst���compatt ���mandatoryt���defaultt���optionalR����Rc��t���blacklisteds!���Skipping package %s from group %ss���Adding package %s from group %st���simpleR��t���pkg_warning_levelt���debug2s-���No package named %s available to be installedi����t���bestt���noarchs8���Warning: Group %s does not have any packages to install.sD���Group %s does have %u conditional packages, which may get installed.N(9���R��RK��R����Rw��R ���R-���R����t���group_package_typesRj��Rb���t���selectedR9���R��RW��t���default_packagest���optional_packagesR?��R���Rn��R����Rl��Rp��R:��Re��R"��R��R4��R{���R��R����RE��R;��R����R���R ��R9��R���t���_ugroup_membert���_igroup_membert���InstallErrorR����t���enable_group_conditionalst���conditional_packagesR5��t���isPackageInstalledR���t���conditionalsR���RH��R+��RF���RM��t���multilib_policyt���legit_multi_archesR���Rz���Rv��(���RI���Rf��Rz��R���t���upgradeR^��Rg��Rh��t ���package_typesRi��t���lupgradeR��Rj��RF��R���t ���old_txmbrsR����R���R���R����t���group_conditionalst���count_cond_testt���condreqt���condt���useRx��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���selectGroup,��s����� !c��� ������C���s���|��j��j�|���s1�t�j�t�d���t�|�����n��|��j��j�|���}�|�sh�t�j�t�d���t�|�����n��x/|�D]'}�t�|�_�x|�j �D] }�|��j �j�d�t ���}�x��|�D]��}�|�j�j�|�k�r��q��n��|�s!y�|�j�j�|���Wq!t�k �r|��j�j�t�j�t�d���|�j�|���q��q!Xn��|�s<t�|�j���d�k�r��|��j �j�|�j�j���x9�|��j �j�j�|�j�g����D]�}�|��j �j�|�j���qnWq��q��Wq��Wqo�Wd�S(���s)��Unmark the packages in the given group from being installed. :param grpid: the name of the group containing the packages to unmark from installation :param force: if True, force remove all the packages in the given group from the transaction s���No Group named %s existss%���package %s was not marked in group %si����N(���R��t ���has_groupR����Rw��R ���R-���RK��Rb���R{��R:��R���R���R���R���R���R��Rl��R'��R��R{���R��R����R���R"��Rc���R���R����( ���RI���Rf��t���forceRh��Ri��R����R���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���deselectGroup���s0���� "c���������C���s���|��j��j�|���}�|�s7�t�j�t�d���t�|�����n��g��}�x�|�D]�}�d �}�|��j�j�d�k�r}�d�j �t �|�j�����} �n�|��j�j�d�k�r"|�s��d�j �t �|�j�����} �q|g��} �xQ�|�j�D]F�} �|��j��j�| ���}�|�d �k�r��q��n��|�j �s��q��n��| �j�| ���q��Wd�j �t �| �����} �nZ|��j�j�d�k�r||��j�|���}�t����} �xn�|�j�D]c�} �| �|�k�s{|�| �j�d���r�t�d���} �|��j�j�t�j�| �| �|�j���qVn��| �j�| ���qVW|�j�|��j�j�k�rI|��j�j�|�j�}�x|�|�j�D]S�}�|�|��j�j�k�r q�n��|��j�j�|�j�}�|�|�j�k�r5q�n��| �j�|���q�Wn�|��j�j�|�j�|�j���}�d�j �t �| �����} �n��y"�|��j�| �|�|�|�d�|��}�Wn�t�j�k �r�qD�n�X|�j�|���qD�W|�S( ���s��Mark all the groups in the given environment group to be installed. :param evgrpid: the name of the env. group containing the groups to mark for installation :param group_package_types: a list of the types of groups to work with. This overrides self.conf.group_package_types :param enable_group_conditionals: overrides self.conf.enable_group_conditionals :return: a list of transaction members added to the transaction set by this function s���No Environment named %s existsRp��RI��Ru��Rc��Rt��s%���Skipping group %s from environment %sR^��N( ���R��RL��R����Rw��R ���R-���R���R����Rj��R���R����Rl��t���return_groupR����Re��RG��R����R4��R{���R��R����RE��Rs��R����R����Rq��RA��RB��Rt��R@��R���R��(���RI���Rn��Rz��R���R���RP��R��R`��R^��RO��Rf��R��Rj��R����RE��t���grp_evgrpidt���txs(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���selectEnvironment���sh���� c���������C���st���|��j��j�|���}�t�s7�t�j�t�d���t�|�����n��x6�|�D].�}�d�j�t�|�j �����}�|��j �|�|���q>�Wd�S(���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 s���No Environment named %s existsRI��N(���R��RL��Rh��R����Rw��R ���R-���R���R����Rl��R���(���RI���Rn��R���RP��R`��RO��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���deselectEnvironment;��s���� c���������C���s����x$�|��j��D]�}�|�j�|�k�r �|�Sq �W|��j�j�|���}�t�|���d�k�r��|��j�|�d�|��|�rh�d�St�j�t �d���t �|�����n��t�|���d�k�r��|�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 i����Rc���s2���Package tuple %s could not be found in packagesacki���N(���R����Rc���RH��t���searchPkgTupleR"��R"��R���R����t���DepErrorR ���R����(���RI���Rc���t ���allow_missingR���R��R^��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���getPackageObjectM��s���� c���������C���sd���|��j��j�|���}�t�|���d�k�rV�|��j�|�d�|��t�j�t�d���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 i����Rc���s,���Package tuple %s could not be found in rpmdb(���RF��R���R"��R#��R����t ���RpmDBErrorR ���R����(���RI���Rc���R��R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���t��s���� c���������C���s����|��j��j�d�}�t�j�j�|���r&�d�St�j�j�d�|��j��j���}�|�j �t �j�t �j�B��|�j �d�d���}�|�j����}�~�~�|�d�k�r��d�St�j�j�|���}�t�j�j�|���s��t�j�|���n��t�|�d���}�|�j����~�d�Sd�S( ���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.yumi���R8���R��s ���gpg-pubkeyi����t���wN(���R����RW���R����R����R����RC��t���transactiont���initReadOnlyTransactionR����t���pushVSFlagsR���t���_RPMVSF_NOSIGNATURESt���_RPMVSF_NODIGESTSt���dbMatchR��R��R���R���R����(���RI���t���gpgkeyscheckedt���mytst���idxR���t���mydirR6��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���gpgKeyCheck���s$���� c���������C���s����|�s �g��St��|���t�j�k�r1�|�\�}�}�}�n��|�}�d�}�d�}�|�d�d�k�r��|�j����}�t�|���d�k�r��|�\�}�}�}�|�t�k�r��t�j�t �d���t �|�����n��t�|�}�q��n��|�d�k�r��|��j�j�|���S|��j�j �|�|�|���j����S(���s��Return 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 i����R6���i���s���Invalid version flag from: %sN(���RX��R.��t ���TupleTypeR���R���R"��t���SYMBOLFLAGSR����t���YumBaseErrorR ���R����RH��R!��t���getProvidesR���(���RI���t ���depstringt���depnamet���depflagst���depvert ���dep_splitt ���flagsymbol(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR �����s"����c���������C���s����|�}�t��|���t�j�k�r*�t�|���}�n��y�|��j�|���}�Wn*�t�j�k �ri�t�j�t�d���|���n�Xt�|���}�|��j �|�j ����d�|��}�|�d�k�r��t�j�t�d���|���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 s���No Package found for %sR���N(���RX��R.��t���StringTypesR����R ��R����R���R ���R���t���_bestPackageFromListR���R���(���RI���R���R���RK��t���psR^��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���returnPackageByDep���s���� c���������C���s����|�s �g��St��|���t�j�k�r1�|�\�}�}�}�n��|�}�d�}�d�}�|�d�d�k�r��|�j����}�t�|���d�k�r��|�\�}�}�}�|�t�k�r��t�j�t �d���t �|�����n��t�|�}�q��n��|�d�k�r��|��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 i����R6���i���s���Invalid version flag from: %sN(���RX��R.��R���R���R���R"��R���R����R���R ���R����RF��R!��R���R���(���RI���R���R���R���R���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR%�����s"���� c���������C���s����|�}�t��|���t�j�k�r*�t�|���}�n��y�|��j�|���}�Wn*�t�j�k �ri�t�j�t�d���|���n�Xt�|���}�|��j �|�j ����d�|��}�|�d�k�r��t�j�t�d���|���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 s���No Package found for %sR���N(���RX��R.��R���R����R%��R����R���R ���R���R���R���R���(���RI���R���R���RK��R���R^��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���returnInstalledPackageByDep��s���� c���������C���sW���t��|���d�k�r�d�St��|���d�k�r0�|�d�S|��j�|�d�d�d�|��}�|�d�d�S(���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* i����i���t���reqpoR���N(���R"��R���t���_compare_providers(���RI���RK��R���t���bestlist(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���,��s����c���������C���s��g��}�|��j��j�|���}�g��}�g��}�g��} �xq�|�D]i�} �| �j��|�k�rL�q1�q1�| �j��d�k�rk�| �j�| ���q1�t�d�| �j����r��|�j�| ���q1�|�j�| ���q1�W|��j�|�d�|��}�|��j�|�d�|��}�|��j�| �d�|��} �|�r |�r |�r |�j�|�j�k�r d�}�n��| �d�k�rE|�r,|�j�|���n��|�r|�j�|���qn��|�r�|��j�|�| �g�d�|��}�|�j��d�k�r�|�j�| ���q|�r�|�j�|���n��|�r|�j�|���qn]�|�r|��j�|�| �g�d�|��}�|�j��d�k�r�|�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* Ry��RF���R���N(���RF���t ���get_arch_listRe��R���R���R��R���(���RI���RK��RF���t���single_nameR���t ���returnlistt���compatArchListt���multiLibt ���singleLibRy��R���t���multit���singlet���noRx��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���bestPackagesFromListC��sL���� $ ���� c��� ���������sS����j��d �k �r*���j�j���j�g���}�n����j�j�s:�d �St���d���s��t�j����}�t �j �j�g��g����}���j�j �d�t���|�_���j�j�d�t�j����|���|���_�n����j�j���j�g���}���j�|�k�rO|���j�}�g��}�x4�|�D],�}�t���j�|�d���s��|�j�|���q��q��W|�r,|�}�n��t�|���d�k�rx|�d�}�g��|�D] �} �|�d�| �d�k�rO| �^�qO}�n��t�|���d�k�r�d����} �|�j�| ���|�d�}�g��|�D]�} �| �|�| ���s�| �^�q�}�n��t�|���d�k�rd��������������f�d����}�|�j�|���n��x3�|�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. RA��RB��s���Obs Init time: %0.3fi���i����c���������S���sI���|��\�}�}�}�}�}�|�\�}�}�} �} �}�t��|�|�|�f�| �| �|�f���S(���N(���R���(���R��R���t���n1t���a1t���e1t���v1t���r1t���n2t���a2t���e2t���v2t���r2(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_sort_ver���s����c���������S���s:���t��|��|���}�|�s�d�St��|��|���}�|�s2�d�S|�|�S(���Ni����(���R���(���t���carchR���R���t���res1t���res2(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_sort_arch_i���s����c��� ���������se���|��\�}�}�}�}�}�|�\�}�}�} �} �}������j��|�|���}�|�rI�|�S�����j��j�|�|���}�|�S(���N(���RF���t���bestarch( ���R��R���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���s����R���N(���Rk���R���R��t���checkForObsoleteRc���R����RJ��R���R����RC��RD��RE��RH��RK��R9���RI��R{���R����RA��R���RF���Re��R"��R^��R���( ���RI���R���t���thispkgobsdictRX��R��R=��t���oobsoletingt���opkgtupR���Rc���R���R���R���(����(���R���R���RI���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_pkg2obspkg���sP���� # c���������C���s����|�}�t��}�x{�t�r��|�|���}�|�d�k�r8�|�r8�d�S|�d�k�rH�|�S|�|���}�|�d�k�rd�|�St�}�|�|���}�|�|�k�r�d�Sq�Wd�S(���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(���Rb���R9���R���(���RI���t���nodet ���next_funct���slowR��t���next(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_test_loop���s���� ���c���������C���s8���t��|��d���r4�d�|��j�j�d�|�|��j�j�d�f�S|�S(���s1���Attempt to make the string look bold in terminal.R���s���%s%s%sR���R���(���R���R���R���(���RI���t���string_(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����%c���������C���s?��|�d�d�k�s�t����|�d�}�g��}�y �|��j�}�Wn*�t�j�j�k �r_�}�|��j�j�|���|�SXt�}�|�r��|�d�d�k�r��|�d�}�x��|�j�|���D]1�}�t �}�|��j �|�j�d�|��} �|�j�| ���q��WnE�xB�|�j �|���D]1�} �t �}�|��j�| �j�d�|��} �|�j�| ���q��W|�s;t�j�t�d���|��j�|�����n��|�S(���s=��� Do groupinstall via. leading @ on the cmd line, for install.i����RH��i���t���^R���s���Group %s does not exist.(���R��R��R����R����Rw��Rz���R����Rb���RL��R9���R���Rs��R��RK��R���Rn��t���GroupInstallErrorR ���R���(���RI���t���patternR���t���group_stringt ���tx_returnR��R����Rj��t���env_grpR���R<��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_at_groupinstall���s.���� � "c���������C���s`���y�|��j��|�d�t��SWnB�t�j�k �r[�}�|��j�j�t�d���|���|��j�j�rU�g��S���n�Xd�S(���s=��� Do group upgrade via. leading @ on the cmd line, for update.R���s���Warning: %sN( ���R���R9���R����R���Rz���R����R ���R����t���skip_missing_names_on_update(���RI���R���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_at_groupupgrade ��s����c���������C���s����|�d�d�k�s�t����|�d�}�g��}�|�r��|�d�d�k�r��|�d�}�y�|��j�|���}�Wn0�t�j�j�k �r��|��j�j�t�d���|���n�X|�j�|���|�Sy�|��j �|���}�Wn0�t�j�j�k �r��|��j�j�t�d���|���n�X|�j�|���|�S(���s;��� Do groupremove via. leading @ on the cmd line, for remove.i����RH��i���R���s-���Warning: Environment Group %s does not exist.s���No group named %s exists( ���R��Ro��R����R����Rw��Rz���Rv��R ���R��Rk��(���RI���R���R���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_at_groupremove��s"���� c���������C���s����|�d�d�k�s�t����|�d�}�|��j�j�|���}�|�sW�t�j�t�d���t�|�����n��t����}�x�|�D]�}�|�j�|�j ���qg�W|��j �j�|���S(���s8��� Do downgrade of a group via. leading @ on the cmd line.i����RH��i���s���No Group named %s exists(���R��R��RK��R����Rw��R ���R-���R����R ��R:��RH��R���(���RI���R���Rf��Rh��t���pkgnamesRi��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_at_groupdowngrade/��s���� c���������C���s����|�d�d�k�s�t����|�d�j����}�|�rR�|�j�d���rR�|�d�}�|��j�|���S|�r�|�d�d�k�r�|�d�}�|��j�|���S|��j�j�|���S(���s5��� Remove things from the transaction, like kickstart. i����t���-i���s���@^i���RH��(���R��t���stripR4��R���R���R���t���deselect(���RI���R���RS��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_minus_deselect>��s���� c���������c���s����|��j��j�s�d�St�|�t���sq�xn�|��j�j�d�|�j���D]2�\�}�}�|�j�|�k�r8�|��j�|���}�|�Vq8�q8�Wn�x�|��j �|���D]�}�|�Vq��Wd�S(���s;��� Return the pkgs. that are obsoleted by the po we pass in. NR��( ���R����RJ��R��R&���R��t���getObsoletersTuplesR��Rc���R���t���_find_obsoletees_direct(���RI���R���t���obstupt���inst_tupt ���installed_pkgR���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_find_obsoleteesM��s����%c���������c���sR���xK�|�j��D]@�}�x7�|��j�j�d�|���D] �}�|�j�|�g���r&�|�Vq&�q&�Wq �Wd�S(���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. R��N(���t���obsoletes_namesRF��R+��t���obsoletedBy(���RI���R���t���obs_nR���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���[��s����c���������G���s=���x6�|�D].�}�|�|��j��j�k�r�|��j��j�j�|���q�q�Wd�S(���sB��� Add all of the passed flags to the tsInfo.probFilterFlags array. N(���R���R���Re��(���RI���t���flagst���flag(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_add_prob_flagsf��s���� c���������C���s`���xY�|��j��j�d�|�j���D]?�}�|�j�|���r�t�|�j�|�j���r�|��j�t�j���t �Sq�Wt �S(���s9���Add RPMPROB_FILTER_OLDPACKAGE if the package requires it.R��(���RF��R+��R��R���R���RF���R���R���R���R9���Rb���(���RI���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���l��s ����%c���������C���s����t��r(�|��j�d�k �r(�|�j�|��j�j�k�S|��j�|���r;�t��Sx��|�D]y�}�|�j�|���r]�qB�n��|�j�|�j�k�rs�t �Sd�|�j�|�j�f�k�r��t �S|��j�j �s��t �St�|�j�|�j���r��qB�n��t �SWt��S(���sh��� See if po is an upgradeable version of an installed pkg. Non-compat. arch differences mean no. Ry��N(���Rb���Rk���R���Rc���R��t ���updating_dictR���t���verLERF���R9���RM��R���(���RI���R���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_install_is_upgradet��s"���� c���������C���s����|�s!�|��j��j�|�j�g���}�n�|�}�xB�|��j�j�|�j���D]+�}�|�j�t�k�rY�q>�n��|�j�|�j���q>�Wxy�|�D]q�}�|�j �|�j �k�r��qt�n��|�j �|���s��qt�n��t�|�j �|�j ���r��qt�n��|��j�j �t�j�t�d���|�|���t�SWt�S(���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(���RF��R���R��R���R���R���R���Re��R���RF���R���R���R{���R��R����R���R ���Rb���R9���(���RI���R���R���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_valid_install_arch���s$���� c���������C���sX���|��j��j�s�|��j�j�d�k�r#�t�S|�j��d�k�sA�|�j��d�k�rE�t�S|�j��|��j��j�k�S(���sy���Return whether this obsoleter meets multilib_policy in case we are dealing with the noarch->arch obsoletion case.Rx��Ry��(���RF���RM��R����R���R9���R���(���RI���R`��t ���obsoletee(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_valid_obsoleter_arch���s ����c������������so ��|�j��d�d���}����f�d����}�i�|�d�6���j�j�d�6}�|�|�k�rP�d�}�n��|�|�}�g��}�t�}�|�r��t�|�t���s��t�|�t���r��|�j�|���q t�j �t �d�����nq|�s��t�j �t �d�����n��d�|�k�r'|�d�r|�d�d �d �k�r���j�|�d���S|�d�r4|�d�d �d�k�r4���j�|�d���Sd)�}�d�|�k�rS|�d�}�n��t�}�|�d�g�} ����j�j�d �| �d�|�d�t���} �|�j�| ���| �s�|�d�}����j�j�t �d���|������j�|���} �|�r�t�j�| �|���} �n��t�j�|���s���j�| �d�t�d�|��} �n��|�j�| ���q�n{����j�|���}����j�j�d�|�d�d�|�d�d�|�d�d�|�d�d�|�d���}����j�|�|���t�j�|�|�j��d�����}�|�r ���j�j�r�|�s�|�d�r����j�j�d�k�r�i��} �g��}�g��}����j�j�}�|�j�d���xG�|�D]?�}�|�j�|�k�r;d�| �|�j �<|�j�|���q |�j�|���q Wx-�|�D]%�}�|�j �| �k�rS|�j�|���qSqSW|�}�q�q�n��t!�|���}�i��}�xD�|�D]<�}�|�j �|�k�r�|�g�|�|�j �<q�|�|�j �j�|���q�Wg��}�x*�|�j"����D]�}�|�j����j�|�����q�W|�}�n��|�s4d�|�k�r�|�d�}����j#�j�d �|�g�d�t���}�|�s����j�j�t �d���|������j$�|���}�q�n��d�|�k�r����j#�j�d�|�d���}�n��d�|�k�r����j#�j�d�|�d�d ���}�n��t�rx*�|�D]�}����j�j�t �d���|���q�Wn��|�rg��St�j �t �d�����n��g��}�x.|�D]&}����j%�j&�d�|�j'���r����j%�j(�|�j'�t)���r����j�j*�t+�j,�t �d ���|���|�j����j%�j-�d�|�j'�����qAq�n�����j#�j.�|�j �g���}�|�r"���j/�|�|���r"���j0�d!�|�d�|�j��d�����}�|�j�|���qAn�����j1�|�|���s:qAn��d)�}����j�j2�rtt�|�t���rt���j3�|����j4���}�n��|�d)�k �rgd)�}����j#�j�d�|�j ���}�|�j5�|�d"�d��}�|�r�|�d �}�n��|�r�|�t �d#���|�|���qAd$�|�k�r)|�j6�|�d$���s)|�t �d%���|�j �|�j ���qAq)n��|�t �d&���|�j �|�j �|���|�j����j7�d!�|�����qAn�����j#�j8�d!�|���r����j%�j(�|�j'�t9���s�|�t �d'���|���qAq�n�����j:�|���sit�}�xQ����j#�j�d�|�j �d�|�j���D].�}�t�}����j%�j(�|�j'�t9���r�t�}�Pq�q�W|�si|�t �d(���|������j0�d!�|�d�|�j��d�����}�|�j�|���qAqin��xk����j#�j�d�|�j �d�|�j���D]H�}�|�j;�|���r����j<�t=�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(*���sf��Mark 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 Rv��t���flibblec�������������s������j��j�t�j�|��|���d��S(���N(���R{���R��R����RE��(���R���R���(���RI���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_dbg2���s����Rw��R����s0���Package Object was not a package object instances���Nothing specified to installR���i����R���RH��R���R���R���s3���Checking for virtual provide or file-provide for %sR���R���R��R��RF���R���R��RH��R��Rx��Ry��i���s=���Checking for installed virtual provide or file-provide for %sRc���s&���Package %s installed and not availables"���No package(s) available to installs)���Package: %s - already in transaction setR���t���limits8���Package %s is obsoleted by %s which is already installedt���provides_forsW���Package %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(H���R����R{���R����Rb���R��R%���R&���Re��R����R���R ���R���R���R���R9���RH��R���R��R����R ��R����R���R����R���t���_nevra_kwarg_parseR+��R"��RF���RM��R����R���R���R��R���R=��RF��R%��R���R����Rc���R���R���R��R����R���R���R���R���R ��R��RJ��R���R���R���R��R9��R���R���R���R���R���R���t���RPMPROB_FILTER_REPLACEPKGt���RPMPROB_FILTER_REPLACENEWFILESt���RPMPROB_FILTER_REPLACEOLDFILESR'��R���R���R���t ���addObsoletingR%��t ���addInstall(���RI���R���R���t���pkg_warnR��t ���level2funcR��t���was_patternR���t���patst���mypkgsR����R ��t���pkgs_by_nameR���t ���not_addedRx��R���t ���pkgbynamet���lstR���R���R���t���obsoleting_pkgt���already_obsRj��R���t���obs_pkgsR��R���(����(���RI���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR9�����sH��� ! (! ( c���������C���s����t��|�j�d�����}�t��|�j�d�����}�g��}�x��|�j�|���D]��}�|��j�j�|����}�x��|�D]y�}�xp�|�|�D]d�} �|�j�d�| ���sp�|�j�|�j�f�} �x3�|��j�j �| ���D]�}�|�j �|��j�d�|�����q��WPqp�qp�Wq_�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. RW��R���(���R����t ���returnPrcot ���differenceR���t���getRequirest���inPrcoRangeR��RF���RH��R���R��R ��(���RI���t���opkgt���npkgt���oprovst���nprovsR���R2��R���R���R���t���naTup(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_check_new_update_provides���s���� c��� ������C���s����t��}�x��|��j�j�|�t�g���D]��}�d�}�x��|�j�D]z�}�|�j�|���rW�|�d�7}�q5�xU�|��j�j�|�j���D]>�}�|��j�j�|�j �j���|��j �|�j �|���} �|�j�| ���qm�Wq5�W|�r��t�}�q�|��j�j�|�j �j���q�W|�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. i����i���( ���Rb���R���R���R)��R*��R���R���Rc���R'��R���R#��R��R9���( ���RI���Rc���t ���available_pkgR���Rj��R���R��R���t���ntxmbrR���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_newer_update_in_trans���s���� c���������C���s\���|��j��j�|�|���}�|�r+�|�j�|���n��d�|�j�k�rX�|�j�j�d�k�rX�d�|�_�n��|�S(���NR���R4��(���R���t ���addUpdatet���setAsDepR���R���(���RI���t���requiringPot���upkgR���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_add_up_txmbr���s����!c���,���������s� ��|�j��d�d���}����f�d����}�i�|�d�6���j�j�d�6}�|�|�k�rP�d�}�n��|�|�}�g��}�|�r�|�r����j�j�t�j�t�d��������j�j����} ����j �j �r�����j�j�d�d���} �n�g��} �x��| �D]��\�}�}����j�|�d �t ��} �| �d'�k�r��q��n�����j�|���}����j�| �|���s$q��n�����j�| ����j���}�|�d'�k �rN|�} �n�����j�j�| �|���}����j�j�|�| ���|�r�|�j�|���n��|�j�|���q��Wx��| �D]��\�}�}����j�j�d �|���r����j�j�t�j�t�d���|���q����j�|�d �t ��}�|�d'�k�rq�n��|�j����j�d�|�����q�W���j �j�d �k�r����j �j�r�x.����j�j�D] �}�|�j����j�d�|�����qWWx1����j�j �D] �}�|�j����j�d�|�����q�Wn��|�Sg��}�g��}�t �}�|�r�|�j!�d�k�r�|�j�|���q�|�j�|���n�d�|�k�r�|�d�r5|�d�d�d�k�r5���j"�|�d���S|�d�rd|�d�d�d�k�rd���j�|�d���S|�d�}�|�s����j#�j$�d�|�g���}�t%�j&�|�|�j��d�����}�n'����j'�j$�d�|�g�d�|�j��d�����}�|�r�|�r�g��}�y+�|�r����j(�|���}�n����j)�|���}�Wn3�t*�j+�j,�k �rE}����j-�j.�t�d���|���n�Xt%�j&�|�|�j��d�����}�|�rw|�j�|���q�|�j�|���n��yz�|�r�g��}�ng�|�j��d���r�|�d�g�}����j'�j/�|�d�}�|�j0�d�|���}�n"�|�d�g�}����j'�j0�d�|���}�Wn�t+�j1�k �rg��}�n�X|�j�|���|�r}|�r}���j-�j.�t�d���t2�|��������j �j3�s}t+�j4�t�d�����q}n��d�|�d�k�}�n���j5�|���}����j#�j6�d�|�d�d�|�d�d�|�d�d�|�d�d�|�d ���}�|�s����j'�j6�d�|�d�d�|�d�d�|�d�d�|�d�d�|�d ���}����j7�|�|���t8�|���d�k�rp���j9�|�|���}�t:�d!����|���}�q�|�s�|�t�d"������j;�|�����q�n�����j �j �rQx��|�D]��}����j�j<�j��|�j=�g����}�g��}�xb�|�D]Z�} ����j�| �d �t ��} �| �d'�k�rq�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=�}#����j�j�|!�|"���}�|�r�|�j�|���n��|�j�|������j�j�|#���r$���j�j�t�j�t�d#���|#���q����j�j�|"�|!���}�|�j�|���q�WqrWn��x�|�D]z}�xq���j�jA�j��|�j=�g����D]T}$����j�|$�d �t ��}�|�d'�k�r�qzn�����j�j�|�j=���r����j�j�t�j�t�d���|�j=���qz|�j=����j�jB�d�|�jC���k�r~ x�����j@�|���D]d�}%����j�jD�|�|���}�|�rD |�j�|���n�����j�j�|�|%������j�j�|%�|���|�j�|���q Wqz���j�jE�|�j=�tF���r� ���j�jG�|�j=���n�����jH�|�|�|���}�|�j�|���qzWqXWx0|�D](}!����jI�|!���s� q� n��tJ�|!�tK���r� |!�jC�}&�xm����j#�jL�|&���D]Y�}'�|'�j=�}(����j�jE�|(�tF���rZ ���j�jG�|(���n�����jH�|�|!�|'���}�|�j�|���q# Wq� n�����j�|!����j���} �| �d'�k �r|�j��d���r� | �j!�|�j��d���k�r� q� n�����j�j�t�j�t�d$���|!���|�j����j�d�| �����q� n��x�����j�jM�j��|!�j=�g����D]��}(����j�j�|(���ri���j�j�t�j�t�d���|(���q.���jN�|(�|!�|���r����j�j�t�j�t�d%���|(���q.���j�|(���}'����j�jE�|(�tF���r����j�jG�|(���n�����jH�|�|!�|'���}�|�j�|���q.W���j#�j6�d�|!�jC�d�|!�jO���})�|)�rG���jP�|!���rGtQ�|)���d&�})�n��x��|)�D]��}*����j�j�|*�j=���r����j�j�t�j�t�d���|*�j=���qN���jN�|*�j=�|!�|���r����j�j�t�j�t�d%���|*�j=���qN|*�jR�|!���rN���jH�|�|!�|*���}�|�j�|���qNqNWq� Wxq�|�D]i�}�x`����j#�j6�d�|�jC���D]F�}+�|+�|�jS�k�r/ ���jT�|�jU�|+���ru ���j�jV�|+�|�jU���qu q/ q/ Wq W|�S((���sO��Mark 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 Rv��R��c�������������s������j��j�t�j�|��|���d��S(���N(���R{���R��R����RE��(���R���R���(���RI���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR����s����Rw��R����s���Updating EverythingRB��i���R���Rc���s>���Not Updating Package that is already obsoleted: %s.%s %s:%s-%sR���Rc��s���@^RH��R����R���i����R���R���R���s���%ss���No Match for argument: %ss1���Not tolerating missing names on update, stopping.R4���R��R��RF���R���R��RH��R��c���������S���s���|��d�S(���Ni����(����(���R��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����s!���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(W���R����R{���R����R��R����RE��R ���R��t���getUpdatesTuplesR����RJ��R���R���R9���R���R���R��R���R���R���R��R%��R(��Re��t���isObsoletedR��R ��Rj��t���upgrade_group_objects_upgradeR����Rq��R���Rl��R���R���RF��R���R����R���RH��R ��R%��R����R����R���Rz���Rv��R���R���R���R-���R���t���UpdateMissingNameErrorR��R+��R"��R"��R���t���mapt���_ui_nevra_dictt���obsoleted_dictRc���R���R9��R���t���updatesdictt���getObsoletesListR��R'��R���R���R'��R+��R��R��R&���t���returnNewestByNameR���R&��RF���R���R����t���verLTRD��t���_does_this_updateR���t ���addUpdated(,���RI���R���R)��t ���update_toR���R��R��R��R���RD��RJ��R=��R����R��R���t���topkgR���t���newt���oldR^��RF��t���instpkgst ���availpkgst���arch_specifiedR����t ���depmatchesR����R���R��R ��t���obs_tupsR��Rc���R$��t ���obsoleted_pkgR<��t���updatingR��R,��t���updated_pkgR?��t���pot_updatedR���t���i_pkg(����(���RI���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR �����s����! ! " ! # "! " ! $c������ ���K���s���|�r�|�r�t��j�d���n��g��}�g��}�|�r;�|�g�}�nYd�|�k�r�|�d�rv�|�d�d�d�k�rv�|��j�|�d���S|�d�r��|�d�d�d�k�r��|��j�|�d���S|��j�j�|�d�g���\�}�}�}�d�|�k�rt�j�|�|�d���}�t�j�|�|�d���}�n��|�j�|���|�j�|���|�r�g��}�|�d�} �y�|��j �| ���}�Wn3�t �j��j�k �rz}�|��j�j �t�d���|���n�Xd�|�k�r�t�j�|�|�d���}�n��|�s�t�| ���} �|��j�j �t�d���t�| �����q�|�j�|���q�n��|��j�|���} �|��j�j�d �| �d �d �| �d �d�| �d�d�| �d �d�| �d���}�|��j�|�| ���t�|���d�k�r�|�j�d�t���s�|��j�j�t�d���|��j�| �����q�n��|��j�j����}�t�j�|���}�x��|�D]��}�|��j�j�r�|�j�|�k�r�|��j�j�t�d���|���q�n��|��j�j�|�j���r_xM�|��j�j�|�j ���D]3�} �|��j�j!�t�d���| ���|��j�j"�| �j���q%Wn��|��j�j#�|���} �|�j$�| ���q�W|�S(���sZ��Mark 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 s���Nothing specified to removeR���i����R���RH��R���s���%ss���No Match for argument: %sR��R��RF���R���R��RH��R��Rc��s ���No package matched to remove: %ss���Skipping the running kernel: %ss ���Removing %s from the transaction(%���R����t���RemoveErrorR���R���RF��t���matchPackageNamesR����R���R��R%��R����R���Rz���Rv��R ���R-���R��R+��R#��R"��R����Rb���R����R1��R���R���R����R���Rc���R���R���R���R��R��R'��t���addEraseRe��(���RI���R���R���R���R��R����R���R���R@��R����R ��R��R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR'��D��sj���� " #( c���������C���s��g��}�g��}�g��}�g��}�|�s��y1�t��|��d�|��j�j����d�|�d�t�j�j��}�Wn.�t�j�k �r�|��j�j �t �d���|���|�SX|��j�j�t �j�t �d���|�j�|���n��|�j�d�d�k�r��|��j�j �t �d���|���|�S|�j�|��j�j�k�r|��j�j �t �d ���|�|�j���|�S|��j�j�rg|�j�|��j�j�|�j�����}�|�rg|��j�j �t �d ���|�|�d���|�Sn��|��j�j�d�|�j���} �t�| ���d�k�r�|�r�|��j�j�t �d ���|�j���|�S|�j�|���n��xj| �D]b} �|�j�| ���rO| �j�|��j�j�k�r|�j�| �j�k�r|�j�|���q0|��j�|���r9|�j�|���q0|�j�|�| �f���q�|�j�| ���r�|�j�| �j�k�r�t �|�j���s�t �| �j���r�|�r�|��j�j�t �d���|�j�|�j���q�|�j�|���q0|�j�|���q�|��j�|���r#|�r|��j�j�t �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 �j�t �d���|�j���|��j#�j�|���|�j$�|��j%�d�|�����q�Wxh�|�D]`�\�}�} �|��j�j�t �j�t �d���|�j�| ���|��j#�j�|���|��j&�d�|���}�|�j$�|���q�Wx0�|�D](�}�|��j�j�t �j�t �d���|�j���qRWx��|�D]x�}�|�j'�j�r�|�j�r�xY�|��j(�|�j'���D]B�}�|��j)�j*�|�|�j'���|�j�j�|���|��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 R��t���urlt���uas���Cannot open: %s. Skipping.s���Examining %s: %st ���payloadformatt���drpms+���Cannot localinstall deltarpm: %s. Skipping.sG���Cannot add package %s to transaction. Not a compatible architecture: %ssB���Cannot install package %s. It is obsoleted by installed package %si����R��sR���Package %s not installed, cannot update it. Run yum install to install it instead.sU���Package %s.%s not installed, cannot update it. Run yum install to install it instead.s���Excluding %ss���Marking %s to be installedR���s���Marking %s as an update to %ss&���%s: does not update installed package.(,���R(���RF��R���R3���R����t ���user_agentR����R>��Rz���Rv��R ���R{���R��R����R���R0��R���RF���R,��R����RJ��R���t���searchObsoletesR��R+��R"��R����Re��R���RS��R���R���R���t���_is_local_excludeR����R����R��R9��R ��R���R���R���R%��R��(���RI���R���R���t ���updateonlyR���t���installpkgst ���updatepkgst ���donothingpkgst ���obsoleterst���installedByKeyR���R��t ���check_pkgst���oldpoR���R���t���obs_pkg(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���installLocal���s����� %%! !c���������C���s ��|�s��y1�t��|��d�|��j�j����d�|�d�t�j�j��}�Wn.�t�j�k �rg�|��j�j �t �d���|���g��SX|��j�j�t �j�t �d���|�j�|���n��|�j�|��j�j�k�r��|��j�j �t �d���|�|�j���g��S|��j�|�|�g���r��|��j�j�t �d���|���g��S|��j�d�|���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 R��RJ��RK��s���Cannot open file: %s. Skipping.s���Examining %s: %ssG���Cannot add package %s to transaction. Not a compatible architecture: %ss���Excluding %sR���(���R(���RF��R���R3���R����RN��R����R>��Rz���Rv��R ���R{���R��R����R���R0��RF���R,��RP��R����R���(���RI���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���reinstallLocal��s ���� c���������K���s���|��j��t�j�t�j�t�j���g��}�|�rG�|�j�|��j�d�|�j�����n�|�j�|��j�|������|�sx�t�j �t �d�����n��t�|���}�g��}�g��}�g��}�x��|�D]��}�|��j�j �} �t�|��j�_ �t�|�t���r��d�|�k�r��|��j�d�|���} �n$�|��j�d�|�j�d�|�j�d�����} �| �|��j�_ �t�| ���d�k�rz|��j�j�|�j���|�j�|���|�j�t�|�j�����|�j�|�j���q��n��|�j�| ���q��W|�r�|�r�t�j�t �d���d�j�|���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 Rc���s2���Problem in reinstall: no package matched to removeR���R���t���repoid_installi����s6���Problem in reinstall: no package %s matched to installs���, t���failed_pkgs(���R���R���R ��R ��R��R��R'��Rc���R����t���ReinstallRemoveErrorR ���R"��R����RJ��Rb���R��R&���R9��R����R���Re��R����R���t���ReinstallInstallErrorR���(���RI���R���R���t���tx_mbrst���templent���new_membersR8��R]��R���t���old_conf_obst���members(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���:��s@���� + c���������C���s ��|�s��y1�t��|��d�|��j�j����d�|�d�t�j�j��}�Wn.�t�j�k �rg�|��j�j �t �d���|���g��SX|��j�j�t �j�t �d���|�j�|���n��|�j�|��j�j�k�r��|��j�j �t �d���|�|�j���g��S|��j�|�|�g���r��|��j�j�t �d���|���g��S|��j�d�|���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 R��RJ��RK��s���Cannot open file: %s. Skipping.s���Examining %s: %ssG���Cannot add package %s to transaction. Not a compatible architecture: %ss���Excluding %sR���(���R(���RF��R���R3���R����RN��R����R>��Rz���Rv��R ���R{���R��R����R���R0��RF���R,��RP��R����t ���downgrade(���RI���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���downgradeLocalw��s ���� c���������C���s����d�|��j��j�k�s$�d�|��j��j�k�r(�t�Sg��}�t�|��j��j���d�k�rw�t�|�|��j��j�d�d��\�}�}�}�|�|�}�n��|�|�k�r��t�St�S(���s0���returns True if the local pkg should be excludedRT��R����i����R���i���(���R����R��Rb���R"��R0��R#���R9���(���RI���R���RK��t���toexcR���R0��R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRP�����s����$ c������ ���K���s���|�r�|�r�t��j�d���n��t�}�|�r5�|�g�}�nud�|�k�rJ|�d�rp�|�d�d�d�k�rp�|��j�|�d���S|�d�r��|�d�d�d�k�r��|��j�|�d���}�t�}�q�|��j�j�d�|�d�g�d�t���}�|�s�|�d�}�|��j�j �t �d���|���y�|��j�|���}�WqGt�j��j �k �rC}�|��j�j�t �d ���t�|�����qGXq�n`�|��j�|���}�|��j�j�d �|�d �d�|�d�d�|�d�d �|�d�d�|�d���}�|��j�|�|���|�s.g��}�d�|�k�r�|��j�j�d�|�d�g�d�t���}�n��d �|�k�r|��j�j�d �|�d ���}�n��|�rg��St��j�t �d�����n��t����} �g��} �x��|�D]��}�|��j�|���r�|�j�|�j�f�| �k�r�t �d���|�}�|��j�j�t�j�|���n��| �j�|�j�|�j�f���qDn��| �j�|���qDW| �}�t����} �x�|�D]�}�| �j�|�j���q�W|��j�j�t�| �����}�i��}�i��}�x��t �|���D]��}�|�j�|�k�sZ|�j!�|�|�j�d���rm|�g�|�|�j�<n1�|�j"�|�|�j�d���r�|�|�j�j�|���n��|�|�|�j�|�j�f�<q+Wi��}�x�t �|���D]�}�|�j�|�j�f�}�d�}�|�|�k�r|�|�}�n[�|�j�|�k�r]xI�|�|�j�D]7�}�t$�|�j�|�j���s|�}�|�j�|�j�f�}�PqqWn��|�d�k�r�|�| �k�r�|�r�|�j�|�k�r�t �d���|�}�|��j�j�|���n��| �j�|���q�n��|�j"�|���r�q�n��|�j%�|���r'|�| �k�rt �d���|�}�|��j�j�|���n��| �j�|���q�n��| �j�|���|�j&�|�k�r_|�j'�|�|�j&���r_q�n��|�|�|�j&�<q�Wg��}�xh�|�D]`�}�|�j&�|�k�r�q}n��|��j(�j)�|�|�j&�|���}�|�s�q}n��|��j*�t+�j,���|�j-�|���q}W|�S(���sr��Mark a package to be downgraded. This is equivalent to first removing the currently installed package, and then installing the older version. :param po: the package object to be marked to be downgraded :param kwargs: if a package object is not given, the keyword arguments will be used to specify a package to be marked to be downgraded :return: a list of the transaction members added to the transaction set by this method :raises: :class:`yum.Errors.DowngradeError` if no packages are specified or available for downgrade s���Nothing specified to downgradeR���i����R���RH��R���R���s3���Checking for virtual provide or file-provide for %ss���No Match for argument: %sR��R��RF���R���R��RH��R��s$���No package(s) available to downgrades1���Package %s is allowed multiple installs, skippings"���No Match for available package: %ss%���Only Upgrade available on package: %sN(.���R����t���DowngradeErrorRb���R���R���R9���RH��R���R{���R����R ���R ��R����R���Rz���Rv��R-���R��R+��R"��RF��R����R���R��RF���R��R����R���R����Re��R���R���R����R���R���R���R���t���verGERc���R���R���t���addDowngradeR���R���R���R��(���RI���R���R���t���doing_group_pkgst���apkgsR����R����R ��R��t ���warned_nast���tapkgsR���R����t ���apkg_namesR���t���latest_installed_nat���latest_installed_nt���downgrade_apkgsR��t���lipkgt���tlipkgR���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRe�����s����� * c���������C���s����|��d�}�|��d�}�|��d�}�|��d�}�|��d�}�|�rZ�|�rZ�|�rZ�d�|�|�|�f�}�nS�|�ry�|�ry�d�|�|�f�}�n4�|�r��|�r��d�|�|�f�}�n�|�r��|�}�n�d �}�|�r��|�r��d�|�|�f�S|�r��d �|�S|�r��|�Sd�S(���NR��R��R��R��RF���s���%s:%s-%ss���%s-%ss���%s:%sR��s���*-%ss ���<unknown>(����(���R ��R,��R����R.��R/��R-��t���evr(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR1��?��s*���� c���������C���s��i��}�d�|�k�ra�|�d�\�}�}�}�}�}�|�|�d�<|�|�d�<|�|�d�<|�|�d�<|�|�d�<|�S|�j��d���|�d�<|�j��d���|�d�<|�j��d���|�d�<|�j��d���|�d�<|�d�d��k�r��|�j��d���|�d�<n��|�j��d���|�d�<|�d�d��k�r|�j��d���|�d�<n��|�S( ���NRc���R��R��RF���R��R��R���RH��(���R����R���(���RI���R���t ���returndictR,��R-��R����R.��R/��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR��Y��s&���� c���������C���se��|��j��j�}�t�|��j��_�t�}�xA�|�j�D]6�}�|�j�d�k�r(�|��j�d�|�j���r^�t�}�q^�q(�q(�Wx��|�j�D]��}�|�j�d�k�rl�|�r��|��j�j �|�j���r��|��j�d�|�j���rl�t�}�ql�ql�n��y"�|��j �d�|�j���r��t�}�n��Wqt�j�j �k �r|��j�j�t�d���|���qXql�ql�Wxh�|�j�D]]�}�|�r&|�j�d�k�r&|��j�j�|�j���r\q&n��|��j�d�|�j�d�t���r�t�}�q�q&q&Wx��|�j�D]��}�|�j�d�k�r�|�r�|��j�j �|�j���r�|��j�d�|�j���r�t�}�q�q�n��|��j�d�|�j���rt�}�q|��j�j�t�d���|���q�q�Wxh�|�j�D]]�}�|�r-|�j�d �k�r-|��j�j�|�j���rcq-n��|��j�d�|�j�d�t���r�t�}�q�q-q-Wx��|�j�D]u�}�|�j�d�k�r�|�r�|��j�j �|�j���r�|��j�d�|�j���r�t�}�q�q�n��|��j�d�|�j���r t�}�q q�q�WxA�|�j�D]6�}�|�j�d �k�r|��j�d�|�j���rQt�}�qQqqW|�|��j��_�|�S(���sD��Repeat the transaction represented by the given :class:`yum.history.YumHistoryTransaction` object. :param transaction: a :class:`yum.history.YumHistoryTransaction` object representing the transaction to be repeated :param force_reinstall: bool - do we want to reinstall anything that was installed/updated/downgraded/etc. :param force_changed_removal: bool - do we want to force remove anything that was downgraded or upgraded. :return: whether the transaction was repeated successfully t ���ReinstallRc���t ���Downgrades���Failed to downgrade: %st ���DowngradedRc��t���Updates���Failed to upgrade: %st���Updatedt���Installs���True-Installt ���Obsoletingt���Erase(���R|��s���True-InstallR}��(���R����RJ��Rb���t ���trans_dataRG��R���Rc���R9���RF��R���Re��R����R����Rh��Rz���Rv��R ���R���R���R'��R ��R9��(���RI���R���t���force_reinstallt���force_changed_removalRc��R��R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���history_redou��sj���� $ c���������C���su��|��j��j�}�t�|��j��_�t�}�xA�|�j�D]6�}�|�j�d�k�r(�|��j�d�|�j���r^�t�}�q^�q(�q(�Wxx�|�j�D]m�}�|�j�d�k�rl�y"�|��j�d�|�j���r��t�}�n��Wq��t �j �j�k �r��|��j�j �t�d���|���q��Xql�ql�WxZ�|�j�D]O�}�|�j�d�k�r��|��j�d�|�j���rt�}�q6|��j�j �t�d���|���q��q��Wx\�|�j�D]Q�}�|�j�d�k�rD|��j�j�|�j���rtqDn��|��j�d�|�j���r�t�}�q�qDqDWxA�|�j�D]6�}�|�j�d �k�r�|��j�d�|�j���r�t�}�q�q�q�WxA�|�j�D]6�}�|�j�d�k�r�|��j�d�|�j���rt�}�qq�q�WxA�|�j�D]6�}�|�j�d�k�r+|��j�d�|�j���rat�}�qaq+q+W|�|��j��_�|�S(���sC��Undo the transaction represented by the given :class:`yum.history.YumHistoryTransaction` object. :param transaction: a :class:`yum.history.YumHistoryTransaction` object representing the transaction to be undone :return: whether the transaction was undone successfully Rw��Rc���R{��s���Failed to downgrade: %sRy��s���Failed to upgrade: %sR}��s���Dep-InstallR|��s���True-Installt ���ObsoletedR~��(���s���Dep-Installs���Installs���True-Install(���R����RJ��Rb���R��RG��R���Rc���R9���Re��R����R����Rh��Rz���Rv��R ���R ��R���R���R'��R9��(���RI���R���Rc��R��R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���history_undo���sN���� $ c���������C���s����|�j��}�|�j�}�|�j�}�|�j�d�k�s6�|�|�k�r:�d�S|�j�d�k�r\�t�d���|�}�n�t�d���|�|�f�}�d�|�_�|��j�j�|���d�S(���s���Failure callback for urlgrabber to force a retry if we time out (code 12) or error out (code 14) after being redirected (since these codes are not in opts.retrycodes). This allows for failovers if the URL points to a MirrorManager2 (such as download.fedoraproject.org). If the mirror it redirects to is down for some reason, this will ensure that we try again, hopefully getting a mirror that works. i���i���Ns���Timeout on %s, trying agains'���Could not retrieve %s: %s, trying againi����(���i���i���(���Rd��RJ��R!��R ���Rz���R��(���RI���t���dataR����t���url_initialt ���url_actualR����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���redirect_failure_callback���s���� c���������C���s���t��}�|��j�}�t�d���|�}�|��j�j�t�j�|���yf�t�j�|���}�|�d�k�ri�i�d�d�6}�d�} �n�|�j ����}�|�j�d�} �t�j �|�d�|�|��} �Wn8�t�j�j�k �r��}�t�j�t�d���t�|�������n�Xd�}�t��} �|�r�|�r�|�j�r�|��j�|�d�|�j��yH�t�j�|�d ���}�|�j ����}�|�j�d �} �t�j�|�d�|�|��}�Wn�t�j�j�k �rv}�d�}�n�X|�r�t�j�|�t�j�| ���|�j���s�t�j�t�d���|�|�j�f�����q�t�d���}�|��j�j�t�j�|���t�} �q�n��y�t�j�| �d �t��}�Wn8�t�k �rD}�t�j�t�d���|�t�|���f�����n�Xg��}�x��|�D]��}�i��}�xA�d�D]9�}�|�|�k�r�t�j�t�d���|���n��|�|�|�|�<qeWt�j�|�d���j����|�d�<| �|�d�<t�|���|�d�<|�j �|���qRW|�S(���s���� Retrieve a key file @param keyurl: url to the key to retrieve Returns a list of dicts with all the keyinfo s���Retrieving key from %si'��R��s ���global/gpgkeys���/gpgkeyRR���s���GPG key retrieval failed: RQ���s���.ascs ���/gpgkeysigs>���GPG key signature on key %s does not match CA Key for repo: %ss,���GPG key signature verified against CA Key(s)t���multiples���Invalid GPG Key from %s: %st���keyidR���t���useridt���fingerprintt���raw_keys2���GPG key parsing failed: key does not have value %st���hexkeyidt ���valid_sigt���has_sigN(���R���s ���timestamps���useridR���R���(!���Rb���R���R ���R{���R��R����R���R����t���to_utf8R���t���_default_graboptsR����RW��t���urlreadRm��R���R����R���R/���t���gpgcakeyt���getCAKeyForRepoRT���t���urlopent���valid_detached_sigt���StringIOt���gpgcadirR9���t ���getgpgkeyinfoR��t ���keyIdToRPMVert���uppert���boolRe��(���RI���t���keyurlR[���t���getSigt ���key_installedR����R����RJ��R����Rf��t���rawkeyR����t���sigfileR���t ���keys_infoR���t���keyinfot���thiskeyR��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_retrievePublicKey��sh���� % t���GPGc������ ���C���s��d��}�|�j�d���r��|�t�d���}�|��j�j�|���}�|�r��t�|���d�}�t�d���|�|�d�t�|�d���t�j �|���|�|�j �|�j�d�d���f�}�q��n��|�d��k�r��t�d���|�|�d�t�|�d���t�j �|���|�j�d�d���f�}�n��|��j�j �d �|���d��S( ���Ns���file:i����sa���Importing %s key 0x%s: Userid : "%s" Fingerprint: %s Package : %s (%s) From : %sR���R���s���file://R��sK���Importing %s key 0x%s: Userid : "%s" Fingerprint: %s From : %ss���%s(���R���R4��R"��RF��t���searchFilesR����R ���R-���R����t���gpgkey_fingerprint_asciit���ui_from_repoR���Rz���Rv��(���RI���R��R���t���keytypeR����t���fnameR��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_getKeyImportMessageb��s"���� c������ ������s���|��j��j����j�������j�}�t�}������f�d����}�t�}�x�|�D]�}�|��j�|�����} �x�| �D]�} �|��j�j����}�t�j �|�| �d�| �d���d�k�r��|��j �j�t�d���|�| �d�f���qb�n����j �r��| �d�r��| �d�r��t�}�n��|��j�| �|���t�}�|��j�j�rt�}�n��|��j�j�r*t�}�nr�|�ry|�i����d �6| �d �d �6| �d�d�6|�d�6| �d�d�6| �d�d�6��}�n#�|�r�|����| �d �| �d���}�n��|�s�t�}�qb�n��|��j�j����}�|�j�t�j�| �d �����} �| �d�k�r t�d���| �}�t�j�|�|�����n��|��j �j�t�d�����t�}�qb�WqC�W|�rP|�rPt�j�t�d�����n��|�s~t�d�����j�}�t�j�|�|�����n��|��j������\�} �}�| �d�k�r�t�d���}�|��j �j�|���t�|���}�t�j�|�|�����n��d�S(���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 c������������s*���|��t��d������d�j���j���f�7}��|��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���i����s)���GPG key at %s (0x%s) is already installedR���R���R���R���R���R���R���R���s���Key import failed (code %d)s���Key imported successfullys���Didn'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���R���R���Rb���R���RF��R���R����t���keyInstalledRz���R��R ���R���R9���R���R����t���assumenot ���assumeyest���pgpImportPubkeyt ���procgpgkeyR����R���R��R[��R-���(���RI���R���t���askcbt ���fullaskcbt���keyurlsR���R���t���user_cb_failR���R���R��R��Rf��R^��R����R(��(����(���R���R[���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���getKeyForPackage|��sf���� # c������������sa��t��}��������f�d����}�t��}�x���D]�} �|��j�| ���d�����} �x�| �D]�}�t�t�|�d�����d�d�!j����t�j�|���k�r��|��j�j�t �d���| �|�d�f���t �}�qN�n�����r9��j�d�}�d �} �g��}�y(�t�|�d ���j ����}�|�j�d���}�Wn�t�t�f�k �rn�Xt�|�d���|�k�ret �}�qen,�d�} ���j�re|�d �re|�d�ret �}�n��|�s|��j�|�| �| ���t��}�|��j�j�r�t��}�nd�|��j�j�r�t �}�nO�|�r�|�i���d�6|�d�d�6|�d�d�6| �d�6|�d�d�6|�d�d�6��}�n��|�st �}�qN�qn��t�j�|�d�|�d�d�|��}�|�sat �d���|�d�}�t�j�|�|�����n��|��j�j�t �d�����t �}����rN�|�rN�|�d�|�k�r�t�|�d���}�y-�|�j�|�d�d���|�j����|�j����Wq�t�t�f�k �r�q�Xq�qN�qN�Wq(�W|�r/|�r/t �d�����}�t�j�|�|�����n��|�s]t �d�����j�}�t�j�|�|�����n��d�S(���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. c������������sK���t��d���}����r!�t��d���}�n��|��t��d���|���d�j�����f�7}��|��S(���Nt���Not���YessD��� CA Key: %s Failing repo is: %s GPG Keys are configured as: %s s���, (���R ���R���(���R����t���cakeytxt(���t���is_cakeyt���keyurl_listR[���(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����R���R���i���i����s(���GPG key at %s (0x%s) is already importedR���s���/imported_cakeyst���CAR/��s��� R���R���R���R[���R���R���R���R���R���t���gpgdirs���Key %s import faileds���Key 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(���Rb���R���t���hexR���R���R����t���return_keyids_from_pubringRz���R��R ���R9���R����R���R���R���R���R���R����R���R���R����R���R���t���import_key_to_pubringR����R���R ��t���flushR����R��(���RI���R[���t���destdirR���R���RQ���R���R���R���R���R���R��t���ikfR���t���cakeyst���cakeys_dRf��R^��R����t���ikfo(����(���R���R���R[���s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_getAnyKeyForRepo���s|���� 2 c���������C���s)���|��j��|�|�j�|�j�d�t�d�|��d�S(���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���RQ���N(���R���R���R���Rb���(���RI���R[���RQ���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���getKeyForRepoD��s����c���������C���s)���|��j��|�|�j�|�j�d�t�d�|��d�S(���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���RQ���N(���R���R���R���R9���(���RI���R[���RQ���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���N��s����c���������C���s!��d����}�|��j��j�d�k��r�d�S|��j�j�r/�d�Sg��}�|��j�j����}�t�j�|���\�}�}�i��}�x��|��j�j����D]~�}�|�j �d�k�r��qo�n��|�j �r��qo�n��|��j�|�j���s��qo�n��|�j �|�k�r��|�j�g�|�|�j �<qo�|�|�j �j�|�j���qo�Wx��|�D]��}�|��j�j�d�|���} �|�| ���} �t�| ���t�|�|���} �| �|��j��j�k�rQq��n��| �|��j��j�}�xc�| �D][�}�|�j�|�j�f�|�|�f�k�r�qhn��|�d�k�r�Pn��|�j�|�|�|�f���|�d�8}�qhWq��WxO�|�D]G�\�}�} �|��j�j�|���}�t�| ���d�k�r�|�j�j�| �d���q�q�Wd�S( ���s���� Limit packages based on conf.installonly_limit, if any of the packages being installed have a provide in conf.installonlypkgs. New in 3.2.24: Obey yumdb_info.installonly data. c���������S���s����g��}�g��}�g��}�x��t��|����D]��}�d�|�j�k�rG�|�j�|���q�n��|�j�j�d�k�r_�q�n��t�rx�|�j�|���q�n��|�j�j�d�k�r��|�j�|���q�|�j�j�d�k�r��|�j�|���q�|�j�|���q�W|�|�|�S(���sb��� Allow the admin to specify some overrides for installonly pkgs. using the yumdb. t���installonlyt���keeps���remove-firsts���remove-last(���R����R���Re��R���R9���(���R��t���ret_begt���ret_midt���ret_endR���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���_sort_and_filter_installonly]��s$���� i���NR����R���R��i����(���R����R���(���R����t���installonly_limitR���t���_check_future_rpmdbvRF��R���R����t"���get_running_kernel_version_releaseR���R���R���R���R���R��Re��R+��R"��R��R��RI��R2��(���RI���R���Rd��R��t���cur_kernel_vt���cur_kernel_rRj��R���R��R����t���totalt���numleftR���t���newposR���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���X��sJ���� c���������C���s����|�s�t��j����}�n��|�j�t��j���|��j�|���}�|�d�k�rc�|�j�t��j���|��j�|�|���n��|�j�t��j���|��j �|�d�|��|�j�t��j ���|��j�|�d�|��d�S(���sq��Process the current transaction. This involves the following steps: - Download the packages - Check the GPG signatures of the packages - Run the test RPM transaction - Run the RPM Transaction The *callback*.event method is called at the start, and between each step. :param callback: a callback object, which must have an event method :param rpmTestDisplay: name of the display class to use in the RPM test transaction :param rpmDisplay: name of the display class to use in the rpm transaction t���displayN(���t ���callbackst���ProcessTransNoOutputCallbackt���eventt���PT_DOWNLOADt���_downloadPackagesR���t���PT_GPGCHECKt���_checkSignaturest ���PT_TEST_TRANSt���_doTestTransactiont���PT_TRANSACTIONt���_doTransaction(���RI���RQ���t���rpmTestDisplayt ���rpmDisplayR��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���processTransaction���s����c���������C���s��t��d����t�d����|��j�j��������}�t�|���d�k�r=�d�S|�j�t�j�|���y�|��j �|���}�Wn&�t �k �r��t�j�t �d���g���n�Xt�|���d�k�rt �d���g�}�xI�|�D]A�}�t�j�|�|���}�x%�|�D]�}�|�j�d�|�|�f���q��Wq��Wt�j�|���n��|�S(���s/��� Download the need packages in the Transaction c���������S���s���|��j��S(���N(���R���(���R��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����c���������S���s ���|��j��d�k�S(���NR����R���(���R����R���(���R���(���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����i����s!���Unable to find a suitable mirror.s3���Errors were encountered while downloading packages.s���%s: %sN(���R0��t���filterR���R���R"��R���R���R���t���PT_DOWNLOAD_PKGSR��R���R����R���R ���R����R���Re��t���YumDownloadError(���RI���RQ���t���dlpkgsRg��t���errstrR|��Ro��R��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s"���� c���������C���sj���xc�|�D][�}�|��j��|���\�}�}�|�d�k�r4�q�q�|�d�k�rV�|��j�|�|��j���q�t�j�|���q�Wd�S(���s/��� The the signatures of the downloaded packages i����i���(���R[��R���t���_askForGPGKeyImportR����t���YumGPGCheckError(���RI���R��RQ���R���R^��R(��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s���� c���������C���s���t��S(���su��� Ask for GPGKeyImport This need to be overloaded in a subclass to make GPG Key import work (���Rb���(���RI���R���R���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����c���������C���s���|��j�����|��j�}�d�|��_�|��j�d�d���|��j�j�t�j�t�d�����|��j ����}�|�r��t �}�x)�|�D]!�}�|�j�d���r��qg�n��t�}�qg�W|�r��t�d���g�}�|�j �|���t�j�|���n��t�d���g�}�|�j �|���t�j�|���n��i��}�x'�d�g�D]�} �t�|��j�| ���|�| �<q��Wt�|��d�t ��} �|�r<|�| �_�n��|��j�j�| �d �|��}�~ �t�|���d�k�r�t�d ���}�x�|�D]�} �|�d�| �7}�q|Wt�j�|���n��|��`�|�|��_�d�S( ���s��� Do the RPM test transaction t���keepoldi����s���Running Transaction Checks���rpmlib(s'���ERROR You need to update rpm to handle:s)���ERROR with transaction check vs depsolve:t���diskspacecheckt���testR����s���Test Transaction Errors: s��� %s N(���t���initActionTsR���R���t ���populateTsR{���R��R����R���R ���t���_run_rpm_checkR9���R4��Rb���R��R����t���YumRPMCheckErrorR����R����R+���R���R��R���R"��t���YumTestTransactionError(���RI���RQ���R���t���dscbt���msgst���rpmlib_onlyR����t���retmsgst���tsConft���featuret���testcbt���tserrorsR���t���descr(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�����sF���� c���������C���sl���|��j�����|��j�d�d���|��j�j����|��j�j����t�|��d�t��}�|�rX�|�|�_�n��|��j�d�|���d�S(���s��� do the RPM Transaction R���i����R���R����N( ���R���R���R��R���t���orderR+���R,���R���R���(���RI���RQ���R���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���:��s���� c��� ������C���s����g��}�|��j��j����x��|��j��j����D]��}�t�|���}�|�j�t�j�k�r��|�j����}�|��j�j �d�|�j �g���}�|�r��|�r��|�d�}�|�d�}�|��j�j�|���j����}�t �|���d�k�r��|�d�|�k�r��q#�q��q��n��|�j�|���q#�W|�S(���NR���i����i���(���R��R���RQ��R.���RX��R���t���RPMPROB_CONFLICTR���RF��R���t���pkgNEVRR���R���R"��Re��( ���RI���R���Ri��R����t���tokensR��R��R���t���provs(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR���G��s���� "c��� ������K���s���t��j�|���}�|�|�_�|��j�j�|�_�|�j�d�t���}�|�r��g��}�|�r��x<�|�D]+�}�|�rR�|�j�t �|�|��j�j �����qR�qR�Wn�|�}�|�|�_�n��|�r��|�r��t �|�|��j�j ���}�n��|�|�_�n��|�j �d�|��j�j���t�|�_�d�|�_�|��j�j�|�_�|��j�j�|�_�|��j�j�|�_�|��j�j�|�_�x=�|�j����D]/�} �t�|�| ���sRq7n��t�|�| �|�| ���q7W|��j�j�|���|��j�j�|�j���|�S(���sR��Add and enable a repository. :param repoid: a string specifying the name of the repository :param baseurls: a list of strings specifying the urls for the repository. At least one base url, or one mirror, must be given :param mirrorlist: a list of strings specifying a list of mirrors for the repository. At least one base url, or one mirror must be given :param kwargs: key word arguments to set any normal repository attribute :return: the new repository that has been added and enabled t���variable_convertRX���i����(���R��R��R��R����RW���R ��R����R9���Re��R���R����R���t ���mirrorlistt���setupRX���t���enablegroupst���metadata_expireR���t ���repo_gpgcheckR����R����R���R���R����R]���R����t ���enableRepoR����( ���RI���R���t���baseurlsR��R���t���newrepot���var_convertt���replacedR���R|��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���add_enable_repob��s<���� & �s���/$basearch/$releaseverc���������C���s0��|�r�t��j����d�k�r�t�S|�d�k�r;�t��j�d���}�n��|�d�k�rP�d�}�n��y�t�j�|�|���}�Wn?�t�t�f�k �r��}�|��j �j �t�d���t�|�����d�}�n�X|�d�k�r��t �S|�t�|�|��j�j���7}�t�|��d���r��|�|��j�_�n�|��j�j�|���t�|��d���s |��j�j�|��_�n��|�|��j�_�t�S(���sl��Set a new cache directory. :param force: whether to force the cache directory to be changed :param tmpdir: a temporary directory :param reuse: whether the temporary directory can be reused :param suffix: suffix to attach to the directory name :return: whether the new cache directory is successfully set i����t���TMPDIRs���/var/tmps���Could not set cachedir: %sR����R���N(���R����R����R9���R���t���getenvR����t���getCacheDirR���R���Rz���Rv��R ���R/���Rb���R���R����R����R���R����RW���R]���R&��R���(���RI���R���t���tmpdirt���reuset���suffixRW���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR&�����s*���� c���������C���sx���|�j��|�j��k�r�t�S|�j�|���r)�t�S|�j�|��j�j�k�rB�t�St�j�j�|�j�|�j���ra�t�S|��j�|���rt�t�St�S(���s����returns True if pkg1 can update pkg2, False if not. This only checks if it can be an update it does not check if it is obsoleting or anything else.( ���R��Rb���R���RF���R,��RC��R���R���R9���(���RI���t���pkg1t���pkg2(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR7�����s����c���������C���sm���|��j��j�d�|��j�j������d�}�x1�|��j�j����D] �}�|�|�j����7}�|�d�7}�q2�W|��j��j�d�|���d��S(���Ns���config-mainR��s��� s���config-repos(���R����R���R����t���dumpR]���R^���(���RI���t���myreposR[���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s����c���������C���s���|��j��j�d�d�|��|�S(���s����Callback to call a plugin hook for pkg.verify(). :param verify_package: a conduit for the callback :return: *verify_package* t���verify_package(���R;���R����(���RI���R��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���verify_plugins_cb���s����c��� ������C���sr��|��j��j�rD�|�r,�|��j�j�t�d�����d�St�j�t�d�������n��|�s��d�t�j�d���}�t �j �d�d�d�|���\�}�}�t�j�|�d���}�n�t �|�d���}�|�|��_�d �|��j�j�d �t���d�d �|��j�j����g�}�|��j��j�d�k�r��|�d�g�7}�nj�|�d �t�|��j�j������d �g�7}�xC�|��j�j����D]2�}�|�d�|�j�t�|�j���|�j�j�f�g�7}�q.W|�d�d�|��j��j����f�g�7}�|�d �t�|��j��j������g�7}�x*�|��j��j����D]�}�|�|�j����g�7}�q�Wy$�|�j �d�j!�|�����|�j"����Wnv�t#�t$�f�k �rm} �d�|��_�|�rE|��j�j�t�d���|�t%�| ���f���qnt�j�t�d���|�t%�| ���f�����n�Xd�S(���s���Save out a transaction to a .yumtx file to be loaded later. :param filename: the name of the file to save the transaction in. If *filename* is not given, a name will be generated :param auto: whether to output errors to the logger, rather than raising exceptions :raises: :class:`yum.Errors.YumBaseError` if there are errors saving the transaction s>���Dependencies not solved. Will not save unresolved transaction.Ns���yum_save_tx.%ss���%Y-%m-%d.%H-%M.R��s���.yumtxt���prefixR���s���%s R���i����s���1 i���s ���%s:%s:%s s���%s:%s R����R��s&���Could not save transaction file %s: %s(&���R���t���_unresolvedMembersRz���Rv��R ���R����R���R����t���strftimet���tempfilet���mkstempR����t���fdopenR���Rt���RF��R���R9���R��t ���getTsFlagsRo���R���R"��R]���R^���R����R`���R���R���R���R���t���_dumpR ��R���R����R���R���R/���( ���RI���R#��R���R��R'��R���R����R/��R���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR������s<���� $0 )c���������C���s����y�t��|�d���j����}�Wn&�t�t�f�k �rA�}�t�|���d �f�SX|�sX�t�d���d �f�S|�d�d�k�r��|�d�d�k�r��|�d�d�!}�q��|�d�d �!}�n��d �|�f�S(���s*��� Load the file into a simple data format. R/��s���File is empty.i����s ���saved_tx: i����s���history addon-info i���i����i����N(���R���t ���readlinesR���R���R/���R���R ���(���RI���R#��R���R����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt ���_load_ts_data��s����c���!��� ���C���sf��|��j��|���}�|�d�d&�k �rE�t�j�t�d���|�|�d�f�����n��|�d�}�|�d&�k�rj�|��j�j�}�n��|�d&�k�r��|��j�j�}�n��|�d&�k�r��|��j�j�}�n��|�r��t �}�n��|�d�j ����}�|�t�|��j�j �d�t ���d���k�rAt�d���}�|�r|�t�d���7}�|��j�j�t�|�����qA|�t�d���7}�t�j�|�����n��y�t�|�d�j ������}�Wn4�t�t�f�k �r�} �t�d���}�t�j�|�����n�X|��j�j�|���t�|�d �j ������} �g��}�d �| �}�d&�} �xk�|�d �|�!D]\�}�|�j ����j�d���}�|�r+|�d�d�k�r+d �|�d�|�d �f�} �q�n��|�j�|���q�Wt�|�|�j ������}�|�d�}�d�}�t�}�d&�}�t�}�x�|�|�D]�}�|�j����}�|�j�d���r3|�r�|��j�j�|���|�|��j�j�k�r�|�r�|��j�j�j�|���q�n��t�}�|�j�d���d�j ����j�d���\�}�}�t�|�j ������}�t�|�j ����j�d�����}�y_�|�t�k�rd|��j �|���}�n=�|�t!�k�r�|��j"�|���}�n�t�d�|���}�t�j�|�����Wnf�t�j�k �r } �t �}�t�d�t�|���|�f���}�|�s�t�j�|�����q0t �}�|��j�j�|���q3X|�d�7}�t#�j$�|���}�|�|�_%�qn��|�j ����}�|�j�d�d���\�}�}�|�j&����}�|�d'�k�r�|�j ����j'����}�|�d�k�r�t(�|�|�t���qT|�d�k�rTt(�|�|�t ���qTn�|�d�k�r�t(�|�|�t�|�j ��������ng|�d�k�r|�j)�j*�|�j�d�����n?|�d(�k�rx0|�j ����j�d���D]��}�|�j�d ���\�}�}�yO�|�d!�k�r�|��j �t�|�j�d�������}�n�|��j"�t�|�j�d�������}�WnH�t�j�k �r�} �t�d"�t�|���|�f���}�|��j�j�|���t �}�q7Xt+�|�|���}�|�j�|���t(�|�|�|���q7Wn5|�d#�k�r>x&|�j�d���D]��}�|�j�d���\�}�} �|�j�d ���\�}�}�yO�|�d!�k�r�|��j �t�|�j�d�������}�n�|��j"�t�|�j�d�������}�WnH�t�j�k �r} �t�d"�t�|���|�f���}�|��j�j�|���t �}�q;Xt+�|�|���}�|�j�|�| �f���t(�|�|�|���q;Wn�t(�|�|�|�j ������|�rt �}�qqW|��j�j�|���|�|��j�j�k�r�|��j�j�j�|���n��|�|�k�r�t �}�n��|�rt�d$���}�|�r�t �}�|�t�d%���7}�|��j�j�|���q|�t�d���7}�t�j�|�����n��t,�|��j���|�k�r5d&�} �n��| �d&�k �rY|�| �|�f�|��j�_-�n��|��j�j.����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 i����s/���Could not access/read saved transaction %s : %si���R���s/���rpmdb ver mismatched saved transaction version,s��� ignoring, as requested.s ��� aborting.s+���cannot find tsflags or tsflags not integer.i���i���R���R����s���%s:%ss���mbr:R���RI��s(���Found txmbr in unknown current state: %ss$���Could not find txmbr: %s in state %st���isDepR���t���falseR���R���Rl��R*��R&��t ���downgraded_byR���RD��RJ��R2��RH��R����s(���Could not find txmbr: %s from origin: %sRF��sC���Transaction 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 ���downgradess���updatess ���obsoletess ���depends_on(/���R&��R���R����R���R ���R����t���loadts_ignorerpmt���loadts_ignorenewrpmt���loadts_ignoremissingR9���R���R����RF��R���Rz���Rv��R���R��R���R��t���setFlagsR���Re��Rb���t���rstripR4��R���R����R��R'��R���RB��R���RD��R���R����t���TransactionMembert ���current_statet���lstripR���R����Rl��R��R����R"��R���R���(!���RI���R#��t ���ignorerpmt ���ignoremissingt���ignorenewrpmR���t���rpmvR����R���R����t���numreposR]���t���rindext ���future_rpmdbvR/��R[���t���numpkgst���pkgstartt���pkgcountt���pkgprobt���curpkgt ���missinganyR7��Rc���R0��R���R��R.��t���pkgspect���origint���curlistR���RH��(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���load_ts,��s���& % ( !" !" c��� ������C���s���t�����}�t�����}�g��|��j�j�d�t���D]�}�|�j�^�q(�}�i��}�x!�|��j�j����D]�}�t�|�|�<qS�Wx,|�D]$}�x|�j����D] }�|�j �j �d�d���d�k�r��t�|�|�<q��n��|�|�k�r��q��n��|��j�|�|�|���r��q��n��t�} �x&�|�j ����D]�} �| �|�k�r��q��q��q��W| �s��d�|�j�|�j�f�GH|��j�d�|���}�xP�|�D]E�}�|�j�d�|���|�j�|�k�rz|�j�|�j���n��|�j�|���qBWq��q��Wqn�W|��j�j�t�j�d�t�|�����d�S( ���s����take the set of pkgs being removed and remove any pkgs which are: 1. not required anymore 2. marked as a 'dep' in the 'reason' in the yumdb. R���R���R��R4��s6���---> Marking %s to be removed - no longer needed by %sR���s+���Found and removing %s unneeded dependenciesN(���R����R���R���R���R���RF��R���R9���t���required_packagesR���R����Rb���t���_has_needed_revdepst���requiring_packagesR��R'��R(��Re��R����R{���R��R����R���R"��( ���RI���t���found_leavest���checkedt���tt���beingremovedt���okay_to_removeR����R���t���requiredt���still_neededt ���requiringR���R���(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyR�����s8���� + c���������C���s���|�|�s-�|��j��j�t�j�t�d���|���t�S|��j��j�t�j�t�d���|���i��}�x!�|��j�j����D]�}�t�|�|�<qb�Wx�|�D]�}�t�|�|�<q}�Wg��}�|�j �|���x�|�r�|�d�}�|�|�s<|�|�s��|��j��j�t�j�t�d���|���t�|�|�<t�S|�j �j�d�d���d�k�rM|��j��j�t�j�t�d���|�|���t�|�|�<t�|�|�<t�Sxo�|�j�D]d�\�}�} �} �|��j �j�|�| �| ���j����rWt�|�|�<t�|�|�<|��j��j�t�j�t�d���|���t�SqWWxm�|�j�|�j�D][�}�|��j �j�|�d��d ���j����r�t�|�|�<t�|�|�<|��j��j�t�j�t�d���|���t�Sq�Wt�|�|�<n��t�}�|�j����} �x/�| �D]'�}�|�|�sU|�j �|���t�}�PqUqUW|�r��|�j����q��q��W|��j��j�t�j�t�d ���|���t�S(���Ns2���%s has been visited already and cannot be removed.s���Examining revdeps of %si����R���R��R4��s*���%s has revdep %s which was user-installed.s*���%s is needed by a package to be installed.s!���%s has no user-installed revdeps.(���NNN(���R{���R��R����RE��R ���R9���RF��R���Rb���Re��R���R����RW��R���t���getNewRequiresR���R���R"��R���RE��t���pop(���RI���R���RI��t���ok_to_removet���visitedR���t���stackR=��t���provnt���provft���provevrR7���t���all_leaves_visitedt���leavest���leaf(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRD��4��s^���� " (����RK���RL���RM���RJ���R����R����R����R����R9���R;���R<���R���R����R����R����R����R����R����R����R���R����R��R��R����R��R!��Rb���R ��R+��R.��R-��R>��R@��R?��R]��Ra��R\��R���R���R���R���R���t���propertyR]���RH��R����RF��R���R��R��R��R����R����R���t���upinfoRq��R���R���R���R���R���R!��R"��R#��R ��R��R���R��R1��R ��R8��R���R���RI��Rm��R���R���R9��R5��R7��t���YUM_PID_FILER��R����t���staticmethodR��R��R��R<��RA��R��R���R���R[��R���R���R���R���R���R���R���R���R���R���R���R���R��R���R��R9��R?��RG��RU��Rb��Rk��Rl��Ro��R���R���R���R���R���R���R���R ��R���R%��R���R���R���R���R���R���R���R���R���R���R���R���R���R���R���R���R��R��R9��R#��R&��R+��R ��R'��RZ��R[��R���Rf��RP��Re��R1��R��R���R���R���R���R���R���R���R���R���R���R���R���R���R���R���R���R���R��R&��R7��R���R��R���R&��RB��R���RD��(����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyRe�������s��� + } Y * : 0 M # � n C �� . 7 � ' 1 ? * �� � � & #( l # !�+I' % & H F �� ��UU�= � K : N_i \# 3 : # 3 � 3(����(����(����(k���RM���R����t���os.pathR���Ru��R ���R&��R.��R!��R����R����R����Rx���t���logging.configR���R ��Rk��t���yum.i18nR����R����R ���R ���R���R���R����R���R���R����R��t���rpmUtils.updatesRC��t ���rpmUtils.archR���R���R���R���t���rpmUtils.miscutilsR���t���rpmUtils.transactionR��R���R]���R���R����R����R���R���R����RW��t���urlgrabber.grabberR���R���t���urlgrabber.progressR���t���packageSackR���R���R���Rf���R;���R����R��R���t���yum.historyt���yum.fssnapshotsR ���R!���t���yum.igroupsR���R����t���simplefilterR����R:��R#���R$���R%���R&���R'���R(���R)���t ���constantst���yum.rpmtransR+���R,���R-���R.���R/���t���yum.drpmR0���R1���R���RZ���R2���R3���t���__version__R���R���R���R���R����R����RN��R5���RN���RY���Rg���Re���(����(����(����s0���/usr/lib/python2.7/site-packages/yum/__init__.pyt���<module>���s���� " .
Simpan