| Server IP : 178.128.116.179 / Your IP : 216.73.216.220 Web Server : nginx/1.30.3 System : Linux glamautowash 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
G%@i
� �2 � d dl mZmZmZ G d� deee� Zy)� )�Plugin�UbuntuPlugin�DebianPluginc �0 � � e Zd ZdZdZdZd� Z� fd�Z� xZS )�AptzAPT - advanced packaging tool�apt)�system�sysmgmt�packagemanagerc �~ � | j g d�� | j d� | j d� | j g d�� | j d� }|d j � }dj |D �cg c] }d|v s�|j
d � d
�� c}� }| j d|� �d�
� y c c}w )N)z/etc/aptz/var/log/aptz/var/log/unattended-upgradesz/etc/apt/auth.confz/etc/apt/auth.conf.d/)z
apt-get checkzapt-config dumpzapt-cache statszapt-cache policyzapt-mark showholdz/dpkg-query -W -f='${binary:Package} ${status}
'�output� zok installed� r zapt-cache policy zapt-cache_policy_details)�suggest_filename)�
add_copy_spec�add_forbidden_path�add_cmd_output�exec_cmd�
splitlines�join�split)�self�dpkg_result�dpkg_output�v�pkg_lists �8/usr/lib/python3/dist-packages/sos/report/plugins/apt.py�setupz Apt.setup s� � ����
� �
��� 4�5���� 7�8����
� � �m�m�?�
�� "�(�+�6�6�8���8�8�'2�J�!�n��6I�Q�W�W�T�]�1�
�J�L�������z�*�7� �
��
Ks �< B:�B:c �H �� t �| � � | j g d�� y )N)z/etc/apt/sources.listz/etc/apt/sources.list.d/z/etc/apt/apt.confz/etc/apt/apt.conf.d/)�super�postproc�do_paths_http_sub)r � __class__s �r r! zApt.postproc1 s! �� �
�������
� � ) �__name__�
__module__�__qualname__�
short_desc�plugin_name�profilesr r! �
__classcell__)r# s @r r r s! �� �0�J��K�6�H�
�8� r$ r N)�sos.report.pluginsr r r r � r$ r �<module>r. s �� B� A�+�&�,�� +r$