| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1/cwd/usr/lib/python3.12/site-packages/dnf/cli/commands/__pycache__/ |
Upload File : |
�
�(f] � � � d dl mZ d dl mZ d dlmZ d dlmZ d dlmZ d dl Z
d dlZ ej d� Z
G d� d ej � Zy)
� )�absolute_import)�unicode_literals)�commands)�OptionParser)�_N�dnfc �@ � e Zd ZdZdZ ed� Zed� � Zd� Z d� Z
y)�ReinstallCommandzSA class containing methods needed by the cli to execute the reinstall command.
)� reinstall�reizreinstall a packagec �p � | j ddt d� t j t d� �� y )N�packages�+zPackage to reinstall�PACKAGE)�nargs�help�action�metavar)�add_argumentr r �ParseSpecGroupFileCallback)�parsers �?/usr/lib/python3.12/site-packages/dnf/cli/commands/reinstall.py�
set_argparserzReinstallCommand.set_argparser( s1 � ����J�c��:P�8Q�#/�#J�#J�$%�i�L� � 2� c �( � | j j }d|_ d|_ d|_ d|_ t
j | j | j � | j j s t
j | j � yy)a Verify that conditions are met so that this command can
run. These include that the program is being run by the root
user, that there are enabled repositories with gpg keys, and
that this command is called with appropriate arguments.
TN)�cli�demands�sack_activation�available_repos� resolving� root_userr �_checkGPGKey�base�opts� filenames�_checkEnabledRepo)�selfr s r � configurezReinstallCommand.configure. so � � �(�(�"�"��"&���"&��� ��� ������d�i�i����2��y�y�"�"��&�&�t�y�y�1� #r c �l � d}| j j | j j d| j j j
�� D ] } | j j
|� d}�" | j j | j j"