Linux rpmlint命令:检查rpm软件包中的常见错误。
Linux rpmlint命令 功能描述
使用rpmlint命令可以检查rpm软件包中的常见错误。
Linux rpmlint命令 语法
rpmlint [选项] [文件|软件包]
命令中各选项的含义如表所示。
Linux rpmlint命令 示例
检查bind软件包中的常见错误
[root@rhel ~]# rpmlint bind
bind.x86_64: W: invalid-url URL: http://www.isc.org/products/BIND/ <urlopen error [Errno -2] Name or service not known>
bind.x86_64: W: conffile-without-noreplace-flag /var/named/named.ca
bind.x86_64: W: conffile-without-noreplace-flag /var/named/named.empty
bind.x86_64: W: conffile-without-noreplace-flag /var/named/named.localhost
bind.x86_64: W: conffile-without-noreplace-flag /var/named/named.loopback
bind.x86_64: E: non-readable /var/named/named.ca 0640L
bind.x86_64: E: non-standard-dir-perm /var/named/dynamic 0770L
bind.x86_64: W: non-conffile-in-etc /etc/portreserve/named
bind.x86_64: E: non-standard-dir-perm /var/named/data 0770L
bind.x86_64: E: non-standard-dir-perm /etc/named 0750L
........................(省略)