�
�Hcf� � � � 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/dZ0dZ1dZ2dZ3dZ4ejj jm e d� ejj jm e d� gejj jm e d� ejj jm e d� ejj jm e d� ejj jm e d� gd �Z7g d!�Z8 ejr � Z: ejv ejx e=� � Z>ej~ G d"� d#ej� � � ZA ed$d%eBfd&eBfd'eBfg� ZCd(� ZDeDd)eBd*eBfd+�� ZEd,� ZFd-eBd.eeB fd/�ZG dqd0eeB d1eeB d2ee
eBeBf d.eBfd3�ZH e
d�4� dqd1eeB d2ee
eBeBf d.eBfd5�� ZI G d6� d7� ZJd8� ZKd9� ZLd:eBd.eeB fd;�ZM drd:eBd<eNd.eeB fd=�ZO dsd2ee
eBeBf d.eBfd>�ZP ej� ej� ej� fe8� d?eBfd@�� ZT dqdAeeB dBeeeB d2ee
eBeBf d.eBfdC�ZUdDeBd.eej� fdE�ZW dsdFej� dGeeB d.eej� fdH�ZYdIeeB dJeBdKeNdLeBd.eBf
dM�ZZ drdIeeB dJeBdKeNdLeBdNeBdOeNd.eBfdP�Z[dQeBdLeBdReBdIeeB dNeBd.dfdS�Z\dT� Z]dU� Z^ dsdQeBdLeBdNeeB d.dfdV�Z_dW� Z`dX� ZadY� ZbdZ� Zcd[eBd.eNfd\�Zdd.eeC fd]�Zed.eeB fd^�ZfddeAj� fd_eeB d`eeB daeeA d.dfdb�Zhd.eei fdc�Zjd.eej fdd�Zkde� Zldtdf�ZmdgeeB dheBfdi�ZndgeeB dheBfdj�ZodgeeB fdk�Zpdl� Zqdm� ZrdneeB d.e
eBeeBeeB f f fdo�Zsd.eBfdp�Zty)u� 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 �( � e Zd Z e� Z e� Zy)�
AptProxyScopeN)�__name__�
__module__�__qualname__�object�GLOBAL�UACLIENT� � �./usr/lib/python3/dist-packages/uaclient/apt.pyr r b s � �
�X�F��x�Hr& |