> >> Generalnie cokolwiek odpale to mam: > # rpm --rebuilddb > rpmdb: BDB2506 file /var/lib/rpm/Packages has LSN 77/4721121, past end of > log at 1/64 > 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: Invalid argument(22) > DB: Berkeley DB 5.2.42: (February 29, 2012) > error: cannot open Packages database in /var/lib/rpm > > Potrzebny jest jakiś patent na wygenerowanie bazy na podstawie plików: > # ls /var/lib/rpm > Arch Dirnames Installtid Os Pubkeys Sha1header > Version > Basenames Filedigests Name Packagecolor Release Sigmd5 > Conflictname Filepaths Nvra Packages Requirename > Sourcepkgid > DB_CONFIG Group Obsoletename Providename Seqno Triggername > > >
A po co Ci uszkodzone pliki? Wywal zawartość /var/lib/rpm i zapuść rebuilddb. Przekleję z tego linka powyżej bo dziś sobota i rozumiem, że może się nie chcieć czytać: Method # 1 Remove /var/lib/rpm/__db* files to avoid stale locks: # cd /var/lib # rm __db* Rebuild RPM database: # rpm --rebuilddb # rpmdb_verify Packages -- Pozdrowienia, Pawel Chmielewski [email protected] _______________________________________________ pld-users-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
