Open
Description
_get_package_information
in the lisa.operating_system Debian
class will return package info even if a package is not installed. We use apt show
which will show package info for packages which are in the db but not neccesarily installed yet.
For Fedora
we use rpm -q
which will only show packages which have been installed already. The equivalent of apt show
for Fedora would be yum info
or dnf info
, and if you only want info for installed packages it would be yum/dnf info --installed
I'm not sure who has taken a dependency on the current behavior of this function, does anyone care if I fix RpmDistro
or Fedora
to show package info for available packages instead of installed packages?
Metadata
Metadata
Assignees
Labels
No labels