On 09/08/2021 01:13, François Patte wrote:
2- So, I tried to downgrade firefox using dnf downgrade but: can't create transaction lock on /var/lib/rpm/.rpm.lock ???? After some researches, I found that I have to do: /sbin/restorecon -v /var/lib/rpm/.rpm.lock and then: rpmdb --rebuilddb But this failed for the same reason : "can't create etc...." I had to do: ausearch -c "rpmdb" --raw | audit2allow -M my-rpmdb semodule -X 300 -i my-rpmdb.pp At last I could downgrade firefox... And I added excludepkgs=firefox in dnf.conf file. 3- There is a service: rpmdb-rebuild.service but it is impossible to start this service for the same reason "can't create transaction lock on /var/lib/rpm/.rpm.lock" "rpmdb-rebuild.service: Main process exited, code=exited, status=255/EXCEPTION"
Use lsof to see if any process owns /var/lib/rpm/.rpm.lock If not, delete the lock file and try again. FYI, in order to run rpmdb-rebuild.service the file /var/lib/rpm/.rebuilddb must exist. So, touch it before running the service. -- Remind me to ignore comments which aren't germane to the thread. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure