Na verdade, pode haver as duas subquestões a seguir no título do problema acima:
1) Qualquer que seja o design de desenvolvimento da estrutura do pacote rpm, poderia resultar na saída nula do repoquery -i ?
2) Se sem o atributo "from_repo" na estrutura do pacote rpm poderia resultar na lista "instalado" via yum?
#
#
# yum list installed|grep -i installed
Installed Packages
storcli.x86_64 007.1108.0000.0000-1 installed
#
#
#
# yum list installed|grep -i zabbix
zabbix-agent.x86_64 4.0.2-1.el7 @zabbix
#
#
#
# yum info storcli.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
Name : storcli
Arch : x86_64
Version : 007.1108.0000.0000
Release : 1
Size : 7.1 M
Repo : installed
Summary : Storage Command Line Tool.
URL : http://www.avagotech.com
License : AVAGO Technologies
Description : storcli is used to manage storage controllers.
#
#
# yumdb info storcli.x86_64
Loaded plugins: fastestmirror
storcli-007.1108.0000.0000-1.x86_64
#
#
#
# repoquery -i storcli.x86_64
#
#
# repoquery -i storcli.x86_64
#
#
# yum info zabbix-agent.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
Name : zabbix-agent
Arch : x86_64
Version : 4.0.2
Release : 1.el7
Size : 1.5 M
Repo : installed
From repo : zabbix
Summary : Zabbix Agent
URL : http://www.zabbix.com/
License : GPLv2+
Description : Zabbix agent to be installed on monitored systems.
#
#
# repoquery -i zabbix-agent.x86_64
Name : zabbix-agent
Version : 4.0.2
Release : 1.el7
Architecture: x86_64
Size : 1559464
Packager : None
Group : Applications/Internet
URL : http://www.zabbix.com/
Repository : zabbix
Summary : Zabbix Agent
Source : zabbix-4.0.2-1.el7.src.rpm
Description :
Zabbix agent to be installed on monitored systems.
#
#
O
installed
marcador representa pacotes que foram instalados sem usar oyum
. Por exemplo, se eu fizer isso:Então vou ver:
Alguns subcmds do yum usam apenas o rpmdb para consultar ..., especialmente para lista instalada e informações.