OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re Date: 07-Oct-2003 09:18:38
Branch: HEAD Handle: 2003100708183700
Modified files:
openpkg-re upgrade.txt
Log:
explain "RPM hangs during installation of a package" issue
Summary:
Revision Changes Path
1.16 +36 -1 openpkg-re/upgrade.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/upgrade.txt
============================================================================
$ cvs diff -u -r1.15 -r1.16 upgrade.txt
--- openpkg-re/upgrade.txt 5 Oct 2003 13:37:50 -0000 1.15
+++ openpkg-re/upgrade.txt 7 Oct 2003 07:18:37 -0000 1.16
@@ -2,7 +2,7 @@
General Notes
=============
- o $Revision: 1.15 $. The most recent update of this file can be
+ o $Revision: 1.16 $. The most recent update of this file can be
downloaded from http://cvs.openpkg.org/openpkg-re/upgrade.txt
o This file upgrade.txt file talks about tweaks and quirks when
@@ -40,6 +40,41 @@
o RPM 4.0.2 to 4.2.1:
you can't go back and require a --db-rebuild afterwards!
+
+ o if RPM hangs during installation of a package, it's time for --db-rebuild
+
+ $ /cw/bin/rpm --db-rebuild
+ rpmdb: REBUILDING NEW FROM OLD RPM DATABASE (/cw/RPM/DB)
+ rpmdb: cleaning up RPM database DB region files
+ rpmdb: making sure RPM database contains all possible DB files
+ rpmdb: dumping and reloading RPM database DB file contents
+ rpmdb: rebuilding RPM database (built-in RPM procedure)
+ rpmdb: performing read/write operation on RPM database
+ rpmdb: making sure RPM database files have consistent attributes
+
+ More background information from openpkg.spec log (revision 1.219):
+ Completely revamp the RPM database fiddling:
+
+ Introduce new <prefix>/lib/openpkg/rpmdb utility for administrating
+ the RPM database on the lower level and hook it into the
+ <prefix>/bin/rpm command line with four options:
+
+ --db-build RPM database administration: build new
+ database (destructive operation; you have
+ to know what you are doing)
+
+ --db-rebuild RPM database administration: rebuild new
+ from old database (upgrading operation;
+ reasonable after upgrades or on DB
+ corruption)
+
+ --db-cleanup RPM database administration: cleanup
+ existing database (cleaning operation;
+ reasonable after DB out-of-sync situations)
+
+ --db-fixate RPM database administration: fixate
+ existing database (harmless operation; for
+ fixating files only)
Upgrade from OpenPKG 1.2 to OpenPKG 1.3
=======================================
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]