Translated message

A translation of this page exists in English.

ローカルリポジトリを設定中に createrepo ユーティリティが失敗し Error: Must specify a directory to index. メッセージが出力される

Solution Verified - Updated -

Issue

  • createrepo コマンドが失敗し、以下のエラーメッセージが出力されます。
[root@localhost repo]# createrepo -v
Error:Must specify a directory to index.

Environment

  • Red Hat Enterprise Linux
  • createrepo
  • ローカルリポジトリ

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