0x1949 Team - FAZEMRX - MANAGER
Edit File: debfile.cpython-310.pyc
o 4��fe� � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl m Z mZmZm Z mZmZmZmZ ddlmZ ddlmZ G dd� de�ZG d d � d e�ZG dd� de�Zd d� Zedkree� dS dS )z;Classes for working with locally available Debian packages.� )�print_functionN)�Dict�Iterable�List�Optional�Set�Tuple�Union�cast)�gettext)�BytesIOc @ s e Zd ZdZdS )�NoDebArchiveExceptionz9Exception which is raised if a file is no Debian archive.N)�__name__� __module__�__qualname__�__doc__� r r �-/usr/lib/python3/dist-packages/apt/debfile.pyr # s r c @ sR e Zd ZdZed�\ZZZZdZ dEdd�Z dd� Zd d � Zdd� Z ed d� �Zedd� �Z dFdd�Zdd� Zdd� Zdd� Zdd� Zedd� �Zedd� �Zed d!� �Zed"d#� �Zd$d%� Zd&d'� Zd(d)� ZdGd+d,�ZdFd-d.�Zd/d0� Zd1d2� Z ed3d4� �Z!ed5d6� �Z"e#d7d8� �Z$e#d9d:� �Z%dHd;d<�Z&d=d>� Z'd?d@� Z(dAdB� Z)dIdCdD�Z*dS )J� DebPackagezA Debian Package (.deb file).� r Nc C sd |d u rt �� }|| _ttjd �| _d| _d | _i | _ g | _ d| _d| _d | _ |r0| �|� d S d S )N� F)�apt�Cache�_cacher �apt_inst�DebFile�_debfile�pkgname�filename� _sections� _need_pkgs�_check_was_run�_failure_string� _multiarch�open��selfr �cacher r r �__init__3 s �zDebPackage.__init__c C sh | � dd| � g | _t� | _d| _|| _t�| j�| _| jj � d�}t�|�| _ | j d | _d| _dS )z open given debfile � z open '%s'r �control�PackageFN)�_dbgr �set�_installed_conflictsr"