î Í+eTŠ ã @s%ddlZddlZddlZejddeƒddlZddlZddlZejdej ddddd d ƒej ƒZ d Z ej ee d jd dƒe ƒdkrÞejde ƒejdƒnejdƒeƒZejdƒxîe D]æZejrejdkrejdejƒejjjZx¢dddgD]ŽZeekrYxyeeD]jZxaeD]YZ e j!jZ"e e"jrƒe j#j$e e"jƒrƒej%de"ƒeje"ƒqƒqƒWqvWqYqYWqqWe&eƒdkr!dZ'ej(j)dƒdZ*ej+j,e*ƒr!ej-e.e*ƒƒZ/e.e*dd ƒZ0x‡e/D]Zej1dƒZ2ej1dƒZ3e2ekrÉej4egde5e'ƒfgƒZ6e0j7e6dƒqae0j7e5eƒdƒqaWej8e*e*dƒej8e0je*ƒej9e*d ƒq!ndS)!éNÚignorezapt API not stable yetÚlevelÚfilenamez,/var/log/dist-upgrade/apt-autoinst-fixup.logÚformatz%%(asctime)s %(levelname)s %(message)sÚfilemodeÚwz0.6.20ubuntu13z python-aptÚversionÚ0z$Need at least python-apt version %s éz9Starting to check for auto-install states that need fixupZmdadmZ metapackageszFound installed meta-pkg: '%s' ZDependsZ PreDependsZ Recommendsz#Removed auto-flag from package '%s'z Dir::StateZextended_statesz.tmpZPackagezAuto-InstalledÚ z .fixup-savei¤):ÚsysÚosÚwarningsÚfilterwarningsÚ FutureWarningZaptZapt_pkgZloggingZ basicConfigÚDEBUGZCacheÚcacheZ min_versionZversion_compareÚgetattrZ installedÚerrorÚexitÚdebugÚsetZ need_fixupÚaddÚpkgZ is_installedZsectionÚnameZ_pkgZ current_verZ depends_listZ dependsListÚtZdepOrZdepZ target_pkgZdepnameZ _depcacheZis_auto_installedÚinfoÚlenÚactionÚconfigZfind_dirZ STATE_FILEÚpathÚexistsZTagFileÚopenZtagfileZoutfileÚgetZpkgnameZautoInstZrewrite_sectionÚstrZnewsecÚwriteÚrenameÚchmod©r(r(ú@/usr/lib/python3/dist-packages/DistUpgrade/apt-autoinst-fixup.pyÚs`       +        &