File: //lib/python3/dist-packages/uaclient/__pycache__/apt.cpython-310.pyc
o
�ϴf� � @ sx d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl m
Z
mZ d dlm
Z
mZmZmZmZmZmZ d dlZd dlmZ d dlmZmZmZmZmZmZmZ d dlm Z d dl!m"Z" dZ#d Z$d
Z%dZ&dZ'd
Z(dZ)dZ*dZ+dZ,dZ-dZ.dZ/dZ0dZ1dZ2dZ3dZ4ej5�6e d�ej5�6e d�gej5�6e d�ej5�6e d�ej5�6e d�ej5�6e d�gd �Z7g d!�Z8e�9� Z:e�;e�<e=��Z>ej?G d"d#� d#ej@��ZAed$d%eBfd&eBfd'eBfg�ZCd(d)� ZDeDd*eBd+eBfd,d-��ZEd.d/� ZFd0eBd1eeB fd2d3�ZG d�d4eeB d5eeB d6ee
eBeBf d1eBfd7d8�ZHe
dd9� d�d5eeB d6ee
eBeBf d1eBfd:d;��ZIG d<d=� d=�ZJd>d?� ZKd@dA� ZLdBeBd1eeB fdCdD�ZM Ed�dBeBdFeNd1eeB fdGdH�ZO d�d6ee
eBeBf d1eBfdIdJ�ZPe�QejRejSfe8�dKeBfdLdM��ZT d�dNeeB dOeeeB d6ee
eBeBf d1eBfdPdQ�ZUdReBd1eejV fdSdT�ZWdReeB d1eejV fdUdV�ZX d�dWejVdXeeB d1eejY fdYdZ�ZZd[eeB d\eBd]eNd^eBd1eBf
d_d`�Z[ Ed�d[eeB d\eBd]eNd^eBdaeBdbeNd1eBfdcdd�Z\deeBd^eBdfeBd[eeB daeBd1dfdgdh�Z]didj� Z^dkdl� Z_ d�deeBd^eBdaeeB d1dfdmdn�Z`dodp� Zadqdr� Zbdsdt� Zcdudv� ZddweBd1eNfdxdy�Zed1eeC fdzd{�Zfd1eeB fd|d}�ZgddeAjhfd~eeB deeB d�eeA d1dfd�d��Zid1eej fd�d��Zkd1eej fd�d��Zld�d�� Zmd�d�d��Znd�eeB d�eBfd�d��Zod�eeB d�eBfd�d��Zpd�eeB fd�d��Zqd�d�� Zrd�d�� Zsd�eeB d1e
eBeeBeeB f f fd�d��Ztd1eBfd�d��ZudS )�� N)� lru_cache�wraps)�Dict�Iterable�List�
NamedTuple�Optional�Set�Union)�AcquireProgress)�event_logger�
exceptions�gpg�messages�secret_manager�system�util)�ESM_APT_ROOTDIR)�status_cache_fileg N@z # ubuntu-pro-clientzDir::Etc::netrc/zDir::Etc::netrcparts/zDir::State::lists/a� /*
* Autogenerated by ubuntu-pro-client
* Do not edit this file directly
*
* To change what ubuntu-pro-client sets, use the `pro config set`
* or the `pro config unset` commands to set/unset either:
* global_apt_http_proxy and global_apt_https_proxy
* for a global apt proxy
* or
* ua_apt_http_proxy and ua_apt_https_proxy
* for an apt proxy that only applies to Ubuntu Pro related repos.
*/
z$Acquire::http::Proxy "{proxy_url}";
z%Acquire::https::Proxy "{proxy_url}";
z4Acquire::http::Proxy::esm.ubuntu.com "{proxy_url}";
z5Acquire::https::Proxy::esm.ubuntu.com "{proxy_url}";
z/etc/apt/trusted.gpg.d/z/usr/share/keyringsz/usr/lib/apt/methods/httpsz /usr/sbin/update-ca-certificatesz//etc/apt/apt.conf.d/90ubuntu-advantage-aptproxyz*/var/lib/apt/periodic/update-success-stamp)�xenial�bionic�focal�jammy�manticz�# Written by ubuntu-pro-client
Types: deb{deb_src}
URIs: {url}
Suites: {suites}
Components: main
Signed-By: {keyrings_dir}/{keyring_file}
zetc/apt/sources.listzvar/lib/dpkg/statuszetc/apt/apt.conf.dzetc/apt/preferences.dzvar/cache/apt/archives/partialzvar/lib/apt/lists/partial)�files�folders)g �?g @g $@c @ s e Zd Ze� Ze� ZdS )�
AptProxyScopeN)�__name__�
__module__�__qualname__�object�GLOBAL�UACLIENT� r# r# �./usr/lib/python3/dist-packages/uaclient/apt.pyr b s
r �InstalledAptPackage�name�version�archc s t � �� fdd��}|S )z*Decorator ensuring apt_pkg is initialized.c s&