baza RPM

Grzegorz Sójka pld w sojka.co
Sob, 4 Paź 2014, 16:16:43 CEST


Witam serdecznie,

Mam kłopot. "Wyparowała" mi baza danych rpm (pojęcia nie mam jak). Mam tak:

#rpm -qa
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
# ll /var/lib/rpm
total 45243
drwxr-xr-x  4 root root     1024 Oct  4 16:15 .
drwxr-xr-x 22 root root     1024 May 27 16:16 ..
-rw-r--r--  1 root root    16384 Sep 29 19:37 Arch
-rw-r--r--  1 root root  4853760 Sep 29 19:37 Basenames
-rw-r--r--  1 root root    12288 Sep 29 19:37 Conflictname
-rw-r--r--  1 root root     1186 Jun 11 00:00 DB_CONFIG
-rw-r--r--  1 root root  1793024 Sep 29 19:37 Dirnames
-rw-r--r--  1 root root  5188608 Sep 29 19:37 Filedigests
-rw-r--r--  1 root root     2048 Sep 29 19:37 Filepaths
-rw-r--r--  1 root root    26624 Sep 29 19:37 Group
-rw-r--r--  1 root root    21504 Sep 29 19:37 Installtid
-rw-r--r--  1 root root    49152 Sep 29 19:37 Name
-rw-r--r--  1 root root    72704 Sep 29 19:37 Nvra
-rw-r--r--  1 root root    53248 Sep 29 19:37 Obsoletename
-rw-r--r--  1 root root    15360 Sep 29 19:37 Os
-rw-r--r--  1 root root    17408 Sep 29 19:37 Packagecolor
-rw-r--r--  1 root root 33738752 Sep 29 14:01 Packages
-rw-r--r--  1 root root   545792 Sep 29 19:37 Providename
-rw-r--r--  1 root root     3072 Sep 29 19:37 Pubkeys
-rw-r--r--  1 root root    22528 Sep 29 19:37 Release
-rw-r--r--  1 root root   431104 Sep 29 19:37 Requirename
-rw-r--r--  1 root root     2048 Sep 29 19:37 Seqno
-rw-r--r--  1 root root    89088 Sep 29 19:37 Sha1header
-rw-r--r--  1 root root    46080 Sep 29 19:37 Sigmd5
-rw-r--r--  1 root root     2048 Sep 29 19:37 Sourcepkgid
-rw-r--r--  1 root root     4096 Sep 29 19:37 Triggername
-rw-r--r--  1 root root    31744 Sep 29 19:37 Version
drwxr-xr-x  2 root root     1024 Sep 29 19:44 log
drwxr-xr-x  2 root root     1024 Jun 11 00:00 tmp

Jest jakiś sposób żeby to odzyskać??

-- 
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.


Więcej informacji o liście pld-users-pl