mò ©ËŽGc@s(dkTdkTdefd„ƒYZdS((t*tRPMcBsbtZdZdZdZd„Zd„Zd„Zd„Zd„Z d „Z d „Z d „Z RS( NtrpmtRPMss install rpmcCs ||_dS(N(trpmfiletself(RR((t]/home/faculty/youssef/public_html/pacman/sample_cache/tarballs/pre/tmp/pacman-3.29/src/RPM.pyt__init__ scCs|i|ijS(N(RRtr(RR((RtequalscCs|iS(N(RR(R((RtstrscCstƒS(N(tReason(RR((Rt compatiblescCs;td|idt|iƒ ƒ}|i|iƒƒ|S(Nsrpm [s] is not installed.(R RRt rpm_installedRtsatsettok(RR((Rt satisfieds$cCsvtƒ}tƒdjoL|i}t|dƒp|d7}ntdƒotd|ƒ}qrn|idƒ|S(Ntroots.rpmtrpmchecksrpm --checksig s!You must be root to install rpms.( R treasont getusernameRRtrpmTmpttailtswitchtexecute(RRR((Rt _satisfiables    cCsl|iƒ}|iƒoOt|iƒo;|i}t|dƒp|d7}ntd|ƒ}qhn|S(Ns.rpmsrpm -i --force ( RRRRt rpm_replaceRRRR(RRR((Rtacquire$s   cCs5|i}t|dƒo|d }ntd|ƒS(Ns.rpmiüÿÿÿsrpm -e --nodeps (RRRRR(RR((Rtretract-s ( t__name__t __module__ttypettitletactionRR R R RRRR(((RRs      N(t Environmentt ExecutionR(R((Rt?s