1

Я получаю следующую ошибку при обновлении экземпляра amazon EC2.

Transaction check error:
  file /usr/bin/pyrsa-decrypt conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and python26-rsa-3.4.1-1.8.amzn1.noarch
  file /usr/bin/pyrsa-decrypt-bigfile conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and python26-rsa-3.4.1-1.8.amzn1.noarch
  file /usr/bin/pyrsa-encrypt conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and python26-rsa-3.4.1-1.8.amzn1.noarch
  file /usr/bin/pyrsa-encrypt-bigfile conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and python26-rsa-3.4.1-1.8.amzn1.noarch
  file /usr/bin/pyrsa-keygen conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and python26-rsa-3.4.1-1.8.amzn1.noarch
  file /usr/bin/pyrsa-priv2pub conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and python26-rsa-3.4.1-1.8.amzn1.noarch
  file /usr/bin/pyrsa-sign conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and python26-rsa-3.4.1-1.8.amzn1.noarch
  file /usr/bin/pyrsa-verify conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and python26-rsa-3.4.1-1.8.amzn1.noarch

Я старался

sudo yum remove python26-rsa-3.4.1-1.8.amzn1.noarch

Но ошибка не исчезла.

Информация о моей машине с Linux:

$cat /etc/issue
Amazon Linux AMI release 2014.09
Kernel \r on an \m

1 ответ1

3

Я исправил это самостоятельно. измените /etc/yum.repos.d/epel.repo следующим образом

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
enabled=1
# ------^------- set this to zero
failovermethod=priority
gpgcheck=1
gpgkey=http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .