【问题标题】:what does the number mean that prefix package name?数字是什么意思前缀包名称?
【发布时间】:2016-10-24 08:21:41
【问题描述】:

我想通过 repoquery 获取一些 pkg 的依赖 pkg 名称,如下所示:

[root@localhost home]#  repoquery  --requires --resolve  --envra    httpd
0:pcre-8.32-15.el7_2.1.x86_64
0:apr-util-1.5.2-6.el7.x86_64
0:bash-4.2.46-19.el7.x86_64
0:libselinux-2.2.2-6.el7.x86_64
0:systemd-libs-219-19.el7.x86_64
0:mailcap-2.1.41-2.el7.noarch
0:apr-1.4.8-3.el7.x86_64
0:libdb-5.3.21-19.el7.x86_64
0:zlib-1.2.7-15.el7.x86_64
0:lua-5.1.4-14.el7.x86_64
0:systemd-219-19.el7_2.13.x86_64
2:shadow-utils-4.1.5.1-18.el7.x86_64
0:expat-2.1.0-8.el7.x86_64
0:glibc-2.17-106.el7_2.8.x86_64
0:httpd-tools-2.4.6-40.el7.centos.4.x86_64
0:glibc-2.17-105.el7.i686
0:centos-logos-70.0.6-3.el7.centos.noarch

我注意到每行 pkg 名称前都有一个数字和冒号,我想知道这个数字是什么意思。我用谷歌搜索,但找不到任何线索。

【问题讨论】:

    标签: linux dependencies yum


    【解决方案1】:

    来自“man repoquery”:

      Specifying package names
             A package can be referred to in all queries with any of the following:
    
             name
             name.arch
             name-ver
             name-ver-rel
             name-ver-rel.arch
             name-epoch:ver-rel.arch
             epoch:name-ver-rel.arch
    

    所以,这个数字只是时代。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-02-13
    • 2010-10-03
    • 1970-01-01
    • 1970-01-01
    • 2017-04-01
    相关资源
    最近更新 更多