diff --git a/library/packaging/rpm_key b/library/packaging/rpm_key index 171cf1c81e..d60706b157 100644 --- a/library/packaging/rpm_key +++ b/library/packaging/rpm_key @@ -170,7 +170,7 @@ class RpmKey: return stdout, stderr def is_key_imported(self, keyid): - stdout, stderr = self.execute_command([self.rpm, '-q', 'gpg-pubkey']) + stdout, stderr = self.execute_command([self.rpm, '-qa', 'gpg-pubkey']) for line in stdout.splitlines(): line = line.strip() if not line: