Running RPM 4.1, on ARM, I can do this: rpm --install --nodeps --ignorearch ftp-*.rpm which seems to work, and then do rpm -qa which gives no output. In /var/lib/rpm, I tried this: bash-2.05b# db_verify Packages db_verify: region error detected; run recovery. db_verify: Unreferenced page 3 db_verify: DB->verify: Packages: DB_VERIFY_BAD: Database verification failed bash-2.05b# db_verify -N Packages db_verify: region error detected; run recovery. db_verify: Unreferenced page 3 db_verify: DB->verify: Packages: DB_VERIFY_BAD: Database verification failed bash-2.05b# db_dump Packages db_dump: region error detected; run recovery. VERSION=3 format=bytevalue type=hash HEADER=END DATA=END bash-2.05b#
bash-2.05b# db_dump -r Packages db_dump: region error detected; run recovery. VERSION=3 format=bytevalue type=hash HEADER=END 00000039000007740000003f000000070000070f000000100000006400000008000000000000000 [snip] 554e4b4e4f574e00 DATA=END
rpm --rebuilddb fixes the errors, but also drops the data. 'db_dump -r Packages' then shows the same thing as 'db_dump Packages'.
So it appears to me that rpm is not writing to the database correctly. Any clues as to what I should be looking for?
TIA,
Eli --------------------. "If it ain't broke now, Eli Carter \ it will be soon." -- crypto-gram eli.carter(a)inet.com `-------------------------------------------------
------------------------------------------------------------------------ Confidentiality Notice: This e-mail transmission may contain confidential and/or privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or reliance upon the contents of this e-mail message is strictly prohibited. If you have received this e-mail transmission in error, please reply to the sender, so that proper delivery can be arranged, and please delete the message from your computer. Thank you. Inet Technologies, Inc. ------------------------------------------------------------------------