ACC SHELL

Path : /usr/lib/python/site-packages/rpm/
File Upload :
Current File : //usr/lib/python/site-packages/rpm/transaction.pyc

Ñò
EÌ1Lc@s6ddkZddklZdefd„ƒYZdS(iÿÿÿÿN(ttstTransactionSetcBs˜eZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
d„Zd„Z
d
„Zd„Zd„Zd„ZRS(icCs#t||ƒ}t|||ƒ|S(N(tgetattrtsetattr(tselftattrtvaltoval((stransaction.pyt_wrapSetGet
scCs|id|ƒS(Nt_vsflags(R(Rtflags((stransaction.pyt
setVSFlagsscCs|iS(N(R	(R((stransaction.pyt
getVSFlagsscCs|id|ƒS(Nt_color(R(Rtcolor((stransaction.pytsetColorscCs|id|ƒS(Nt
_prefcolor(R(RR((stransaction.pytsetPrefColorscCs|id|ƒS(Nt_flags(R(RR
((stransaction.pytsetFlagsscCs|id|ƒS(Nt_probFilter(R(Rt	ignoreSet((stransaction.pyt
setProbFilterscCsddk}|i|ƒS(Niÿÿÿÿ(t_rpmbtspec(RtspecfileR((stransaction.pyt	parseSpec!scCsDg}x!|D]}|i|iƒƒq
W|pdSt|ƒSdS(N(tappendtKeytNonettuple(Rtkeystte((stransaction.pytgetKeys%stucCs»t|tƒo)t|ƒ}|i|ƒ}|iƒn*t|tƒo|i|ƒ}n|}|djotdƒ‚n|dj}ti||||ƒpti	dƒ‚ndS(NR"tishow argument must be "u" or "i"s$adding package to transaction failed(R"R#(
t
isinstancetstrtfilethdrFromFdnotcloset
ValueErrort_rpmtst
addInstalltrpmterror(Rtitemtkeythowtftheadertupgrade((stransaction.pyR+/s
cCsg}t|tiƒo
|g}n†t|tiƒo
|}nit|tƒo|iti|ƒ}n@t|tƒo|iti|ƒ}nt	dt
|ƒƒ‚x4|D],}ti||ƒpti
dƒ‚q²q²Wt|tiƒo~ndS(Nsinvalid type %sspackage not installed(R$R,thdrtmitinttdbMatchtRPMDBI_PACKAGESR%tRPMDBI_LABELt	TypeErrorttypeR*taddEraseR-(RR.thdrsth((stransaction.pyR<@s 

cCsŽti||||iƒ}|djodSg}|djoJxG|iƒD]5}d||i|i|iff}|i|ƒqMWn|S(Nis%s(	R*trunRRtproblemsR;t_strt_numR(RtcallbacktdatatrctrestprobR.((stransaction.pyR?Us


"cOs¥ti|||Žg}x…|iƒD]w}|itijo
ti}n$|itijo
ti}nq&|i	i
ddƒd}|i
ddƒ\}}}	|iiƒd}
|
d}ti
}t|
ƒdjo|
d}
|
idƒdjo|tiO}n|
idƒdjo|tiO}n|
id	ƒdjo|tiO}n|
d}nd
}|i|||	f||f|||ifƒq&W|S(Nt.iit-iit<t=t>t(R*tcheckR@R;R,tRPMPROB_CONFLICTtRPMDEP_SENSE_CONFLICTStRPMPROB_REQUIREStRPMDEP_SENSE_REQUIREStpkgNEVRtrsplittaltNEVRtsplittRPMSENSE_ANYtlentfindt
RPMSENSE_LESStRPMSENSE_EQUALtRPMSENSE_GREATERRR/(RtargstkwdsRFtptsensetnevrtntvtrtneedstneednamet	needflagstneedoptneedver((stransaction.pyRNes4



	
2cCs…ti||ƒ\}}|tijotidƒ‚nG|tijotidƒ‚n$|tijoti|ƒ‚ndS(Nspublic key not availablespublic key not trusted(R*thdrCheckR,tRPMRC_NOKEYR-tRPMRC_NOTTRUSTEDtRPMRC_OK(RtblobRFtmsg((stransaction.pyRjˆscCs…ti||ƒ\}}|tijotidƒ‚nG|tijotidƒ‚n$|tijotidƒ‚n|S(Nspublic key not availablespublic key not trustedserror reading package header(R*R'R,RkR-RlRm(RtfdRFR>((stransaction.pyR'’s(t__name__t
__module__RRRRRRRRRR!R+R<R?RNRjR'(((stransaction.pyRs 									
			#	
(R,trpm._rpmRR*R(((stransaction.pyt<module>s

ACC SHELL 2018