Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_get_package_information Distro inconsistency #3440

Open
mcgov opened this issue Sep 25, 2024 · 0 comments
Open

_get_package_information Distro inconsistency #3440

mcgov opened this issue Sep 25, 2024 · 0 comments

Comments

@mcgov
Copy link
Collaborator

mcgov commented Sep 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant