| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/root/lib/python3/dist-packages/apt/__pycache__/ |
Upload File : |
a
�?i
� � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl
mZ ddlm
Z
ddlmZ ddlmZmZmZmZmZmZmZmZmZmZmZ ddlZddlZddlm Z m!Z! dd lm"Z# d
Z$dd� Z%G d
d� de&�Z'G dd� de'�Z(G dd� de)�Z*G dd� dee* �Z+G dd� de)�Z,G dd� deeef �Z-G dd� de)�Z.G dd� dee. �Z/G dd� de)�Z0edd � �Z1e2d!k�r�e1� dS )"z"Functionality related to packages.� )�print_functionN)�
BadStatusLine)� HTTPError)�urlopen)�Any�Iterable�Iterator�List�Optional�Set�Tuple�Union�
no_type_check�Mapping�Sequence)�AcquireProgress�InstallProgress)�gettext)�BaseDependency�
Dependency�Origin�Package�Record�Version�VersionListc C sX t j�| �rTt j�| �|krTt| �� }t�|�j|kW d � S 1 sJ0 Y dS )z(Return ``True`` if the file is the same.NF)�os�path�exists�getsize�open�apt_pkgZHashes�hashes)r �sizer! Zfobj� r# �-/usr/lib/python3/dist-packages/apt/package.py�
_file_is_same6 s
.r% c @ s e Zd ZdZdS )�
FetchErrorz(Raised when a file could not be fetched.N��__name__�
__module__�__qualname__�__doc__r# r# r# r$ r&