Translated message

A translation of this page exists in English.

yum update が "Error: Invalid version flag: if" を表示して失敗する

Solution In Progress - Updated -

Issue

# yum update
ID-CD_epel_redhat-7 | 2.6 kB 00:00:00
ID-CD_epel_redhat-8 | 2.4 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
(1/9): ID-CD_epel_redhat-7/group | 392 kB 00:00:00
(2/9): ID-CD_epel_redhat-7/updateinfo | 892 kB 00:00:00
(3/9): ID-CD_epel_redhat-7/primary | 4.9 MB 00:00:00
(4/9): ID-CD_epel_redhat-8/group | 121 kB 00:00:00
(5/9): ID-CD_epel_redhat-8/updateinfo | 455 kB 00:00:00
(6/9): ID-CD_epel_redhat-8/primary | 2.6 MB 00:00:00
(7/9): rhel-7-server-rpms/7Server/x86_64/group | 637 kB 00:00:00
(8/9): rhel-7-server-rpms/7Server/x86_64/updateinfo | 4.1 MB 00:00:00
(9/9): rhel-7-server-rpms/7Server/x86_64/primary | 51 MB 00:00:00
ID-CD_epel_redhat-7 13592/13592
ID-CD_epel_redhat-8 7349/7349
rhel-7-server-rpms 31780/31780
.

Error: Invalid version flag: if

Environment

  • Red Hat Enterprise Linux 7.x.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content