| Server IP : 104.21.4.30 / Your IP : 104.23.243.142 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/uaclient/__pycache__/ |
Upload File : |
U
2�d%e � @ s� d dl Z d dlmZ d dlmZmZ d dlmZ d dlmZ d dl m
Z
d dlmZm
Z
mZmZmZmZ d dlZd dlmZmZ d d lmZ d d
lmZ d dlmZmZmZmZ d dlm Z d d
l!m"Z"m#Z# d dl$m%Z%m&Z&m'Z' d dl(m)Z)m*Z*m+Z+m,Z,m-Z- dZ.G dd� de�Z/edd�dd� �Z0e
deej1j2 f d�dd�Z3ej1j2e4d�dd�Z5e4ee4ef e4d�dd�Z6eej1j2 e
e4eeej1j7e4f f d �d!d"�Z8e ee4ef d#�d$d%�Z9eee4ef d�d&d'�Z:e
e4eeej1j7e4f f ee4ef eee4ef d(�d)d*�Z;e ee4ef d#�d+d,�Z<dIe
e4eej1j2 f e4e=dd/�d0d1�Z>d2d3� Z?d4d5� Z@e4e4e&e%eAeAe=d6�d7d8�ZBee4 d9�d:d;�ZCd<d=� ZDe d>�d?d@�ZEdAdB� ZFdCdD� ZGdEdF� ZHdGdH� ZIdS )J� N)�defaultdict)�datetime�timezone)�Enum)� lru_cache)�choice)�Any�DefaultDict�Dict�List�Tuple�Union)� livepatch�messages)�_reboot_required)�_is_attached)�PreserveAptCfg�
get_apt_cache�get_apt_cache_datetime�
get_esm_cache)�UAConfig)�ESMAppsEntitlement�ESMInfraEntitlement)�ApplicabilityStatus�ApplicationStatus�ContractStatus)�get_distro_info�get_kernel_info�get_release_info�is_current_series_lts�is_supported)� esm-infra�esm-appsc @ s e Zd ZdZdZdZdZdZdS )�UpdateStatusz2Represents the availability of a security package.Zupgrade_availableZpending_attachZpending_enableZupgrade_unavailableN)�__name__�
__module__�__qualname__�__doc__� AVAILABLE�
UNATTACHED�NOT_ENABLED�UNAVAILABLE� r, r, �:/usr/lib/python3/dist-packages/uaclient/security_status.pyr# ( s
r# )�maxsizec C sR t � j} dd�| �fddd�| �fddd�| �fd dd
�| �fddd�| �fd iS )N�Ubuntuz{}-security�standard-securityZ
UbuntuESMAppsz{}-apps-securityr"