| Server IP : 3.96.16.70 / Your IP : 216.73.216.15 Web Server : Apache System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3.9/site-packages/dnf/cli/commands/__pycache__/ |
Upload File : |
a
Ts�g)� � @ s, d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZ ddl
Z ddlZ ddlZ ddl
Z ddlZddlZe�d�Zed�d Zed
�d Zed�Zed
�Zdd� Zd#dd�Zdd� ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d!d"� d"e�Z dS )$z<
Classes for subcommands of the yum command line interface.
� )�print_function)�unicode_literals)�OptionParser)�_N�dnfz+To diagnose the problem, try running: '%s'.zrpm -Va --nofiles --nodigestzDYou probably have corrupted RPMDB, running '%s' might fix the issue.zrpm --rebuilddba You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
rpm --import public.gpg.key
Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and {prog}
will install it for you.
For more information contact your distribution or package provider.zgCannot check for release updates.
The ReleaseNotification dnf plugin has not been properly initialized.c C sj | j jsdS | �� sf| j�� D ]F}|js.|jr|jst�dt j
tjj
d�� t�td�|� tjj�qdS )z�Verify that there are gpg keys for the enabled repositories in the
rpm database.
:param base: a :class:`dnf.Base` object.
:raises: :class:`cli.CliError`
Nz
%s
��progzProblem repository: %s)�confZgpgcheckZ_gpg_key_check�reposZiter_enabledZ
repo_gpgcheckZgpgkey�loggerZcritical�gpg_msg�formatr �util�MAIN_PROG_UPPERr �cli�CliError)�baser �repo� r �=/usr/lib/python3.9/site-packages/dnf/cli/commands/__init__.py�_checkGPGKey>