Bdb_ro error reading Packages database

warning: Found bdb_ro Packages database while
attempting sqlite backend: using bdb_ro backend

bdb_ro error reading Packages database

I tried perfom in dom:
sudo rpm --rebuilddb
sudo dnf clean all
sudo dnf makecache

It didn’t help.

Try:
[user@dom0 ~]$ sudo qubes-dom0-update --clean
… this will clean the cache(s) on sys-whonix, as opposed to your commands which are executed in dom0.

Another idea: I see that you’re running R4.2, and I only saw this type of error with older Whonix templates. Is your sys-whonix based on whonix-gateway-17? and is the template up-to-date?

Yes. Template is whonix-gateway-17 and template is up-to-date.

[user@dom0 ~]$ sudo qubes-dom0-update --clean

It didn’t help.

I had the same issue as you. For me it was due to enabling ipv6 and my whonix update-proxy not working with that.

If you enabled ipv6 try disabling it in the sys-net qube as described here (qvm-features ipv4-only-qube ipv6) or disabling it alltogether as described here (qvm-features --unset sys-net ipv6). I only tried the latter and it worked for me!

2 Likes