403Webshell
Server IP : 134.236.49.22  /  Your IP : 216.73.216.114
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/system-config-language/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/system-config-language/tui_install.pyc
Jc@sddkZddkZddkZddkZddkZddkZddkZddkTddklZddkl	Z	ddkl
Z
ddkTdZdddYZ
d	eifd
YZdS(iN(t*(t
logginglevels(tplugins(tErrorscCstidIJtiddS(Ns&Quit signal sent - exiting immediatelyi(tsyststderrtexit(tsignumtframe((s0/usr/share/system-config-language/tui_install.pytsigquits
tRPMInstallCallbackcBsMeZddZdZdZdZedZdZdZ	RS(icCs||_h|_d|_d|_g|_d|_d|_d|_d|_	t
|_hdt6dt
6dt6dt6dt6dt6|_hdt6d	t
6d
t6d
t6dt6d
t6|_d|_dS(Nit#itUpdatingtErasingt
Installingt	ObsoletedtUpdatedtErasedt	Installed(toutputtcallbackfilehandlest
total_actionsttotal_installedtinstalled_pkg_namest
total_removedtmarktmarkstNonetlastmsgtFalsetfilelogt	TS_UPDATEtTS_ERASEt
TS_INSTALLtTS_TRUEINSTALLtTS_OBSOLETEDt
TS_OBSOLETINGt	myprocesst
mypostprocessttsInfo(tselfR((s0/usr/share/system-config-language/tui_install.pyt__init__$s.										



cCsP|d}|djo
d}n
t|}|d|d||d|dfS(Ntepocht0tnametarchtversiontrelease(Rtstr(R(thdrttmpepochR*((s0/usr/share/system-config-language/tui_install.pyt	_dopkgtup@s



cCs1d|d|d|d|d|df}|S(Ns%s:%s.%s-%s-%sR*R,R.R/R-((R(R1thandle((s0/usr/share/system-config-language/tui_install.pyt_makeHandleGscCs|io	|GHndS(N(R(R(tmsg((s0/usr/share/system-config-language/tui_install.pyt_localprintMs
cCstt|i}d||f}d|d|d}||i|i|if}|id|}d||f}d|d}	|o8|	|it||df}
d	|
d
|}n'|	|i|f}
d|
d
|}|S(Ns%s.%ss[%ss/%ss]is%-tsgY@s
  %-10.10s: %-28.28s t s  %-10.10s: %-28.28s (tlenR0RRRRRtint(R(tpercenttprogresstltsizetfmt_donetdoneRtwidthtfmt_bartbartfmt((s0/usr/share/system-config-language/tui_install.pyt_makefmtQs
"cCsb|i|\}}}}}|djod||||f}nd|||||f}|S(s5return nice representation of the package for the logR+s%s.%s %s-%ss%s.%s %s:%s-%s(R3(R(R1tntatetvtrtpkg((s0/usr/share/system-config-language/tui_install.pyt
_logPkgStringbs

cCsy|tijo|djo
||_qunH|tijon4|tijon |tijod|_d}|dj	oe|\}}|i|}t	i
|t	i}	|	|i|<|i
d7_
|ii|d|	S|itdnx|tijod}|dj	o|\}}|i|}t	i|i|d}	|i|}
|iid|
}xy|D]m}y$|i|i}
|i|i}Wntj
onX|io#|i|}d||f}qqWqun||tijo/|dj	ot|tdjo|djo
d}n|d	|}|iot i!i"ox|i#|}|d
|f}||jo|d}n||ijo*t i!i$|t i!i%||_qq1q5|\}}|djo
d}n|d	|}|i|}
|iid|
}x|D]}y|i|i}
Wn+tj
o}d|i|dfGHqGX|iot i!i"p
||jow|i#|}||
|df}||ijo*t i!i$|t i!i%||_n||jo	d
GHq-qGqGWqun=|ti&jon)|ti'jon|ti(jo|i)d7_)|io$||ijotd|}n|io}t i!i"om||ijo
d}
nd}
d}|i#|t*}||
|f}t i!i$|dt i!i%qun=|ti+jon)|ti,jon|ti-jondS(NiiR,sNo header - huh?itpkgtups%s: %stldt	Repackages
s&Error: invalid output state: %s for %sR9s
Erased: %stRemovingtCleanupid(.trpmtRPMCALLBACK_TRANS_STARTRtRPMCALLBACK_TRANS_PROGRESStRPMCALLBACK_TRANS_STOPtRPMCALLBACK_INST_OPEN_FILERRR5tostopentO_RDONLYRRRtappendR7t_tRPMCALLBACK_INST_CLOSE_FILEtcloseR3R't
getMembersR%toutput_stateR&tKeyErrorRRMtRPMCALLBACK_INST_PROGRESSttypeRRtstdouttisattyRFtwritetflushtRPMCALLBACK_UNINST_STARTtRPMCALLBACK_UNINST_PROGRESStRPMCALLBACK_UNINST_STOPRRtRPMCALLBACK_REPACKAGE_STARTtRPMCALLBACK_REPACKAGE_STOPtRPMCALLBACK_REPACKAGE_PROGRESS(R(twhattbytesttotalthtuserR1trpmlocR4tfdRNttxmbrsttxmbrtprocesst	processedtpkgrepR6R<RERItlogmsg((s0/usr/share/system-config-language/tui_install.pytcallbackls
	



 






'



(
t__name__t
__module__R)R3R5R7tTrueRFRMR{(((s0/usr/share/system-config-language/tui_install.pyR
#s				
t
tuiInstallcBsteZddZdZdZdZdZdddZd	Zd
Z	dZ
dZd
ZRS(s
/etc/yum.confcCstii|y#|id|dtiifWn$tiij
o}t|nXt	i
y|iWn"tiij
ot
nXt	id|_t	id|_dS(Ntfntplugin_typessyum.mainsyum.verbose.cli(tyumtYumBaseR)t
doConfigSetupRt	TYPE_CORERtConfigErrortGuiErrortloggingtbasicConfigtresett	RepoErrort
RepoErrorst	getLoggertloggertverbose_logger(R(tconfigfnRI((s0/usr/share/system-config-language/tui_install.pyR)s
cCs"|i|i|idS(N(t
closeRpmDBt	doTsSetuptdoRpmDBSetup(R(((s0/usr/share/system-config-language/tui_install.pyRs

cCsd}t}xL|D]D}yt|i}||7}Wqt}|iidPqXqW|p&|iiti	d|i
|ndS(s4Report the total download size for a set of packagesis2There was an error calculating total download sizesTotal download size: %sN(RR;R?R~RterrorRtlogRtINFO_1t
format_number(R(tpackagesttotsizeRRLR?((s0/usr/share/system-config-language/tui_install.pytreportDownloadSizes	cCs|iit|idjodd}nd}xZd	|iifd
|iifd|iifd|iifd
|iifd|iifgD]\}}|od|}nx|D]}|i	\}}}}	}
|i
i}|i}t
|i
i}
|i|
}d|||||f}x:|iD]/}d|i|i|if}||}q:W||}qW|o||}qqWdt|ii|iit|ii|iit|ii|iif}||}|S(s@returns a string rep of the  transaction in an easy-to-read way.is
=============================================================================
 %-22s  %-9s  %-15s  %-16s  %-5s
=============================================================================
tPackagetArchtVersiont
RepositorytSizeRORRRQsInstalling for dependenciessUpdating for dependenciessRemoving for dependenciess%s:
s  %-22s  %-9s  %-15s  %-16s  %5s
s     replacing  %s.%s %s

s
Transaction Summary
=============================================================================
Install  %5.5s Package(s)         
Update   %5.5s Package(s)         
Remove   %5.5s Package(s)         
(RRRRR(R't	makelistsR:t	installedtupdatedtremovedtdepinstalledt
depupdatedt
depremovedRNtpotprintVertrepoidtfloatR?Rt	obsoletesR,R-(R(touttactiontpkglistttotalmsgRvRGRHRIRJRKtevrRtpkgsizeR?R6tobspotappendedtsummary((s0/usr/share/system-config-language/tui_install.pytlistTransactionsF
		
	 
cCsd}|iixd|iifd|iifd|iifd|iifd|iifd|iifd|iifgD]}\}}t	|d	jo^|d
|7}xM|D]A}|i
\}}}}}	d|||||	f}
||
7}qWqqW|S(NROtRemovedsDependency RemovedRsDependency InstalledRsDependency UpdatedtReplacedis
%s:s %s.%s %s:%s-%s(R'RRRRRRRt	obsoletedR:RN(R(RRRRvRGRHRIRJRKR6((s0/usr/share/system-config-language/tui_install.pytpostTransactionOutputKs$
iR9c
	Csddddddddd	g	}|o
d
}nd}d}d
}x&||jo|d}||}qGW|t|d}|d
jo||}|||}nt|tdjpt|tdjo
d}	n|djo
d}	nd}	|	||||fS(s4Turn numbers into human-readable metric-like numbersROtktMtGtTtPtEtZtYg@@g@iiils%i%s%sgfffff#@s%.1f%s%ss%.0f%s%s(R:Rc(
R(tnumbertSItspacetsymbolststeptthreshtdepthtdifftformat((s0/usr/share/system-config-language/tui_install.pyRas8	




2


cCsk|ii|ptid|n|ii|}|ptid|n|iotStSdS(NsNo Group named %s exists(tcompst	has_groupRtGroupsErrortreturn_groupRR~R(R(tgrpidt	thisgroup((s0/usr/share/system-config-language/tui_install.pytis_group_installeds
cCsx|D]}|i|\}}|djoqq|djo6tiio!|iiotiidqqtii|qWdS(sPerform GPG signature verification on the given packages, installing
        keys if possible

        Returns non-zero if execution should stop (user abort).
        Will raise YumBaseError if there's a problem
        iisTRefusing to automatically import keys when running unattended.
Use "-y" to override.(	tsigCheckPkgRtstdinRetconft	assumeyesRRtYumBaseError(R(tpkgsRtresultterrmsg((s0/usr/share/system-config-language/tui_install.pytgpgsigchecks

		cCsf|iitid|iiti|i|iitid|iitidS(NsResolving Dependenciess
Dependencies Resolved(RRRtINFO_2tdebugttimetbuildTransaction(R(((s0/usr/share/system-config-language/tui_install.pyt	checkDepss

cCs|iitii|ig}t}xR|iiD]A}|i	djo+t
}|i}|o|i|q|q;q;W|i
i|o|i|n|iitiid|i|}t|idjoud}|d7}xO|iD]A}tii||}x"|D]}	|d||	f7}q&WqWtii|n|i|djodS|iitiid	h}
x'd
gD]}t|i||
|<qWtdd}|i|_|i|i}
d|_|idd|i
i |d
|
}~|iitiidt|djoId}x|D]}|d|7}qZWtii|d|i!|n|iitiid|`
t"i"t"i#t"i$|i|idd|i
i%|i
i&|
|_d}|ii'djo
d}ntd|}t
|_(|i|_|iitiid|i)d||iitii|i*t"i"t"i#t+dS(sntakes care of package downloading, checking, user confirmation and actually
           RUNNING the transactiontitusDownloading Packages:iROsError Downloading Packages:
s	  %s: %s
isRunning Transaction TesttdiskspacecheckRtkeepoldRsFinished Transaction TestsTransaction Check Error:
s  %s
s
sTransaction Test SucceededisRunning Transactiontcb(RRN(,RRRRRRRR'R_tts_stateR~RR[ttsR^RRtdownloadPkgsR:tkeystmisctuniqueRRRtgetattrRR
tinitActionTst
dsCallbackRt
populateTsttestterrorSummarytsignaltSIGQUITtSIG_DFLtchecktordert
debuglevelRtrunTransactionRR	(R(tdownloadpkgststuff_to_downloadRvRtproblemst	errstringtkeyterrorsRttsConftfeaturettestcbtdscbttserrorstdescrRR((s0/usr/share/system-config-language/tui_install.pyt
doTransactions
	




		


	
	
cCsO|i||i|i|iitid|i|idS(Ns	Complete!(	tselectGroupRRRRRRRtdoUnlock(R(R((s0/usr/share/system-config-language/tui_install.pytinstall_language%s



(
R|R}R)RRRRRRRRRR(((s0/usr/share/system-config-language/tui_install.pyRs			3	(				i((RRXRSRRRRt
yum.constantsRRRt
gui_errorsR	R
RR(((s0/usr/share/system-config-language/tui_install.pyt<module>s

	

Youez - 2016 - github.com/yon3zu
LinuXploit