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

Make aptpkg.info return only installed packages #51576

Merged
merged 1 commit into from
Feb 13, 2019
Merged

Make aptpkg.info return only installed packages #51576

merged 1 commit into from
Feb 13, 2019

Conversation

mateiw
Copy link
Contributor

@mateiw mateiw commented Feb 11, 2019

What does this PR do?

On Debian systems a package can have several other states apart from installed (ii or hi), like rc (removed but config files present) or pn (purged not installed).
This returns only installed packages (ii or hi).

What issues does this PR fix or reference?

Previous Behavior

pkg.info_instaled returned also packages in status rc or pn.

New Behavior

pkg.info_instaled returnes only packages in ii or hi.

Tests written?

Yes

Commits signed with GPG?

No

On debian systems a package can have several other states apart from installed (ii or hi),
 like rc (removed but config files present) or pn (purged not installed).
 This returns only installed packages (ii or hi).
@dwoz dwoz merged commit da8484a into saltstack:develop Feb 13, 2019
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

Successfully merging this pull request may close these issues.

2 participants