\eËddlmZddlZddlZddlZddlZddlmZmZm Z ddl m Z m Z ddl Z ddlZddlmZmZddlmZmZmZGddeZGd d eZGd d eZGd deZGddeZGddZGddZGddZ GddZ!Gdde!Z"Gdde!Z#GddZ$Gdd Z%d%d!Z&d%d"Z'd&d#Z(e)d$k(re(yy)') annotationsN)CallableIteratorKeysView)Anycast)PackageVersion)AcquireProgressInstallProgress OpProgressceZdZdZy)FetchCancelledExceptionzAException that is thrown when the user cancels a fetch operation.N__name__ __module__ __qualname____doc__+/usr/lib/python3/dist-packages/apt/cache.pyrr&sKrrceZdZdZy)FetchFailedExceptionz-Exception that is thrown when fetching fails.Nrrrrrr*s7rrceZdZdZy)UntrustedExceptionz>Exception that is thrown when fetching fails for trust reasonsNrrrrrr.HrrceZdZdZy)LockFailedExceptionz,Exception that is thrown when locking fails.Nrrrrrr2s6rrceZdZdZy)CacheClosedExceptionz>Exception that is thrown when the cache is used after close().Nrrrrr r 6rrr c(eZdZdZddZddZddZy) _WrappedLockz`Wraps an apt_pkg.FileLock to raise LockFailedException. Initialized using a directory path.c||_tjtjj |d|_y)Nlock)_pathapt_pkgFileLockospathjoin_lock)selfr)s r__init__z_WrappedLock.__init__?s* %%bggll4&@A rc |jjS#tj$r }t d|j d|d}~wwxYw)NzFailed to lock directory z: )r+ __enter__r&Errorrr%)r,es rr/z_WrappedLock.__enter__CsG ::'') )}} %7;zz1E  sAA  Ac<|jj|||SN)r+__exit__)r,typvalue tracebacks rr4z_WrappedLock.__exit__Kszz""3y99rN)r)strreturnNoner9r:)r5objectr6r<r7r<r9r:)rrrrr-r/r4rrrr"r":s+B:rr"cneZdZdZ d. d/dZd0dZd0dZd1dZd2dZd3d4dZ d0d Z d0d Z d5d Z d6d Z d7d Zd3d8dZd9dZd:dZd;dZddZd?dZd@dAdZed=dZed=dZedBdZ dCdZ d3 dDdZ dE dFdZdGdZ dH dIdZ! dJ dKd Z" dLd!Z# dE dMd"Z$d0d#Z%d0d$Z&d0d%Z'dNd&Z( dOd'Z)dPd(Z*edQd)Z+ed=d*Z,ed=d+Z-ed=d,Z.ed=d-Z/y)RCacheaDictionary-like package cache. The APT cache file contains a hash table mapping names of binary packages to their metadata. A Cache object is the in-core representation of the same. It provides access to APTs idea of the list of available packages. The cache can be used like a mapping from package names to Package objects (although only getting items is supported). Keyword arguments: progress -- a OpProgress object, rootdir -- an alternative root directory. if that is given the system sources.list and system lists/files are not read, only file relative to the given rootdir, memonly -- build the cache in memory only. .. versionchanged:: 1.0 The cache now supports package names with special architecture qualifiers such as :all and :native. It does not export them in :meth:`keys()`, though, to keep :meth:`keys()` a unique set. Nc \ttjd|_ttjd|_ttj d|_ttjd|_ i|_ i|_ tj|_tj|_d|_d|_|j'dd|j'dd|r tj(j+dd|rYt,j.j1|}t,j.j3|dzr'tj4tj(|dzt,j.j7|dzr'tj8tj(|dztj(j+d |tj(j+d |d ztj(j+d t,j.j;|d dd|j=|tj>tj(jAd}tC||_"|jG|y)Ncache_post_open_inc_changes_countcache_post_changezDir::Cache::pkgcachez/etc/apt/apt.confz/etc/apt/apt.conf.dDirDir::State::status/var/lib/dpkg/statuszDir::bin::dpkgusrbindpkgDir::Cache::Archives)$rr&r>_cacheDepCache _depcachePackageRecords_records SourceList_list _callbacks _callbacks2weakrefWeakValueDictionary_weakrefWeakSet _weakversions_changes_count _sorted_setconnectconfigsetr(r)abspathexistsread_config_fileisdirread_config_dirr*_check_and_create_required_dirs init_systemfind_dirr" _archive_lockopen)r,progressrootdirmemonly archive_dirs rr-zCache.__init__is &*'--%> +/0@0@$+G04  " "D1  *.g.@.@$)G FH    ' ' ) 8?7H -1 &(<= (*>?  NN  5r : ggoog.Gww~~g(;;<((CV9VWww}}W'<<=''BW8WX NN  ug . NN  3W?U5U V NN   "'',,wuf"M   0 0 9    !nn--.DE )+6 (rc8|jjy)zFix broken packages.N)rN fix_brokenr,s rrnzCache.fix_brokens !!#rc.|xjdz c_y)zIncrease the number of changesN)rZros rrBzCache._inc_changes_counts q rc&ddg}gd}|D]=}tjj||zr&tj||z?|D]B}tjj||zr&t ||zdj Dy)zf check if the required apt directories/files are there and if not create them rGz/etc/apt/sources.list)z /var/lib/dpkgz /etc/apt/z/var/cache/apt/archives/partialz/var/lib/apt/lists/partialwN)r(r)r`makedirsrhclose)r,rjfilesdirsdfs rrdz%Cache._check_and_create_required_dirss # #    )A77>>'A+. GaK( ) /A77>>'A+.Wq[#&,,. /rc||jvr1|j|D]}|dk(r|j|!||jvr%|j|D]\}}}||g|i|yy)z!internal helper to run a callbackrBN)rSrBrTr,namecallbackargskwdss r_run_callbackszCache._run_callbackss 4?? " OOD1 33++-J   4## #(,(8(8(> .$$--- . $rc|(tjjj}|j ||_|j dtj||_ tj|j|_ tj|j|_ tj|_|jj!d|_|j%t'tj(dkD|_|j-|j dy)zTOpen the package cache, after that it can be used like a dictionary Ncache_pre_openrqrA)aptribaser ru op_progressrr&r>rLrMrNrOrPrQrRread_main_listr[ _Cache__remaplenget_architectures_have_multi_archdone)r,ris rrhz Cache.opens  ||((335H # ,-mmH-  ))$++6..t{{; '')  !!#  #G$=$=$? @1 D  -.rct|jjD]Q} |j|} |j|j j |j jf|_St|jD]}|jj jD]}|j|jjk(s'|jdk(s=|jjdk(s$|j|jjk(ss|j|jjk(s|j |jj k(s||_ |jj#|y#t$rY}wxYw#t$r|j|=YwxYw)zCalled after cache reopen() to relocate to new cache. Relocate objects like packages and versions from the old underlying cache to the new one. rN)listrWkeysKeyErrorrL_pkgr| architecture LookupErrorrYpackage version_listhash_candsize multi_archver_strremove)r,keypkgvervs r__remapz Cache.__remaps^  **,- 'C mmC( ';;sxx}}chh6K6K'KL '**+ /C[[%%22 /FFciinn,1 !(;qvv?W  (<(<< SYY%6%66 !CI /""))#. /    'MM#& 's"F>F% F"!F"%F?>F?cF|`ttjd|_y)zClose the package cacheN)rPrr&rOros rruz Cache.closes MW33T: rc|S)zEnter the with statementrros rr/zCache.__enter__ s rc$|jy)zExit the with statementN)ru)r,exc_type exc_valuer7s rr4zCache.__exit__ s  rc t|}|j|}|j|std|z|j |}|S#t$rtd|zwxYw)z look like a dictionary (get key)z!The cache has no package named %r)r8rLr_Cache__is_real_pkg_rawpkg_to_pkg)r,rrawpkgrs r __getitem__zCache.__getitem__sy Fc(C[[%F !!&)>DE E!!&)  F>DE E Fs AA&c0 ||S#t$r|cYSwxYw)zaReturn *self*[*key*] or *default* if *key* not in *self*. .. versionadded:: 1.1 )r)r,rdefaults rgetz Cache.get!s%  9  N s  cr|jd}|jj|t||S)zgReturns the apt.Package object for an apt_pkg.Package object. .. versionadded:: 1.0.0 Tpretty) get_fullnamerW setdefaultr )r,rfullnames rrzCache._rawpkg_to_pkg+s5 &&d&3}}'''$2GHHrc#K|jD]9}t||j|}|jj ||;ywr3)rr rLrWrr,pkgnamers r__iter__zCache.__iter__4sI yy{ 9G$ G 45C--**7C8 8 9sAAc|jS)z8Check if the apt_pkg.Package provided is a real package.) has_versions)r,rs r __is_real_pkgzCache.__is_real_pkg>s"""rc ||vSr3rr,rs rhas_keyz Cache.has_keyB d{rcp |j|jt|S#t$rYywxYwNF)rrLr8rrs r __contains__zCache.__contains__Es7 %%dkk#c(&;< <  s &) 55c4t|jSr3)rrros r__len__z Cache.__len__Ks499;rcj-tfdjjD_t jS)Nc3dK|]'}j|r|jd)yw)TrN)rr).0pr,s r zCache.keys..Ps2&%%a(d+&s-0)r[sortedrLpackagesrros`rrz Cache.keysNsF    #%&--& D  D$$%%rcg}|jj}|jjD]+}||r |j |j |-|S)zGet the marked changes)rN marked_keeprLrappendr)r,changesrrs r get_changeszCache.get_changesWsUnn00 kk** .s5TQajj5TsrDzFailed to fetch  T)r&r]find_bitems is_trustedrr*runstatus STAT_DONE STAT_IDLEr error_textRESULT_CANCELLEDrr)r,rallow_unauthenticateditem untrustedresfailederr_msgs r _run_fetcherzCache._run_fetchers ! ($+NN$9$93U% !'.mmKd4??TK K 2$)DII5T)5T,TT  kkmMM D{{dnn,~~ )$--$//9J"M MGF   '** *)'2 2 &w/ / 3Ls DDc|j td|j||j|jsy|j ||S)zfetch the needed archivesrF)rPr rrRr)r,rrrs r_fetch_archiveszCache._fetch_archivessM == &'OP Pw DMMB  *?@@rcF| | td|(tjjj }|t j |}|j5|j|t j|j|cdddS#1swYyxYw)aFetch the archives for all packages marked for install/upgrade. You can specify either an :class:`apt.progress.base.AcquireProgress()` object for the parameter *progress*, or specify an already existing :class:`apt_pkg.Acquire` object for the parameter *fetcher*. The return value of the function is undefined. If an error occurred, an exception of type :class:`FetchFailedException` or :class:`FetchCancelledException` is raised. The keyword-only parameter *allow_unauthenticated* specifies whether to allow unauthenticated downloads. If not specified, it defaults to the configuration option `APT::Get::AllowUnauthenticated`. .. versionadded:: 0.8.0 Nz'Takes a progress or a an Acquire object) ValueErrorrritextr r&rrgrrrN)r,rirrs rfetch_archiveszCache.fetch_archivess,  G$7FG G  ||((88:H ?ooh/G    ''//?AV   s 0BB c |j|}t|jxr |j S#t$rYywxYw)z0Return whether the package is a virtual package.F)rLbool has_providesrrrs ris_virtual_packagezCache.is_virtual_packagesK C++g&C((A1A1A-AB B  s5 AAc|t}|jj} |j|}|jr |s t |S|jD]@\}}} | j} |r | || k(s!|j|j| Bt |S#t $rt |cYSwxYw)a)Return a list of all packages providing a package. Return a list of packages which provide the virtual package of the specified name. If 'candidate_only' is False, return all packages with at least one version providing the virtual package. Otherwise, return only those packages where the candidate version provides the virtual package. If 'include_nonvirtual' is True then it will search for all packages providing pkgname, even if pkgname is not itself a virtual pkg. ) r^rNrrLrrr provides_list parent_pkgrr) r,rcandidate_onlyinclude_nonvirtual providersrvpprovides providesverversionrs rget_providing_packageszCache.get_providing_packagess*#&%  NN<< #W%B'9I&/1.>.> ; *Hk7''F!g1B61J&J d11&9: ;I # ? " #s'B$$B;:B;cttjjd5|rtjj d}tjj d}tjj d}tjj dt jj|tjj ddtjj ddtj}|jn |j} |(tjjj} |j j#|||} | s |r t'| |r`tjj dtjj dtjj dcdddS#t$$r} t'| d} ~ wwxYw#|ratjj dtjj dtjj dwwxYw#1swYyxYw)aRun the equivalent of apt-get update. You probably want to call open() afterwards, in order to utilise the new cache. Otherwise, the old cache will be used which can lead to strange bugs. The first parameter *fetch_progress* may be set to an instance of apt.progress.FetchProgress, the default is apt.progress.FetchProgress() . sources_list -- Update a alternative sources.list than the default. Note that the sources.list.d directory is ignored in this case zDir::State::ListszDir::Etc::sourcelistzDir::Etc::sourcepartszAPT::List-Cleanupxxx0N)r"r&r]rffindr^r(r)r_rQrrRrrirr rLupdate SystemErrorr) r,fetch_progresspulse_intervalraise_on_error sources_listold_sources_listold_sources_list_d old_cleanupslistrr1s rrz Cache.update s&'..112EF G I#*>>#6#67M#N %,^^%8%89P%Q"%nn112EF ""*BGGOOL,I""#:EB""#6<**,$$&  I!)%(\\%6%6%F%F%HN2++,,^UNSC~.00NN&&'=?OPNN&&'>@RSNN&&':KH= I I(#2.q112 NN&&'=?OPNN&&'>@RSNN&&':KH 7 I IsJDI?8*H#G;HA"I?; H HHHA%I<<I??Jc |jtj}|rtj  |j |}|rtj |j|S#t$r|jYwxYw#|rtjwwxYw#t$r|jY|SwxYw)aY The first parameter *pm* refers to an object returned by apt_pkg.PackageManager(). The second parameter *install_progress* refers to an InstallProgress() object of the module apt.progress. This releases a system lock in newer versions, if there is any, and reestablishes it afterwards. ) startUpdateAttributeError start_updater&pkgsystem_is_lockedpkgsystem_unlock_innerrpkgsystem_lock_inner finishUpdate finish_update)r,rinstall_progress did_unlockrs rinstall_archiveszCache.install_archives?s ,  ( ( *002   * * , /"&&r*C,,. -  ) ) + # ,  ) ) + ,,,.  -  * * ,  -s.A8B&B38BBB03CCc|(tjjj}|(tjjj }|Jt j 5t j|j}t j|}|j5 |j|||}|j||}||jk(rnI||jk(r td||j k(rntd|z|j#~ ddddddjk(S#1swY xYw#1swY$xYw)a!Apply the marked changes to the cache. The first parameter, *fetch_progress*, refers to a FetchProgress() object as found in apt.progress, the default being apt.progress.FetchProgress(). The second parameter, *install_progress*, is a apt.progress.InstallProgress() object. The keyword-only parameter *allow_unauthenticated* specifies whether to allow unauthenticated downloads. If not specified, it defaults to the configuration option `APT::Get::AllowUnauthenticated`. NzinstallArchives() failedz>@N  #"||00@@B +++    ! '''7Boon5G## '..wAB $$&% ' '.b))))) ' ' ' 's&-AE.BE/EE EE#c8|jjy)zUnmark all changesN)rNinitros rclearz Cache.clears rc&|jdy)z>called internally if the cache has changed, emit a signal thenrCNrros rrCzCache.cache_post_changes /0rc&|jdy)zMcalled internally if the cache is about to change, emit a signal thenrNr;ros rrzCache.cache_pre_changes ./rc|dk7rtjdtd||jvrg|j|<|j|j |y)zConnect to a signal. .. deprecated:: 1.0 Please use connect2() instead, as this function is very likely to cause a memory leak. rBzAconnect() likely causes a reference cycle, use connect2() insteadN)warningswarnRuntimeWarningrSr)r,r|r}s rr\z Cache.connectsU + + MMV  t &$&DOOD ! $$X.rc||jvrg|j|<|j|j|||fy)a;Connect to a signal. The callback will be passed the cache as an argument, and any arguments passed to this function. Make sure that, if you pass a method of a class as your callback, your class does not contain a reference to the cache. Cyclic references to the cache can cause issues if the Cache object is replaced by a new one, because the cache keeps a lot of objects and tens of open file descriptors. currently only used for cache_{post,pre}_{changed,open}. .. versionadded:: 1.0 N)rTrr{s rconnect2zCache.connect2sB$ t'' '%'D  T " %%xt&<=rc@tj|jS)aReturn an `ActionGroup` object for the current cache. Action groups can be used to speedup actions. The action group is active as soon as it is created, and disabled when the object is deleted or when release() is called. You can use the action group as a context manager, this is the recommended way:: with cache.actiongroup(): for package in my_selected_packages: package.mark_install() This way, the action group is automatically released as soon as the with statement block is left. It also has the benefit of making it clear which parts of the code run with a action group and which don't. )r& ActionGrouprNros r actiongroupzCache.actiongroups&""4>>22rctjjtjj d}tj tjj|dD]}tj|dsyy)zReturn True if the dpkg was interrupted All dpkg operations will fail until this is fixed, the action to fix the system if dpkg got interrupted is to run 'dpkg --configure -a' as root. rFupdatesz[0-9]*TF) r(r)dirnamer&r] find_filelistdirr*fnmatch)r,dpkg_status_dirrys rdpkg_journal_dirtyzCache.dpkg_journal_dirtysh''// NN $ $%9 : BGGLL)DE Aq(+ rc.|jjS)z7Return the number of packages with broken dependencies.)rN broken_countros rrPzCache.broken_counts~~***rc.|jjS)z2Return the number of packages marked for deletion.)rN del_countros r delete_countzCache.delete_counts~~'''rc.|jjS)z6Return the number of packages marked for installation.)rN inst_countros r install_countzCache.install_count~~(((rc.|jjS)z-Return the number of packages marked as keep.)rN keep_countros rrYzCache.keep_countrWr)NNF)riOpProgress | Nonerj str | Nonerkrr9r:r;)rjr8r9r:)r|r8r9r:r3)rirZr9r:)r9r>)rr<rr<r7r<r9r:)rr<r9r )rr<rr<r9r)rapt_pkg.Packager9r r9zIterator[Package])rr\r9rrr<r9rr9int)r9z list[str])r9 list[Package])F)rrr9r:)r9zset[str])rapt_pkg.Acquirer bool | Noner9r`)rrbrapt_pkg.PackageManagerrrcr9r`)NNN)riAcquireProgress | Nonerzapt_pkg.Acquire | Nonerrcr9r`)rr8r9r)TF)rr8rrrrr9ra)NrTN) rrerr`rrrr[r9r`)rrdr-r r9r`)rrer-zInstallProgress | Nonerrcr9r)r|r8r}zCallable[..., None] | strr9r:) r|r8r}zCallable[..., Any]r~r<rr<r9r:)r9zapt_pkg.ActionGroup)r9r)0rrrrr-rnrBrdrrhrrur/r4rrrrrrrrrrrpropertyrrrrrrr rrr/r6r9rCrr\rCrFrNrPrSrVrYrrrr>r>Os6'+" 4#44 4  4l$!/. ./0/@;  I9#  & !$$''  !&!?J! !N.2 A A #A + A A(,0*.-1 ( (  +  DC $#( """! "  "L26##' 1I.1I1I 1I ! 1I 1If!(!>#5>>D>NT> >,3*  ++(())))rr>cHeZdZdZd dZd dZd dZd dZd dZd dZ d dZ y ) ProblemResolverzuResolve problems due to dependencies and conflicts. The first argument 'cache' is an instance of apt.Cache. cZtj|j|_||_yr3)r&rhrN _resolverrLr,caches rr-zProblemResolver.__init__s 00A rcN|jj|jy)z'Reset the package to the default state.N)rjr9rr,rs rr9zProblemResolver.clears W\\*rcN|jj|jy)z)Protect a package so it won't be removed.N)rjprotectrrns rrpzProblemResolver.protects w||,rcN|jj|jy)zMark a package for removal.N)rjrrrns rrzProblemResolver.removes gll+rc|jj|jj|jj y)z:Resolve dependencies, try to remove packages where needed.N)rLrrjresolverCros rrszProblemResolver.resolve#s2 $$&   %%'rc|jj|jj|jj y)z4Resolve dependencies, do not try to remove packages.N)rLrrjresolve_by_keeprCros rruzProblemResolver.resolve_by_keep)s2 $$& &&( %%'rc|jj|jj|jj y)zKeep back phased updates.N)rLrrjkeep_phased_updatesrCros rrwz#ProblemResolver.keep_phased_updates/s2 $$& **, %%'rNrlr>r9r:)rr r9r:r;) rrrrr-r9rprrsrurwrrrrhrh s* +-,( ( (rrhceZdZdZddZy)FilterzFilter base classcy)ziFilter function, return True if the package matchs a filter criteria and False otherwise Trr,rs rapplyz Filter.apply<srNrr r9rrrrrr}rrrrzrz9s rrzceZdZdZddZy)MarkedChangesFilterz&Filter that returns all marked changescN|js|js |jryy)NTF)marked_install marked_deletemarked_upgrader|s rr}zMarkedChangesFilter.applyFs!   !2!2c6H6HrNr~rrrrrrCs 0rrceZdZdZddZy)InstalledFilterzMFilter that returns all installed packages. .. versionadded:: 1.0.0 c|jSr3) is_installedr|s rr}zInstalledFilter.applySsrNr~rrrrrrMs   rrc0eZdZdZddZddZddZddZy) _FilteredCacheHelperz:Helper class for FilteredCache to break a reference cycle.ci|_g|_|jd|j|jd|jy)NrCrA) _filtered_filtersrCfilter_cache_post_changerks rr-z_FilteredCacheHelper.__init__Zs<+-&(  *D,I,IJ ($*G*GHrci|_|D]?}|jD].}|j|sd|j|j<?Ay)zinternal helper to refilterTN)rrr}r|)r,rlrrys r_reapply_filterz$_FilteredCacheHelper._reapply_filterbsM C]] 773rlr_helper)r,rlris rr-zFilteredCache.__init__}s+ =xDJDJ+DJJ7 rc@t|jjSr3)rrrros rrzFilteredCache.__len__s4<<))**rc |j|Sr3rlrs rrzFilteredCache.__getitem__szz#rc#dK|jjD]}|j|ywr3)rrrl)r,rs rrzFilteredCache.__iter__s.||-- &G**W% % &s.0cJ|jjjSr3)rrrros rrzFilteredCache.keyss||%%**,,rc ||vSr3rrs rrzFilteredCache.has_keyrrc |j|j|jjvS#t$rYywxYwr)rlr|rrrrs rrzFilteredCache.__contains__s< ::c?''4<<+A+AA A  s .1 ==cn|jj||jjyr)rrrlrCrs rrzFilteredCache.set_filters$ ' $$&rcN|jj|jyr)rrrlros rrz&FilteredCache.filter_cache_post_changes --djj9rc.t|j|S)z)we try to look exactly like a real cache.)getattrrlrs r __getattr__zFilteredCache.__getattr__stzz3''r)NN)rlz Cache | NonerirZr9r:r_)rr8r9r r])r9z KeysView[str]r^rr;)rr8r9r)rrrrr-rrrrrrrrrrrrrrwsX IM8!84E8 8+&-' :(rrctdy)Nzcache pre changedprintrs rcache_pre_changedrs  rctdy)Nzcache post changedrrs rcache_post_changedrs  rctdtjttj j j}|jdt|jdttd|v|d}t|jtt||jD]}||j|k(rJ|j|j}tt||D]}|jrJdD]7}t j"j%|r#t!j&|9tj(j+ddtj,|j.}tj0tj j j3}|j5||dtd t7|}|j8jdt|j8jdt|j8j|j;t=tt||jD]}|||jk(rJtt|td t7tj j>j }|j8jdt|j8jdt|j8j|j;t=tt||jD]}|||jk(rJtt|y) zInternal test code.zCache self testrrCaptitude) /tmp/pytestz/tmp/pytest/partialrKrNz.Testing filtered cache (argument is old cache)z$Testing filtered cache (no argument))ri) rr&r8r>rrirr rCrrr|rrrrr(r)r`mkdirr]r^rrNrr rrrlrrr)rlrrrrIrrfiltereds r_testrs  LLN #,,##..0 1E NN%'89 NN&(:; *   C #((O #e*::<.W~""g---. MMO!G #g,xxx:ww~~g& HHW  NN-}=    0Boocll//??ABG '2t, :;U#H NN.0AB NN/1CD NN +-. #h-==?1(7+000001 #h- 01cll&7&7&B&B&DEH NN.0AB NN/1CD NN +-. #h-==?1(7+000001 #h-r__main__rxr;)* __future__rrLr(r?rUcollections.abcrrrtypingrrr&apt.progress.textr apt.packager r apt.progress.baser r r IOErrorrrrr Exceptionr r"r>rhrzrrrrrrrrrrrrs,# 88(JJLgL878I-I7'7I9I::*{ ){ )|&(&(X& f $$@1(1(h 5p z Gr