Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /lib/python2.7/site-packages/rpmUtils/ |
Upload File : |
� �v_c @ sD d d l Z d d l Z d d l Z d � Z d d d � � YZ d S( i����Nc C s t j j | | � S( N( t rpmUtilst miscutilst compareEVR( t tup1t tup2( ( s4 /usr/lib/python2.7/site-packages/rpmUtils/updates.pyt _vertup_cmp s t Updatesc B s e Z d Z d � Z d � Z d � Z d � Z d � Z d d � Z d � Z d � Z d � Z d d � Z d � Z d � Z d � Z d � Z d d d � Z d d d � Z d d d � Z d d d d � Z d d d d � Z d d d d � Z d d d � Z d d d � Z d � Z RS( sM This class computes and keeps track of updates and obsoletes. initialize, add installed packages, add available packages (both as unique lists of name, arch, ver, rel, epoch tuples), add an optional dict of obsoleting packages with obsoletes and what they obsolete ie:: foo, i386, 0, 1.1, 1: bar >= 1.1. c C s | | _ | | _ i | _ d | _ i | _ i | _ d | _ t d d d d d d d g � | _ t j j | _ t j j | j � | _ t j j | j � | _ t j j | j � | _ | j | j d � | _ | j | j d d | j �| _ i | _ i | _ d | _ i | _ d S( Ni t kernels kernel-smpt glibcs kernel-hugemems kernel-enterprises kernel-bigmems kernel-BOOTi t filter( t installedt availablet rawobsoletest Nonet _obsoletes_by_namet obsoleted_dictt obsoleting_dictt exactarcht sett exactarchlistR t archt canonArcht myarcht isMultiLibArcht _is_multilibt getArchListt _archlistt getMultiArchInfot _multilib_compat_archest makeNADictt installdictt availdictt updatesdictt updating_dictt debugt obsoletes( t selft instlistt availlist( ( s4 /usr/lib/python2.7/site-packages/rpmUtils/updates.pyt __init__ s, c C sU xN | D]F } | | k r q n t | j | | � | | <| | s | | =q q Wd S( N( R t __ne__( R$ t dict_t keyst valuet key( ( s4 /usr/lib/python2.7/site-packages/rpmUtils/updates.pyt _delFromDictE s c C s� | \ } } } } } xx | d f D]j } | | f | k r"