diff --git a/library/packaging/rpm_key b/library/packaging/rpm_key index 82532477348..e9c3f34bd7f 100644 --- a/library/packaging/rpm_key +++ b/library/packaging/rpm_key @@ -161,7 +161,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: