ローカルリポジトリを設定中に 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.