Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/share/yum-cli/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/yum-cli/yumcommands.pyo
Ñò
éU'Qc@s§dZddkZddkZddklZddklZddklZddkZddkZddk	Z	ddk
Z
ddkZddkl
Z
lZlZddkZd„Zd„Zd	„Zd
„Zd„Zd„Zd
„Zgd„Zdfd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdd„Zd„Zdefd„ƒYZdefd„ƒYZ defd„ƒYZ!d efd!„ƒYZ"d"e"fd#„ƒYZ#d$e"fd%„ƒYZ$d&e"fd'„ƒYZ%d(e"fd)„ƒYZ&d*efd+„ƒYZ'd,efd-„ƒYZ(d.efd/„ƒYZ)d0efd1„ƒYZ*d2efd3„ƒYZ+d4efd5„ƒYZ,d6efd7„ƒYZ-d8efd9„ƒYZ.d:efd;„ƒYZ/d<efd=„ƒYZ0d>efd?„ƒYZ1d@efdA„ƒYZ2dBefdC„ƒYZ3dDefdE„ƒYZ4dFefdG„ƒYZ5dHefdI„ƒYZ6dJefdK„ƒYZ7dLefdM„ƒYZ8dS(Ns<
Classes for subcommands of the yum command line interface.
iÿÿÿÿN(t
logginglevels(t_(tmisc(t
utf8_widthtutf8_width_fillt
to_unicodecCs:|iidjo#|iitdƒƒti‚ndS(sd
    Verify that the program is being run by the root user.

    @param base: a YumBase object.
    is,You need to be root to perform this command.N(tconftuidtloggertcriticalRtclitCliError(tbase((s!/usr/share/yum-cli/yumcommands.pytcheckRootUID$scCs||iƒpkxh|iiƒD]S}|ip
|io9|idjo)tdƒ}|ii|ƒt	i
‚qqWndS(Nts

You have enabled checking of packages via GPG keys. This is a good thing. 
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
    rpm --import public.gpg.key


Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and yum 
will install it for you.

For more information contact your distribution or package provider.
(tgpgKeyChecktrepostlistEnabledtgpgcheckt
repo_gpgchecktgpgkeyRRR	R
R(Rtrepotmsg((s!/usr/share/yum-cli/yumcommands.pytcheckGPGKey.s
$
	cCsHt|ƒdjo1|iitdƒ|ƒ|iƒti‚ndS(Nis(Error: Need to pass a list of pkgs to %s(tlenRR	RtusageR
R(Rtbasecmdtextcmds((s!/usr/share/yum-cli/yumcommands.pytcheckPackageArgCs
	
cCsDt|ƒdjo-|iitdƒƒ|iƒti‚ndS(NisError: Need an item to match(RRR	RRR
R(RRR((s!/usr/share/yum-cli/yumcommands.pytcheckItemArgJs
cCsDt|ƒdjo-|iitdƒƒ|iƒti‚ndS(Nis%Error: Need a group or list of groups(RRR	RRR
R(RRR((s!/usr/share/yum-cli/yumcommands.pyt
checkGroupArgPs
cCsœd
}t|ƒd	jo0|iitd
ƒdi|ƒƒti‚nxL|D]D}||jo1|iitdƒ|ƒ|iƒti‚qPqPWdS(Ntheaderstpackagestmetadatatdbcachetpluginssexpire-cachetrpmdbtallis#Error: clean requires an option: %ss, s!Error: invalid clean argument: %r(RR R!R"R#sexpire-cachesrpmdbsall(RRR	RtjoinR
RR(RRRt
VALID_ARGStcmd((s!/usr/share/yum-cli/yumcommands.pyt
checkCleanArgVs


cCsÙt|ƒdjo|iitdƒƒn©t|ƒdjol|iitdƒ|dƒtii|dƒp4|iitdƒ|dƒ|i	ƒt
i‚qÕn*|iitdƒƒ|i	ƒt
i‚dS(s×
    Verify that the arguments given to 'yum shell' are valid.

    yum shell can be given either no args, or exactly one argument,
    which is the name of a file. If these are not met,
    raise cli.CliError.
    isNo argument to shellisFilename passed to shell: %ss2File %s given as argument to shell does not exist.s5Error: more than one file given as argument to shell.N(Rtverbose_loggertdebugRtostpathtisfileRR	RR
R(RRR((s!/usr/share/yum-cli/yumcommands.pyt
checkShellArges		
	

cCsƒtodS|iiƒodSx6|D].}|idƒotii|ƒodSq(Wtdƒ}|ii	|ƒt
i‚dS(s]
    Verify that there is at least one enabled repo.

    @param base: a YumBase object.
    Ns.rpmsŒThere are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>(tTrueRRtendswithR,R-texistsRRR	R
R(Rtpossible_local_filestlfileR((s!/usr/share/yum-cli/yumcommands.pytcheckEnabledRepo~s	#	t
YumCommandcBsPeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(cCst|_t|_dS(N(tFalsetdone_command_oncethidden(tself((s!/usr/share/yum-cli/yumcommands.pyt__init__˜s	cGs4|ip|iiti||Œnt|_dS(N(R8R*tlogRtINFO_2R0(R:RRtargs((s!/usr/share/yum-cli/yumcommands.pytdoneCommandœs
cCsgS(N((R:((s!/usr/share/yum-cli/yumcommands.pytgetNames¡scCs
t‚dS(sO
        @return: A usage string for the command, including arguments.
        N(tNotImplementedError(R:((s!/usr/share/yum-cli/yumcommands.pytgetUsage¤scCs
t‚dS(sG
        @return: A one line summary of what the command does.
        N(RA(R:((s!/usr/share/yum-cli/yumcommands.pyt
getSummaryªscCsdS(N((R:RRR((s!/usr/share/yum-cli/yumcommands.pytdoCheck°scCsdtdƒgfS(sØ
        @return: (exit_code, [ errors ]) where exit_code is:
           0 = we're done, exit
           1 = we've errored, exit with error string
           2 = we've got work yet to do, onto the next stage
        is
Nothing to do(R(R:RRR((s!/usr/share/yum-cli/yumcommands.pyt	doCommand³scCstS(N(R0(R:RRR((s!/usr/share/yum-cli/yumcommands.pytneedTs¼s(
t__name__t
__module__R;R?R@RBRCRDRERF(((s!/usr/share/yum-cli/yumcommands.pyR6–s								tInstallCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Ntinstall((R:((s!/usr/share/yum-cli/yumcommands.pyR@ÀscCs
tdƒS(Ns
PACKAGE...(R(R:((s!/usr/share/yum-cli/yumcommands.pyRBÃscCs
tdƒS(Ns,Install a package or packages on your system(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCÆscCs5t|ƒt|ƒt|||ƒt||ƒdS(N(R
RRR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDÉs

cCsY|i|tdƒƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(NsSetting up Install Processi(R?RtinstallPkgstyumtErrorstYumBaseErrortstr(R:RRRte((s!/usr/share/yum-cli/yumcommands.pyREÏs
(RGRHR@RBRCRDRE(((s!/usr/share/yum-cli/yumcommands.pyRI¿s
				t
UpdateCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Ntupdates	update-to((R:((s!/usr/share/yum-cli/yumcommands.pyR@×scCs
tdƒS(Ns[PACKAGE...](R(R:((s!/usr/share/yum-cli/yumcommands.pyRBÚscCs
tdƒS(Ns+Update a package or packages on your system(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCÝscCs%t|ƒt|ƒt||ƒdS(N(R
RR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDàs

cCse|i|tdƒƒy|i|d|djƒSWn+tiij
o}dt|ƒgfSXdS(NsSetting up Update Processt	update_tos	update-toi(R?Rt
updatePkgsRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREås
(RGRHR@RBRCRDRE(((s!/usr/share/yum-cli/yumcommands.pyRQÖs
				tDistroSyncCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Nsdistribution-synchronizationsdistro-sync((R:((s!/usr/share/yum-cli/yumcommands.pyR@íscCs
tdƒS(Ns[PACKAGE...](R(R:((s!/usr/share/yum-cli/yumcommands.pyRBðscCs
tdƒS(Ns?Synchronize installed packages to the latest available versions(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCóscCs%t|ƒt|ƒt||ƒdS(N(R
RR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDös

cCse|i|tdƒƒyd|i_|i|ƒSWn+tiij
o}dt|ƒgfSXdS(Ns/Setting up Distribution Synchronization Processi(	R?RRt	obsoletestdistroSyncPkgsRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREûs(RGRHR@RBRCRDRE(((s!/usr/share/yum-cli/yumcommands.pyRUìs
				RcCsât|iƒdt|iƒt|ƒ}t|iƒdt|iƒ}t|iƒ}|idjo|t|iƒd7}nxWd|fd|fd|ffD]4\}}||i|dƒ|||cd7<q¦WdS(sl Get the length of each pkg's column. Add that to data.
        This "knows" about simpleList and printVer. it0tnatvertridiN(Rtnametarchtversiontreleasetui_from_repotepocht
setdefault(tdatatpkgtindentRYRZR[tdtv((s!/usr/share/yum-cli/yumcommands.pyt_add_pkg_simple_list_lenss* "c	Cshhd6hd6hd6}xJ|i|i|i|i|ifD]$}x|D]}t||ƒqMWq@Wt|iƒdjo>x;|iD],\}}t||ƒt||ddƒqˆWn|d|d|dg}|i	|dd	ƒ}|d|d	|d
fS(sA Work out the dynamic size of the columns to pass to fmtColumns. RYRZR[iRet itremainder_columniis    (
t	installedt	availabletextrastupdatestrecentRhRRVtobsoletesTuplestcalcColumns(RtyplRctlstRdtnpkgtopkgtcolumns((s!/usr/share/yum-cli/yumcommands.pyt_list_cmd_calc_columnss

tInfoCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Ntinfo((R:((s!/usr/share/yum-cli/yumcommands.pyR@ scCsdS(Ns7[PACKAGE|all|installed|updates|extras|obsoletes|recent]((R:((s!/usr/share/yum-cli/yumcommands.pyRB#scCs
tdƒS(Ns4Display details about a package or group of packages(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC&scCs‚y)|iid}|i|d|ƒ}Wn+tiij
o}dt|ƒgfSXh}h}h}	d}
|djot||ƒ}
n|oq|i	ogxd|i
|i|iD]G}|i
|if}||jp|i||ƒo|||<q¸q¸Wn|oc|ioYxV|iD]G}|i
|if}||jp|i||ƒo|||<q"q"Wn|ob|ioXxUt|iƒD]@}
|
iidjo'|
iƒo|
|	|
i
|
if<q’q’Wn|ii}|ii}|ii}|ii}|i|i	tdƒ|d|d|
d	h|d
6|d6|d6|d
6ƒ}|ii}|ii}|ii }|ii!}|i|itdƒ|d|d|
d	h|d6|d
6|d6|d
6ƒ}|i|i"tdƒ|d|
ƒ}|ii#}|ii$}|i|itdƒ|d|	d|
d	h|d6|d
6ƒ}t%|i&ƒdjog|djoZddg}tdƒGHxdt|i'dt(i)dƒƒD]}|i*|dd|
ƒq¥Wn%|i|i&tdƒ|d|
ƒ}|i|i+tdƒ|d|
ƒ}t%|ƒoV|doK|do@|do5|do*|do|dodtdƒgfSdgfSdS(Ntboldtinstalled_availableitlistRksInstalled Packagesthighlight_naRvthighlight_modest>t<t=snot insAvailable PackagessExtra PackagessUpdated PackagesiRsObsoleting PackagestkeyRVsRecently Added PackagessNo matching Packages to list(,ttermtMODEtreturnPkgListsRLRMRNROtNoneRwRkthidden_availabletreinstall_availablet
old_availableR\R]tverGTRlthidden_installedRntsortedRtidtverifyLocalPkgRtcolor_list_installed_oldertcolor_list_installed_newertcolor_list_installed_reinstalltcolor_list_installed_extratlistPkgsRtcolor_list_available_upgradetcolor_list_available_downgradetcolor_list_available_reinstalltcolor_list_available_installRmtcolor_update_localtcolor_update_remoteRRVRptoperatort
itemgettertupdatesObsoletesListRo(R:RRRt	highlightRrRPtupdate_pkgst	inst_pkgst
local_pkgsRvRdR‚tpotcliotclintclirtclietriptclautcladtclartclaitraptreptcultcurtruptroptobtuptrrap((s!/usr/share/yum-cli/yumcommands.pyRE)sŠ

!
! "	#
BcCs't|ƒo|ddjotStS(NiRk(RR7R0(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFƒs(RGRHR@RBRCRERF(((s!/usr/share/yum-cli/yumcommands.pyRxs
				ZtListCommandcBseZd„Zd„ZRS(cCsdgS(NR|((R:((s!/usr/share/yum-cli/yumcommands.pyR@ŠscCs
tdƒS(Ns$List a package or groups of packages(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCs(RGRHR@RC(((s!/usr/share/yum-cli/yumcommands.pyR³‰s	tEraseCommandcBsGeZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Nterasetremove((R:((s!/usr/share/yum-cli/yumcommands.pyR@“scCsdS(Ns
PACKAGE...((R:((s!/usr/share/yum-cli/yumcommands.pyRB–scCs
tdƒS(Ns-Remove a package or packages from your system(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC™scCst|ƒt|||ƒdS(N(R
R(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDœs
cCsY|i|tdƒƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(NsSetting up Remove Processi(R?Rt	erasePkgsRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyRE s
cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRF§scCstS(N(R0(R:RRR((s!/usr/share/yum-cli/yumcommands.pytneedTsRemoveªs(	RGRHR@RBRCRDRERFR¸(((s!/usr/share/yum-cli/yumcommands.pyR´‘s						tGroupCommandcBseZd„ZRS(cCsŽ|i|tdƒƒ|iddƒy|iƒWnStiij
odtdƒgfStiij
o}dt|ƒgfSXdS(NsSetting up Group Processtdosackiis!No Groups on which to run command(	R?RtdoRepoSetuptdoGroupSetupRLRMtGroupsErrorRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyRE®s(RGRHRE(((s!/usr/share/yum-cli/yumcommands.pyR¹­stGroupListCommandcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Nt	grouplist((R:((s!/usr/share/yum-cli/yumcommands.pyR@»scCsdS(NR((R:((s!/usr/share/yum-cli/yumcommands.pyRB¾scCs
tdƒS(NsList available package groups(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCÁscCst|ƒdS(N(R5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDÄscCs#ti||||ƒ|i|ƒS(N(R¹REtreturnGroupLists(R:RRR((s!/usr/share/yum-cli/yumcommands.pyREÇscCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFËs(RGRHR@RBRCRDRERF(((s!/usr/share/yum-cli/yumcommands.pyR¾ºs					tGroupInstallCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Ntgroupinstalltgroupupdate((R:((s!/usr/share/yum-cli/yumcommands.pyR@ÏscCsdS(NsGROUP...((R:((s!/usr/share/yum-cli/yumcommands.pyRBÒscCs
tdƒS(Ns.Install the packages in a group on your system(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCÕscCs2t|ƒt|ƒt|||ƒt|ƒdS(N(R
RRR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDØs

cCsYti||||ƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(Ni(R¹REt
installGroupsRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREÞs
(RGRHR@RBRCRDRE(((s!/usr/share/yum-cli/yumcommands.pyRÁÎs
				tGroupRemoveCommandcBsGeZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Ntgroupremovet
grouperase((R:((s!/usr/share/yum-cli/yumcommands.pyR@æscCsdS(NsGROUP...((R:((s!/usr/share/yum-cli/yumcommands.pyRBéscCs
tdƒS(Ns/Remove the packages in a group from your system(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCìscCs(t|ƒt|||ƒt|ƒdS(N(R
RR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDïs
cCsYti||||ƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(Ni(R¹REtremoveGroupsRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREôs
cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFûscCstS(N(R0(R:RRR((s!/usr/share/yum-cli/yumcommands.pyR¸þs(	RGRHR@RBRCRDRERFR¸(((s!/usr/share/yum-cli/yumcommands.pyRÅås						tGroupInfoCommandcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Nt	groupinfo((R:((s!/usr/share/yum-cli/yumcommands.pyR@scCsdS(NsGROUP...((R:((s!/usr/share/yum-cli/yumcommands.pyRBscCs
tdƒS(Ns%Display details about a package group(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCscCst|||ƒt|ƒdS(N(RR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDscCsYti||||ƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(Ni(R¹REtreturnGroupInfoRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREs
cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFs(RGRHR@RBRCRDRERF(((s!/usr/share/yum-cli/yumcommands.pyRÉs					tMakeCacheCommandcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Nt	makecache((R:((s!/usr/share/yum-cli/yumcommands.pyR@scCsdS(NR((R:((s!/usr/share/yum-cli/yumcommands.pyRBscCs
tdƒS(NsGenerate the metadata cache(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC!scCst|ƒdS(N(R5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRD$scCs_|iitdƒƒ|iitdƒƒyòx,|iidƒD]}d|_d|_qBW|iddƒ|iiƒ|ii	ddd	d
ƒhdd6d
d6dd6}xk|ii
ƒD]Z}xQ|iiƒD]@}||joqÕnt
i|i|ƒ||d|iƒqÕWq¿WWn+tiij
o}d
t|ƒgfSXdtdƒgfS(Ns*Making cache files for all metadata files.s=This may take a while depending on the speed of this computert*is	group:allRºtmdtypeR%t	cacheonlyis
groups.xmltgroup_gzspkgtags.sqlitetpkgtagssupdateinfo.xmlt
updateinfotcachedsMetadata Cache Created(RR+RRt	findRepostmetadata_expiretmdpolicyR»tdoSetuptpopulateSackRtrepoXMLt	fileTypesRtrepo_gen_decompresst
retrieveMDtcacheRLRMRNRO(R:RRRRt	fname_maptMDRP((s!/usr/share/yum-cli/yumcommands.pyRE's2	





cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFHs(RGRHR@RBRCRDRERF(((s!/usr/share/yum-cli/yumcommands.pyRÌs					!tCleanCommandcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Ntclean((R:((s!/usr/share/yum-cli/yumcommands.pyR@MscCsdS(Ns<[headers|packages|metadata|dbcache|plugins|expire-cache|all]((R:((s!/usr/share/yum-cli/yumcommands.pyRBPscCs
tdƒS(NsRemove cached data(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCSscCst|||ƒt|ƒdS(N(R)R5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDVscCsd|i_|i|ƒS(Ni(RRÞtcleanCli(R:RRR((s!/usr/share/yum-cli/yumcommands.pyREZscCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRF^s(RGRHR@RBRCRDRERF(((s!/usr/share/yum-cli/yumcommands.pyRáKs					tProvidesCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Ntprovidestwhatprovides((R:((s!/usr/share/yum-cli/yumcommands.pyR@bscCsdS(NtSOME_STRING((R:((s!/usr/share/yum-cli/yumcommands.pyRBescCs
tdƒS(Ns*Find what package provides the given value(R(R:((s!/usr/share/yum-cli/yumcommands.pyRChscCst|||ƒdS(N(R(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDkscCsS|iidƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(NsSearching Packages: i(RR+RåRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREns
(RGRHR@RBRCRDRE(((s!/usr/share/yum-cli/yumcommands.pyRäas
				tCheckUpdateCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Nscheck-update((R:((s!/usr/share/yum-cli/yumcommands.pyR@vscCsdS(Ns[PACKAGE...]((R:((s!/usr/share/yum-cli/yumcommands.pyRByscCs
tdƒS(Ns#Check for available package updates(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC|scCst|ƒdS(N(R5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDscCs|iiddƒd}yÃ|i|ƒ}|iip|iitiƒo.|idgƒ}|i|_|i	|_	nt
||ƒ}t|iƒdjoÐh}|i
id}	|	oXxUt|iƒD]@}
|
iidjo'|
iƒo|
||
i|
if<qÎqÎWn|ii}|ii}|i|idddd	|d
|dh|d6|d
6ƒd}nt|iƒdjoTtdƒGHx<t|i	dtidƒƒD]}
|i|
dd
|ƒq±Wd}nWn+tiij
o}dt|ƒgfSX|gfSdS(NiRnRVRzRkRt
outputTypeR|R}RvR~Rsnot inidsObsoleting PackagesR‚i( RtinsertR…RRVR*tisEnabledForRtDEBUG_3RpRwRRnRƒR„RŒRRRŽR\R]R˜R™R“RRšR›RœRLRMRNRO(R:RRRtresultRrttyplRvR RR¡R­R®R±RP((s!/usr/share/yum-cli/yumcommands.pyRE‚sF
 "
(RGRHR@RBRCRDRE(((s!/usr/share/yum-cli/yumcommands.pyRèus
				t
SearchCommandcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Ntsearch((R:((s!/usr/share/yum-cli/yumcommands.pyR@«scCsdS(NRç((R:((s!/usr/share/yum-cli/yumcommands.pyRB®scCs
tdƒS(Ns+Search package details for the given string(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC±scCst|||ƒdS(N(R(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRD´scCsY|iitdƒƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(NsSearching Packages: i(RR+RRðRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyRE·s
cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRF¾s(RGRHR@RBRCRDRERF(((s!/usr/share/yum-cli/yumcommands.pyRïªs					tUpgradeCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Ntupgrades
upgrade-to((R:((s!/usr/share/yum-cli/yumcommands.pyR@ÂscCsdS(Ns
PACKAGE...((R:((s!/usr/share/yum-cli/yumcommands.pyRBÅscCs
tdƒS(Ns-Update packages taking obsoletes into account(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCÈscCs%t|ƒt|ƒt||ƒdS(N(R
RR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDËs

cCsqd|i_|i|tdƒƒy|i|d|djƒSWn+tiij
o}dt|ƒgfSXdS(NisSetting up Upgrade ProcessRSs
upgrade-to(	RRVR?RRTRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREÐs(RGRHR@RBRCRDRE(((s!/usr/share/yum-cli/yumcommands.pyRñÁs
				tLocalInstallCommandcBsGeZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsti|ƒt|_dS(N(R6R;R0R9(R:((s!/usr/share/yum-cli/yumcommands.pyR;Ùs
cCs
ddgS(Ntlocalinstalltlocalupdate((R:((s!/usr/share/yum-cli/yumcommands.pyR@ÝscCsdS(NtFILE((R:((s!/usr/share/yum-cli/yumcommands.pyRBàscCs
tdƒS(NsInstall a local RPM(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCãscCs(t|ƒt|ƒt|||ƒdS(N(R
RR(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDæs

cCsn|i|tdƒƒ|dj}y|id|d|ƒSWn+tiij
o}dt|ƒgfSXdS(Ns Setting up Local Package ProcessRõtfilelistt
updateonlyi(R?RtlocalInstallRLRMRNRO(R:RRRRøRP((s!/usr/share/yum-cli/yumcommands.pyREëscCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFôs(	RGRHR;R@RBRCRDRERF(((s!/usr/share/yum-cli/yumcommands.pyRóØs							tResolveDepCommandcBs,eZd„Zd„Zd„Zd„ZRS(cCsdgS(Nt
resolvedep((R:((s!/usr/share/yum-cli/yumcommands.pyR@øscCsdS(Nt
DEPENDENCY((R:((s!/usr/share/yum-cli/yumcommands.pyRBûscCs
tdƒS(Ns5Determine which package provides the given dependency(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCþscCsY|iitdƒƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(Ns"Searching Packages for Dependency:i(RR+Rt
resolveDepCliRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREs
(RGRHR@RBRCRE(((s!/usr/share/yum-cli/yumcommands.pyRú÷s			tShellCommandcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Ntshell((R:((s!/usr/share/yum-cli/yumcommands.pyR@	scCsdS(Ns
[FILENAME]((R:((s!/usr/share/yum-cli/yumcommands.pyRBscCs
tdƒS(NsRun an interactive yum shell(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCscCst|||ƒdS(N(R/(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDscCsV|i|tdƒƒy|iƒSWn+tiij
o}dt|ƒgfSXdS(NsSetting up Yum Shelli(R?RtdoShellRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREs
cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFs(RGRHR@RBRCRDRERF(((s!/usr/share/yum-cli/yumcommands.pyRþs					tDepListCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Ntdeplist((R:((s!/usr/share/yum-cli/yumcommands.pyR@!scCsdS(Ns
PACKAGE...((R:((s!/usr/share/yum-cli/yumcommands.pyRB$scCs
tdƒS(NsList a package's dependencies(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC'scCst|||ƒdS(N(R(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRD*scCsY|i|tdƒƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(NsFinding dependencies: i(R?RRRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyRE-s
(RGRHR@RBRCRDRE(((s!/usr/share/yum-cli/yumcommands.pyR s
				tRepoListCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCsdS(Ntrepolist(R((R:((s!/usr/share/yum-cli/yumcommands.pyR@7scCsdS(Ns[all|enabled|disabled]((R:((s!/usr/share/yum-cli/yumcommands.pyRB:scCs
tdƒS(Ns,Display the configured software repositories(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC=sc2sº‡fd†}d„}d„}t|ƒdjo)|dd:jo|d}|d}nd}td	„|ƒ}ˆiitiƒ}|djp|oFyˆiiƒˆiWqät	i
ij
o|o‚qàqäXnˆiiiƒ}	|	i
ƒˆiiƒ}
ˆiid
ˆiid}ˆiid}ˆiid
}
d}g}xM|	D]E}t|ƒo|||ƒoq`nd;\}}}d}d}d}d}t}|djp |i|jp|i|jot}|||
}}}n||
jo™t}|djo
t}n|djo|oq`n|p|oI|tdƒ|}ttdƒƒ}|p|d7}|d7}q n|o||ƒ}n|djp|oÚ|pˆiip
|iot|iiƒƒ}nt|iƒ}||ƒ}|ii}tg}|D]$\}}||jo||q7q7~ƒ}|o)||ƒ}|p|d|7}q—n||7}qn`t}|djo
t}n|djo|oq`n|tdƒ|}ttdƒƒ}to–|pwt|ƒ} |o>|io4|ii i!}!|!|i"i!jod| } qgn|i#| |i||f|fƒq¥	|o
|i"}"nd}"ˆi%tdƒ|ƒˆi%tdƒ|iƒg}#|p|o#|#ˆi%tdƒ|ƒg7}#n|"o6|"i&dj	o&|#ˆi%tdƒ|"i&ƒg7}#n|"oM|"i'do?|"i'd}$|#ˆi%tdƒdi(t)|$ƒƒƒg7}#n|"oy|"i'dokxht)|"i'dƒD]O}%|"i'd|%}$|#ˆi%tdƒd|%di(t)|$ƒƒfƒg7}#qÅWn|"oY|#ˆi%tdƒt*i+|"i!ƒƒˆi%tdƒ|ƒˆi%tdƒ|ƒg7}#nt,|d ƒo
|i-}&n
|i.}&|&o,|#ˆi%td!ƒdi(|&ƒƒg7}#n|o|i/n|ioh|#ˆi%td"ƒ|iƒg7}#|o;|ii i!}'|#ˆi%td#ƒt*i+|'ƒƒg7}#q‰n1|i0o&|#ˆi%td$ƒ|i0ƒg7}#n|ow|i/om|&oe|i/d}(t|i/ƒdjo|(d%t|i/ƒd7}(n|#ˆi%td!ƒ|(ƒg7}#nt1i2i3|i4ƒptd&ƒ})n%t1i5|i4ƒi6})t*i+|)ƒ})|i7d'jotd(ƒ|)}nD|i7ptd)ƒ|)}n&||i7ƒ}td*ƒ||)f}|#ˆi%td+ƒ|ƒg7}#|io/|#ˆi%td,ƒdi(|iƒƒg7}#n|i8o/|#ˆi%td-ƒdi(|i8ƒƒg7}#n|o#|#ˆi%td.ƒ|ƒg7}#nˆii9tid/d0i(tt:i;|#ƒƒƒq`q`W|oã|oÜttd1ƒƒ}*d}+d},d}-x´|D]¬\} }.\}}}|*t| ƒjot| ƒ}*n|+t|.ƒjot|.ƒ}+n|,|t|ƒjo|t|ƒ},n|-t|ƒjot|ƒ}-qã	qã	W|djoˆii<|*d}/nZttd2ƒƒ|,jo(ˆii<|*ttd2ƒƒd}/nˆii<|*|,d}/|/|+jo
|/}+n+|/|+8}/|*|/d7}*|+|/|/d7}+t=td1ƒ|*ƒ}0t=td3ƒ|+|+ƒ}1|djo ˆii9ti>d4|0|1ƒn&ˆii9ti>d5|0|1td2ƒƒxÀ|D]´\} }.\}}}|djo8ˆii9ti>d4t=| |*ƒt=|.|+|+ƒƒqØn|ot=||-d6tƒ}nˆii9ti>d7t=| |*ƒt=|.|+|+ƒ||ƒqØWndd8t;t?i@d9|tƒƒgfS(<Ncs:d}x$|iiƒD]}||i7}qWˆi|ƒS(Ni(tsacktreturnPackagestpackagesizet
format_number(RtretRd(R(s!/usr/share/yum-cli/yumcommands.pyt
_repo_sizeAs
cSsc|iiƒ}|iiƒ}x>|D]6}ti||ƒotSti||ƒotSq%WtS(N(RtlowerR\tfnmatchR0R7(RtpatternsR[trnmtpat((s!/usr/share/yum-cli/yumcommands.pyt_repo_matchGs	cSsttid|tƒƒS(Ns%d(RtlocaletformatR0(tnum((s!/usr/share/yum-cli/yumcommands.pyt_num2ui_numQsiiR%tdisabledtenabledcSs
|iƒS((R(tx((s!/usr/share/yum-cli/yumcommands.pyt<lambda>YstgreenRztredtnormalRs: is+%sRÎsRepo-id      : sRepo-name    : sRepo-status  : sRepo-revision: tcontentsRepo-tags    : s, tdistrosRepo-distro-tags: s[%s]: %ssRepo-updated : sRepo-pkgs    : sRepo-size    : t
_orig_baseurlsRepo-baseurl : sRepo-metalink: s  Updated    : sRepo-mirrors : s
 (%d more)tUnknowniÿÿÿÿsNever (last: %s)sInstant (last: %s)s%s second(s) (last: %s)sRepo-expire  : sRepo-exclude : sRepo-include : sRepo-excluded: s%s
s
srepo idtstatuss	repo names%s %ss%s %s %stlefts
%s %s %s%ss
repolist: s%d(sallRsenabled(RRR(ARtmapR*RëRRìRRÙtpkgSackRLRMt	RepoErrortvaluestsortRRƒtFG_COLORR„R7RR\R0RRRtexcludeRt
simplePkgListt	_excludesROtmetalinkt
metalink_datatrepomdt	timestampRÚtappendR†t
fmtKeyValFilltrevisionttagsR&RŒttimetctimethasattrRtbaseurlturlst
mirrorlistR,R-R2tmetadata_cookietstattst_mtimeRÖtincludepkgsR<RRRvRR=RR(2R:RRRR
RRtargtverboseRt
enabled_repost	on_ehibegt	on_dhibegton_hiendttot_numtcolsRtehibegtdhibegthiendt
ui_enabledtui_endis_widtui_numtui_excludes_numt
force_showRtui_sizeRtexcludest_[1]trtpidR[tmdtstmdtoutR2Rtbaseurlsttsturltlasttid_lentnm_lentst_lentui_lentrnameR!ttxt_ridttxt_rnam((Rs!/usr/share/yum-cli/yumcommands.pyRE@s	
	$


-



>



 ( 
	





$
(




	
cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRF=s(RGRHR@RBRCRERF(((s!/usr/share/yum-cli/yumcommands.pyR5s
				ýtHelpCommandcBsMeZd„Zd„Zd„Zd„Zed„ƒZd„Zd„Z	RS(cCsdgS(Nthelp((R:((s!/usr/share/yum-cli/yumcommands.pyR@CscCsdS(NtCOMMAND((R:((s!/usr/share/yum-cli/yumcommands.pyRBFscCs
tdƒS(NsDisplay a helpful usage message(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCIscCslt|ƒdjo|iƒti‚n?t|ƒdjp|d|ijo|iƒti‚ndS(Nii(RRR
Rtyum_cli_commands(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRDLs

'
c
Csg|iƒd}y|iƒ}Wnttfj
o
d}nXy|iƒ}Wnttfj
o
d}nXd}|dj	o|d||f7}n|dj	o|d|7}n|djo!|djotdƒ|}n|iƒ}t|ƒdjoXt|ƒdjo|tdƒ7}n|td	ƒ7}|d
i|iƒdƒ7}n|S(NiRs%s %ss

%ssNo help available for %siis

aliases: s	

alias: s, (	R@RBtAttributeErrorRAR†RCRRR&(tcommandtcanonical_nameRtsummarythelp_outputt
command_names((s!/usr/share/yum-cli/yumcommands.pyt_makeOutputTs.

!cCsR|d|ijo4|i|d}|iiti|i|ƒƒndgfS(Ni(RcR*R<RR=Rj(R:RRRRe((s!/usr/share/yum-cli/yumcommands.pyRExs
cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFs(
RGRHR@RBRCRDtstaticmethodRjRERF(((s!/usr/share/yum-cli/yumcommands.pyR`As				$	tReInstallCommandcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Nt	reinstall((R:((s!/usr/share/yum-cli/yumcommands.pyR@ƒscCsdS(Ns
PACKAGE...((R:((s!/usr/share/yum-cli/yumcommands.pyRB†scCs5t|ƒt|ƒt|||ƒt||ƒdS(N(R
RRR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRD‰s

cCsY|i|tdƒƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(NsSetting up Reinstall Processi(R?Rt
reinstallPkgsRLRMRNR(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREs
cCs
tdƒS(Nsreinstall a package(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC—scCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRFšs(RGRHR@RBRDRERCRF(((s!/usr/share/yum-cli/yumcommands.pyRl‚s					tDowngradeCommandcBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(Nt	downgrade((R:((s!/usr/share/yum-cli/yumcommands.pyR@žscCsdS(Ns
PACKAGE...((R:((s!/usr/share/yum-cli/yumcommands.pyRB¡scCs5t|ƒt|ƒt|||ƒt||ƒdS(N(R
RRR5(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRD¤s

cCsY|i|tdƒƒy|i|ƒSWn+tiij
o}dt|ƒgfSXdS(NsSetting up Downgrade Processi(R?Rt
downgradePkgsRLRMRNRO(R:RRRRP((s!/usr/share/yum-cli/yumcommands.pyREªs
cCs
tdƒS(Nsdowngrade a package(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC±scCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRF´s(RGRHR@RBRDRERCRF(((s!/usr/share/yum-cli/yumcommands.pyRos					tVersionCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCsdgS(NR^((R:((s!/usr/share/yum-cli/yumcommands.pyR@¹scCsdS(Ns[all|installed|available]((R:((s!/usr/share/yum-cli/yumcommands.pyRB¼scCs
tdƒS(Ns9Display a version for the machine and/or available repos.(R(R:((s!/usr/share/yum-cli/yumcommands.pyRC¿scCs{d}|o|d}nd„}|iitiƒ}h}|d)jo1g}|djo
d}qŒ|tdƒ}ntiiƒ}xK|D]C}	t||	i	ƒ||	<||	i
o||	i|iƒq“q“W|d	jo9t
d
ƒGHxt|ƒD]}	dG|	GHqÿWddgfS|d
jox|D]ù}	|	|djoq4nt
dƒG|	GHt
dƒGH|p(x·t||	ƒD]}
dG|
GHq„Wq4hhd6hd6}||	}|i|ƒ}
|i|||
ƒ|d|dg}|i|ƒ}|d|df}|i|t|
d|ƒq4WddgfS|iid}|iid}g}|d*jo©yw|ii|d|ƒ}|iiƒ}|dj	o
|i}n|dj	o+|d|jo|id|dj	ƒn|d+joE|idt
dƒ||ft|dƒfƒ|||dƒn|o xt|dƒD]‡}|idƒo+t|ƒdjo||djoqYn|id t
d!ƒ|ft|d|ƒfƒ|||d"|ƒqYWnWqti i!j
o}dt|ƒgfSXn|d,jo^y,|i"i|d|ƒ}|d-joP|idt
d%ƒ||ft|dƒfƒ|o|||dƒq¡n|o«x¨t|dƒD]’}|idƒo+t|ƒdjo||djoq¹n|id t
d&ƒ|ft|d|ƒfƒ|o|||d"|ƒq¹q¹WnWq†ti i!j
o}dt|ƒgfSXnhhd6hd'6}xq|D]i\}}xZdt|ƒfd't|ƒffD]4\}}||i#|dƒ|||cd7<qÒWq¡W|d|d'g}|i|ƒ}|d|df}x%|D]}|i$t%||ƒƒGHqMWdd(gfS(.NRkicSsåxÞt|ƒD]Ð}||}g}d}xYt|ƒD]K}|djoq6n||}|id||ft||ƒfƒq6Wd|jo>|p|d|jo%|id|t|dƒfƒn|i|ƒq
WdS(Ns	    %s/%ss    %s(RŒR†R/ROtextend(RDt	repo_datatrepoidR®tncolstlast_revtrev((s!/usr/share/yum-cli/yumcommands.pyt
_append_reposÇs




+&%tnogroupssnogroups-installedsnogroups-availablesnogroups-alls	nogroups-R¿s Yum version groups:s   sversion grouplistRÊis
 Group   :s
 Packages:tenvraR[Rvsversion groupinfot
releasevertbasearchR%sgroup-installeds	group-alltgroupstwarns%s %s/%ss
Installed:isgroup-s%s %ssGroup-Installed:iRlsgroup-availables
Available:sGroup-Available:RZR^(Rzsnogroups-installedsnogroups-availablesnogroups-all(s	installedsallsgroup-installeds	group-all(sgroup-installeds	group-all(s	availablesallsgroup-availables	group-all(sgroup-availables	group-all(&R*RëRRìRRLtconfigtreadVersionGroupsConfigtsettpkglisttrun_with_packagesRRtrun_with_package_namesRRŒt_group_names2aipkgst_calcDataPkgColumnsRqt_displayPkgsFromNamesR0RtyumvarR$t
simpleVersionthistoryRXR†tend_rpmdbversiont_rpmdb_warn_checksR/ROt
startswithRMRNR#Rbt
fmtColumnstzip(R:RRRtvcmdRyR>R~tgconftgrouptpkgnameRct	pkg_namestpkg_names2pkgsRvtreltbaRDtlastdbvtgrpRPR[RZRfRgtline((s!/usr/share/yum-cli/yumcommands.pyREÂsÒ	











$!

$%%cCsSd}|o|d}n|iitiƒ}|djo|otS|djS(	NRkiRÊRlR%sgroup-availables	group-all(s	availablesallsgroup-availables	group-all(R*RëRRìR0(R:RRRR‘R>((s!/usr/share/yum-cli/yumcommands.pyRF>s(RGRHR@RBRCRERF(((s!/usr/share/yum-cli/yumcommands.pyRr¸s
				|tHistoryCommandcBsteZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
RS(cCsdgS(NR‹((R:((s!/usr/share/yum-cli/yumcommands.pyR@IscCsdS(NsC[info|list|packages-list|summary|addon-info|redo|undo|rollback|new]((R:((s!/usr/share/yum-cli/yumcommands.pyRBLscCs
tdƒS(Ns(Display, or use, the transaction history(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCOscCs‡|i|ƒ}|djoddgfSti|iƒ}d|i|fGH|i|ƒ|i|ƒodd|ifgfSdS(NisFailed history redos!Repeating transaction %u, from %sisRepeating transaction %u(t_history_get_transactionR†R3R4t
beg_timestampttidthistoryInfoCmdPkgsAlteredthistory_redo(R:RRtoldttm((s!/usr/share/yum-cli/yumcommands.pyt
_hcmd_redoRs

cCs‡|i|ƒ}|djoddgfSti|iƒ}d|i|fGH|i|ƒ|i|ƒodd|ifgfSdS(NisFailed history undosUndoing transaction %u, from %sisUndoing transaction %u(RR†R3R4RžRŸR thistory_undo(R:RRR¢R£((s!/usr/share/yum-cli/yumcommands.pyt
_hcmd_undo\s

c
Cst}t|ƒdjo/|ddjot}|}|idƒn|i|ƒ}|djoddgfS|iiƒ}|djoddgfS|i|ijoddgfSd}x¶|ii	t
|id|idƒƒD]‹}|oM|ip
|io9|io
d}nd}||iGHd	GHdd
gfS|djot
ii|ƒ}qí|i|ƒqíWti|iƒ}	d|i|	fGH|idd
id„|iDƒƒƒGH|i|ƒ|i|ƒodd|ifgfSdS(Nitforceis'Failed history rollback, no transactions!Failed history rollback, no last?s"Rollback to current, nothing to dos-Transaction history is incomplete, before %u.s,Transaction history is incomplete, after %u.s5 You can use 'history rollback force', to try anyway.s#Failed history rollback, incompletes#Rollback to transaction %u, from %ss&  Undoing the following transactions: s, cssx|]}t|ƒVqWdS(N(RO(t.0R((s!/usr/share/yum-cli/yumcommands.pys	<genexpr>‰s	isRollback to transaction %u(R7RR0tpopRR†R‹RXRŸR¢trangetaltered_lt_rpmdbtaltered_gt_rpmdbRLtYumMergedHistoryTransactiontmergeR3R4RžR0R&R R¥(
R:RRR§R¢RXtmobjRŸRR£((s!/usr/share/yum-cli/yumcommands.pyt_hcmd_rollbackfsB$

*


	
cCs|iiƒdS(N(R‹t_create_db_file(R:RR((s!/usr/share/yum-cli/yumcommands.pyt	_hcmd_newŽscCs·dG|iiGHti|iiƒi}dGtid|tƒGH|iiƒ}|djot
dƒGdGHdS|iiƒ}|iidƒd}t
dƒG|i
GHt
dƒGti|iƒGHt
dƒGti|iƒGHt
d	ƒGHt
d
ƒGtid|dtƒGHt
d
ƒGtid|dtƒGHt
dƒGtid|dtƒGHt
dƒGtid|dtƒGHt
dƒGtid|dtƒGHt
dƒGtid|dtƒGHdS(Ns
File        :s
Size        :s%ds
Transactions:it1s
Begin time  :s
End time    :s
Counts      :s
  NEVRAC :s%6dtnevracs
  NEVRA  :tnevras
  NA     :RYs
  NEVR   :tnevrs
  rpm DB :R$s
  yum DB :tyumdb(R‹t_db_fileR,R:tst_sizeRRR0RXR†Rt
_pkg_statsR¢RŸR3R4Ržt
end_timestamp(R:RRRttrans_Ntcountsttrans_1((s!/usr/share/yum-cli/yumcommands.pyt_hcmd_stats‘s&
"""""cCs˜|d}|p
d}nxvt|iid|ƒƒD]Y}|ii|dtƒdjoq7ndG|GdG|ii|ƒo	dGHq7dGHq7WdS(NiR
tcreatesSyncing rpm/yum DB data for:s...sDone.sFAILED.(R†RŒR$RR‹tpkg2pidR7t
sync_alldb(R:RRtipkg((s!/usr/share/yum-cli/yumcommands.pyt
_hcmd_sync¦s

	cCsÀd}|o@|d|jo/|iitdƒdi|ƒƒti‚n|o)|ddjot|ƒt|ƒn@ti	|i
itiƒp#|iitdƒƒti‚ndS( NR|RyRgtrepeattredotundotnewtrollbacktaddons
addon-infotstatst
statisticstsynctsynchronizepkgtpkgsspkg-lists	pkgs-listtpackagespackage-listR s
packages-listspkg-infos	pkgs-infospackage-infos
packages-infois%Invalid history sub-command, use: %s.s, s(You don't have access to the history DB.(slistsinfossummarysrepeatRÆRÇsnewRÉRÊs
addon-infoRËRÌRÍRÎRÏspkg-lists	pkgs-listRÐspackage-listspackagess
packages-listspkg-infos	pkgs-infospackage-infos
packages-info(srepeatRÆRÇRÉsnew(
RR	RR&R
RR
RR,taccessR‹R¸tR_OK(R:RRRtcmds((s!/usr/share/yum-cli/yumcommands.pyRD´s"

c	CsÞd}|o|d}nton“|djo|i|ƒ}ns|djo|i|ƒ}nS|djo|i|ƒ}n3|djo|i|ƒ}n|djo|i|ƒ}nó|djo|i||ƒ}nÐ|djo|i||ƒ}n­|djo|i||ƒ}nŠ|djo|i	||ƒ}ng|d jo|i
||ƒ}nD|d!jo|i||ƒ}n!|d"jo|i|ƒ}n|djodd|fgfS|S(#NR|iRyRgRÊs
addon-infoRdRÏspkg-lists	pkgs-listRÐspackage-listR s
packages-listRÇRÆRÅRÉRÈRËRÌRÍtsynchronizespkg-infos	pkgs-infospackage-infos
packages-infos
history %s(saddons
addon-info(spkgspkgsspkg-lists	pkgs-listspackagespackage-listspackagess
packages-list(sredosrepeat(sstatss
statistics(ssyncRÔ(spkg-infos	pkgs-infospackage-infos
packages-info(R7thistoryListCmdthistoryInfoCmdthistorySummaryCmdthistoryAddonInfoCmdthistoryPackageListCmdR¦R¤R°R²R¿RÄthistoryPackageInfoCmdR†(R:RRRR‘R	((s!/usr/share/yum-cli/yumcommands.pyREÇsB












cCs%d}|o|d}n|djS(NR|iRÅRÆRÇRÉ(srepeatsredosundosrollback((R:RRRR‘((s!/usr/share/yum-cli/yumcommands.pyRFës(RGRHR@RBRCR¤R¦R°R²R¿RÄRDRERF(((s!/usr/share/yum-cli/yumcommands.pyRœHs				
	
	(					$tCheckRpmdbCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Ntcheckscheck-rpmdb((R:((s!/usr/share/yum-cli/yumcommands.pyR@óscCsdS(Ns[dependencies|duplicates|all]((R:((s!/usr/share/yum-cli/yumcommands.pyRBöscCs
tdƒS(NsCheck for problems in the rpmdb(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCùsc	Csod}|o
|}nd„}d}|id|dtd|dd„ƒo
d	}n|d
||fgfS(NR%cSst|iƒƒGHdS(N(Rt__str__(R((s!/usr/share/yum-cli/yumcommands.pyt_outsiRTRtchkcmdtheadercSsdS(N(R†(R((s!/usr/share/yum-cli/yumcommands.pyRsis%s %s(RR7(R:RRRRßRÞtrc((s!/usr/share/yum-cli/yumcommands.pyREüs
	

cCstS(N(R7(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRF
s(RGRHR@RBRCRERF(((s!/usr/share/yum-cli/yumcommands.pyRÛòs
				tLoadTransactionCommandcBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCs
ddgS(Nsload-transactionsload-ts((R:((s!/usr/share/yum-cli/yumcommands.pyR@scCsdS(Ntfilename((R:((s!/usr/share/yum-cli/yumcommands.pyRBscCs
tdƒS(Ns&load a saved transaction from filename(R(R:((s!/usr/share/yum-cli/yumcommands.pyRCscCs¹|p#|iitdƒƒti‚n|d}|i|tdƒ|ƒy|i|ƒWn+tii	j
o}dt
|ƒgfSXdtdƒ|t|ii
ƒƒfgfS(Ns$No saved transaction file specified.isloading transaction from %siis*Transaction loaded from %s with %s members(RR	RR
RR?tload_tsRLRMRNRRttsInfot
getMembers(R:RRRt	load_fileRP((s!/usr/share/yum-cli/yumcommands.pyREs

cCstS(N(R0(R:RRR((s!/usr/share/yum-cli/yumcommands.pyRF&s(RGRHR@RBRCRERF(((s!/usr/share/yum-cli/yumcommands.pyRâ
s
				(9t__doc__R,R
RLRRRt
yum.ErrorsRšRRR3tyum.i18nRRRt
yum.configR
RRRRR)R/R5R6RIRQRURhRwRxR³R´R¹R¾RÁRÅRÉRÌRáRäRèRïRñRóRúRþRRR`RlRoRrRœRÛRâ(((s!/usr/share/yum-cli/yumcommands.pyt<module>sj	
						)	j
25ÿ
Aª

haha - 2025