403Webshell
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 :  /lib/python3.12/site-packages/dnf/cli/commands/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.12/site-packages/dnf/cli/commands/__pycache__/reinstall.cpython-312.pyc
�

�(f]���ddlmZddlmZddlmZddlmZddlmZddl	Z
ddlZejd�Z
Gd�d	ej�Zy)
�)�absolute_import)�unicode_literals)�commands)�OptionParser)�_N�dnfc�@�eZdZdZdZed�Zed��Zd�Z	d�Z
y)�ReinstallCommandzSA class containing methods needed by the cli to execute the reinstall command.
    )�	reinstall�reizreinstall a packagec	�p�|jddtd�tjtd���y)N�packages�+zPackage to reinstall�PACKAGE)�nargs�help�action�metavar)�add_argumentrr�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�(�|jj}d|_d|_d|_d|_t
j|j|j�|jjs t
j|j�yy)aVerify 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)�selfrs  r�	configurezReinstallCommand.configure.so���(�(�"�"��"&���"&��� ��� ������d�i�i����2��y�y�"�"��&�&�t�y�y�1�#rc	�l�d}|jj|jjd|jjj
��D] }	|jj
|�d}�"|jj |jj"D�cgc]}d|z��	c}zD] }	|jj%|�d}�"|s(tjj3td���y#tjj$rZtjtd�|jjjj|j��Y��%wxYwcc}w#tjj&$r�}|j(D]O}tjtd�|jjj|j*��ntjtd�|jjjj|��Yd}~���d}~wtjj,$r�}|j(D]�}d}|jj.j1|�}|rtd�|z}td	�}tj||jjjj|�|���Yd}~��Wd}~wtjj$rJd
��wxYw)NF)�strict�progressTzNo match for argument: %s�@z(Package %s available, but not installed.�z
 (from %s)z%Installed package %s%s not available.z+Only the above marking errors are expected.z!No packages marked for reinstall.)r#�add_remote_rpmsr$r%�outputr+�package_reinstallr�
exceptions�MarkingError�logger�infor�term�bold�location�	pkg_specs�	grp_specsr�PackagesNotInstalledErrorr�name�PackagesNotAvailableError�history�repo�Error)	r'�done�pkg�x�pkg_spec�err�xmsg�pkgrepo�msgs	         r�runzReinstallCommand.run=s������9�9�,�,�T�Y�Y�-@�-@��6:�i�i�6F�6F�6O�6O�-�Q�C�
��	�	�+�+�C�0�
��Q��	�	�+�+��	�	�@S�@S�.T�@S�1�s�Q�w�@S�.T�T�H�
��	�	�#�#�H�-�(��-U�0��.�.�&�&�q�)L�'M�N�N���?�>�>�.�.�
F����A�9�:� �I�I�,�,�1�1�6�6�s�|�|�D�F�
F��/U���>�>�;�;�
B��<�<�C��K�K��"L� M� $��� 0� 0� 5� 5�c�h�h� ?�A��(����A�9�:� �I�I�,�,�1�1�6�6�x�@�B�B���>�>�;�;�
&��<�<�C��D�"�i�i�/�/�4�4�S�9�G�� ����8���C�D�C��K�K��T�Y�Y�%5�%5�%:�%:�%?�%?��%D� $�&�
(���>�>�.�.�
L�K�K�K�u�
L�s?�D�#E<�8F�A3E9�8E9�L3�B*I� L3�.BL�(L3N)�__name__�
__module__�__qualname__�__doc__�aliasesr�summary�staticmethodrr(rH�rrr
r
!s6���#�G��%�&�G��2��2�

2�(Orr
)�
__future__rr�dnf.clir�dnf.cli.option_parserr�dnf.i18nr�dnf.exceptionsr�logging�	getLoggerr3�Commandr
rPrr�<module>rYsD��*'�'��.����	��	�	�5�	!��DO�x�'�'�DOr

Youez - 2016 - github.com/yon3zu
LinuXploit