Репозиторий CentOS epel указан более одного раза

Попробуйте добавить опцию -U .

На справочной странице

   -U
   --packet-buffered
          If  the  -w option is not specified, make the printed packet output ``packet-buffered''; i.e., as the description of the contents of each packet is printed, it will be written to the standard
          output, rather than, when not writing to a terminal, being written only when the output buffer fills.

      If the -w option is specified, make the saved raw packet output ``packet-buffered''; i.e., as each packet is saved, it will be written to the output file, rather than being written only  when
      the output buffer fills.

      The -U flag will not be supported if tcpdump was built with an older version of libpcap that lacks the pcap_dump_flush() function.
-121--125325-

В командной строке можно использовать команду tar . Например, tar -tf example.rpm | less для перечисления всех файлов в об/мин.

-121--8074-

Если вы находитесь на компьютере mac, помните также о * .localized файлах, которые могут стать невидимыми даже для «ls -la», «find» и их ilk в файловой системе FUSE. [Это обнаружено с помощью файловой системы FUSE, созданной ConnectedData Transporter, на MacBook Pro.]

4
01.02.2019, 16:00
3 ответа

Este error generalmente ocurre cuando tiene dos repositorios con el mismo nombre. Creo que puede haber llamado igual a ambas entradas de epel.

Intenta entrar en/etc/yum.repos.d

Mire ambos archivos epel.

Compruebe que el nombre es diferente.

cd /etc/yum.repos.d
cat epel.*

Verifique que tengan otro nombre.

La línea que le interesa es:

name=SomeName

Si comparten el mismo nombre, simplemente cámbielo para que sean diferentes.

8
27.01.2020, 20:51

Другая возможность заключается в том, что один и тот же репозиторий определен в разных файлах. Так и:

grep epel /etc/yum.repos.d/*

.. обратите внимание на дубликаты и переименуйте/закомментируйте их.

4
27.01.2020, 20:51

В моем случае описание в [my_reponame]такое же, как и в другом файле.

Я переименовал описание в имя файла (или другую строку ).

У меня работает.

0
18.11.2021, 09:35

Теги

Похожие вопросы