Impossibile aprire il database rpm

buongiorno non riesco a installare piu niente perche il database rpm è bloccato

il supporto “restricted updates” risulta già aggiornato
rpmdb: BDB2506 file /var/lib/rpm/Packages has LSN 18/2583012, past end of log at 18/2497977
rpmdb: BDB2507 Commonly caused by moving a database from one database environment
rpmdb: BDB2508 to another without clearing the database LSNs, or by removing all of
rpmdb: BDB2509 the log files from a database environment
rpmdb: BDB0641 __db_meta_setup: /var/lib/rpm/Packages: unexpected file type or format
error: cannot open Packages(0) index: Argomento non valido(22)
DB: Berkeley DB 5.2.42: (February 29, 2012)
error: cannot open Packages database in /var/lib/rpm
rpmdb: BDB2506 file /var/lib/rpm/Packages has LSN 18/2583012, past end of log at 18/2497977
rpmdb: BDB2507 Commonly caused by moving a database from one database environment
rpmdb: BDB2508 to another without clearing the database LSNs, or by removing all of
rpmdb: BDB2509 the log files from a database environment
rpmdb: BDB0641 __db_meta_setup: /var/lib/rpm/Packages: unexpected file type or format
error: cannot open Packages database in
impossibile aprire il database rpm

puoi provare come hanno fatto qui:

http://om-cooker.ml.openmandriva.narkive.com/TEV9kTIY/om-cooker-problem-with-rpm-db

1 Like

l’ho risolto cancellando la cache di rpm

Bene.
Se indichi i comandi usati, può tornare comodo ad altri con lo stesso problema.

1 Like

ho preso il comando di pulire la cache rpm dall’elenco comandi di urpmi -a

Chiarissimo.
Gli altri con lo stesso problema ringraziano.