On 10/04/14 16:24, Pawel Chmielewski wrote:
Też tak kiedyś miałem, po zrobieniu update czegośtam i niewykonaniu
restartu. Pamiętam że pomógł rpm --rebuilddb, zresztą tu jest artykuł na
ten temat:
http://www.cyberciti.biz/tips/rebuilding-corrupted-rpm-database.html
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


--
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.
_______________________________________________
pld-users-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-users-pl

Odpowiedź listem elektroniczym