Hello,
since a few days, everytime I want to install something with dnf I get this message in the terminal
Fehler: sqlite failure: CREATE TABLE IF NOT EXISTS ‘Packages’ (hnum INTEGER PRIMARY KEY AUTOINCREMENT,blob BLOB NOT NULL): attempt to write a readonly database
Fehler: Packages-Index kann nicht mittels sqlite geöffnet werden - Datei oder Verzeichnis nicht gefunden (2)
Fehler: Paket-Datenbank in /var/lib/rpm kann nicht geöffnet werden
Fehler: Error: rpmdb open failed
That means, that I CAN’T use dnf without an error.
I tried as root with the same result and I couldn’t find any solution for my Fedora 33.
Hopefully here has somebody an answer
@ florian
nach LANG=c sudo dnf clean all
I got the following message:
Failed to set locale, defaulting to C.UTF-8
Unable to detect release version (use ‘–releasever’ to specify release version)
85 files removed
Then wie LANG=c sudo dnf update the error from before appears again
Deactivate once IPv6 and see if it works. The 404 is with an IPv6 in the error message. If it works have a look if there is already a bug request. Maybe there is a workaround.
Only deactivating the IPv6 didn’t change much. But putting -y --releasever 33 at the end of the line did work. I don’t know how to make a workaround for that bc it is really annoying to put so much text at the end