%PDF- %PDF-
| Direktori : /usr/lib/python3/dist-packages/aptdaemon/__pycache__/ |
| Current File : //usr/lib/python3/dist-packages/aptdaemon/__pycache__/core.cpython-312.pyc |
�
��kdk � � � d Z dZdZddlZddlmZ ddlZddlmZ ddl Z ddl
Z
ddlZ
ddlm
Z
ddlZddlZddlZddlZddlZddlZddlmZmZ ddlZddlZddlZd d
lmZ d dlmZ d dlmZ dd
l m!Z!m"Z"m#Z# ddl$m%Z% d dlm&Z& d dl'm(Z(m)Z) d dl*m+Z+ d dl,m-Z-m.Z. d dl/m0Z0 d dl1m2Z2 d� Z3ejh dk\ rdZ5dZ6ndZ5dZ6dZ7dZ8dZ9dZ:dZ;dZ<d Z=d!Z>d"Z?d#Z@d$ZAej` j� j� d%�&� ej� d'd(� e
j� d)� ZF e
j� j� d*e
j� j� j� �+� ZJeJj� e
j� � e
j� d,� ZNeJj� eN� eFj� eJ� e
j� � ZR e2d-d.� ZSeRj� eS� eFj� eR� e
j� d/� ZT e j� e j� d0� d2� ZYej� j� d3k( rej� Z\d4� e_Z G d5� d6ej� j� � Z_ G d7� d8e_� Z` G d9� d:ej* � Za G d;� d)e_� Zbd>d<�Zcd=� Zdy# Y ��xY w# e j� $ r eFj� d1� Y ��w xY w)?aN
Core components of aptdaemon.
This module provides the following core classes of the aptdaemon:
AptDaemon - complete daemon for managing software via DBus interface
Transaction - represents a software management operation
TransactionQueue - queue for aptdaemon transactions
The main function allows to run the daemon as a command.
z%Sebastian Heinlein <devel@glatzor.de>)
�Transaction�TransactionQueue� AptDaemon�$APTDAEMON_TRANSACTION_DBUS_INTERFACE�+APTDAEMON_DBUS_INTERFACEAPTDAEMON_DBUS_PATH�APTDAEMON_DBUS_SERVICE�APTDAEMON_IDLE_CHECK_INTERVAL�APTDAEMON_IDLE_TIMEOUT�TRANSACTION_IDLE_TIMEOUT�TRANSACTION_DEL_TIMEOUT� N)�ElementTree)�md5)�OptionParser)�GObject�GLib� )�ConfigWriter)�errors)�enums)�inline_callbacks�return_value�Deferred)�dbus_deferred_method)�
policykit1)�split_package_id�
set_euid_egid)�DummyWorker)� AptWorker�.trans_only_installs_pkgs_from_high_trust_repos)�mainloop)�ColoredFormatterc �. � t j d| � S )N� aptdaemon)�gettext�dgettext)�msgs �0/usr/lib/python3/dist-packages/aptdaemon/core.py�<lambda>r( G s � �� � ��c�2� � �3r$ �ngettext�ugettext� ungettextzorg.debian.aptz/org/debian/aptzorg.debian.apt.transaction�<