0

我正在尝试createrepo version-0.9.9使用以下方法在 ubuntu-16.04 LTS 系统上安装。

  1. 从 GitHub链接下载
  2. 解压文件createrepo-0.9.9.tar.gz
  3. 在终端上低于错误。
$:~/createrepo/createrepo-0.9.9/bin# ./createrepo -h
Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 28, in <module>
    import createrepo
ImportError: No module named createrepo
$ pip install createrepo
Collecting createrepo
  Could not find a version that satisfies the requirement createrepo (from versions: )
No matching distribution found for createrepo
You are using pip version 8.1.1, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

如何在 ubuntu 系统上安装特定版本的 createrepo?任何建议都会有所帮助。

4

0 回答 0