V Tue, Jan 27, 2026 at 07:55:02AM +0000, Peter Robinson napsal(a):
> Hey Folks,
> 
> I'm not sure if I'm misremembering, and I don't currently have an
> older system I can test but you use to be able to read only queries in
> rpm while another transaction was running.
> 
> Eg 'rpm -q kernel' while dnf upgrade was running but now it errors
> out, was that an intended change in rpm6 or an unintended regression?
> 
I confirm that since Fedora 43, where RPM is first in version 6, querying RPM
database (e.g. "rpm -q rpm") while an RPM transaction is runnnig (e.g. "rpm -v
--reinstall ./clamav-data-1.4.3-3.fc43.noarch.rpm") halts on the databse lock
with this message:

    warning: waiting for transaction lock on /usr/lib/sysimage/rpm/.rpm.lock

Whether it's really needed, or not, I will leave the answer on RPM
maintainers.

-- Petr

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to