| Server IP : 39.108.156.168 / Your IP : 216.73.216.104 Web Server : nginx/1.24.0 System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/uaclient/__pycache__/ |
Upload File : |
�
GK�i � � � d dl Z d dlZd dlmZmZmZ d dlmZmZm Z m
Z
mZmZm
Z
mZ dZg d�ZdZdZdZd Z e j* � Z e j. ej0 e� � Z ed
defdefd
efdefdefg� Zdefd�Zdefd�Z d$dee dee deee ddfd�Z! d%dedeee ddfd�Z"dedee fd�Z#dee fd�Z$d� Z%dejL fd�Z' d&dedee d efd!�Z(defd"�Z)dedefd#�Z*y)'� N)�List�
NamedTuple�Optional)�api�apt�event_logger�
exceptions�http�messages�system�utilz
/usr/bin/snap)g �?g �?g @z
proxy.httpzproxy.httpsz/run/snapd.socketz/v2/snaps/{}�SnapPackage�name�version�revision�channel� publisher�returnc �. � dt j � v S )z(Returns whether or not snap is installed�snapd)r �get_installed_packages_names� � �//usr/lib/python3/dist-packages/uaclient/snap.py�is_snapd_installedr '