Discussion:
rpmdb --rebuilddb
Patrick Dupre
2021-06-06 12:30:21 UTC
Permalink
Hello,

After updatding from fedora32 to fedora34, I could not run
dnf update
Then, I tried
rpmdb --rebuilddb
and I get
warning: Converting database from bdb_ro to sqlite backend
error: could not open /var/lib/rpm/Packages: Permission denied
error: cannot open Packages index using bdb_ro - Operation not permitted (1)

What should I do?

Thanks
===========================================================================
Patrick DUPRÉ | | email: ***@gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infra
Doug H.
2021-06-06 13:30:37 UTC
Permalink
Post by Patrick Dupre
Hello,
After updatding from fedora32 to fedora34, I could not run
dnf update
Then, I tried
rpmdb --rebuilddb
and I get
warning: Converting database from bdb_ro to sqlite backend
error: could not open /var/lib/rpm/Packages: Permission denied
error: cannot open Packages index using bdb_ro - Operation not permitted (1)
What should I do?
Perhaps:

sudo rpmdb --rebuilddb


--
Doug Herr
***@wombatz.com
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@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/***@lists.fedoraproject.org
Do not reply to spam on the li
Bob Marcan
2021-06-06 14:36:37 UTC
Permalink
On Sun, 06 Jun 2021 06:30:37 -0700
Post by Doug H.
Post by Patrick Dupre
Hello,
After updatding from fedora32 to fedora34, I could not run
dnf update
Then, I tried
rpmdb --rebuilddb
and I get
warning: Converting database from bdb_ro to sqlite backend
error: could not open /var/lib/rpm/Packages: Permission denied
error: cannot open Packages index using bdb_ro - Operation not permitted (1)
What should I do?
sudo rpmdb --rebuilddb
first of all, run "dnf update" as root
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructu
Samuel Sieb
2021-06-06 16:30:29 UTC
Permalink
Post by Patrick Dupre
After updatding from fedora32 to fedora34, I could not run
dnf update
Then, I tried
rpmdb --rebuilddb
and I get
warning: Converting database from bdb_ro to sqlite backend
error: could not open /var/lib/rpm/Packages: Permission denied
error: cannot open Packages index using bdb_ro - Operation not permitted (1)
What should I do?
restorecon -rv /var/lib/rpm
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagur

Loading...