Skip to content

_get_package_information Distro inconsistency #3440

Description

@mcgov

_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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions