| 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 dlZd dlmZ d dlmZ d dl Z d dl
Z
d dlZ ej d� Z
G d� dej � Zy) � )�print_function)�unicode_literalsN)�_)�commands�dnfc �N � e Zd ZdZ ed� Zed� � Zd� Zd� Z d� Z
d� Zd� Zy )
�MarkCommand)�markz7mark or unmark installed packages as installed by user.c � � | j ddg d�t d� �� | j dddt d � �
� y )Nr
� )�install�remove�groupzhinstall: mark as installed by user
remove: unmark as installed by user
group: mark as installed by group)�nargs�choices�help�package�+�PACKAGEzPackage specification)r �metavarr )�add_argumentr )�parsers �:/usr/lib/python3.12/site-packages/dnf/cli/commands/mark.py�
set_argparserzMarkCommand.set_argparser) sP � ����F�!�5S�!"� $G� "H� � I� ���I�S�)�!"�#:�!;� � =� c �� � | j j j |t j j
� t j t d� t |� � y )Nz%s marked as user installed.)
�base�history�
set_reason�libdnf�transaction�TransactionItemReason_USER�logger�infor �str��self�pkgs r �
_mark_installzMarkCommand._mark_install2 s@ � �� � ���$�$�S�&�*<�*<�*W�*W�X����A�4�5�s�3�x�@r c �� � | j j j |t j j
� t j t d� t |� � y )Nz%s unmarked as user installed.)
r r r r r! � TransactionItemReason_DEPENDENCYr# r$ r r% r&