th-rpm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| th-rpm [2007-11-15 09:01] – arekm | th-rpm [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | NOTE: THIS DESCRIPTION APPLIES ONLY TO RPM FROM rpm-4_4_9-internal_bdb BRANCH WHICH IS AVAILABLE IN CVS ONLY FOR NOW. | ||
| - | |||
| - | Th RPM conversion process to new rpm using internal BDB 4.5 (there were too many problems with BDB 4.6). Conversion is needed because BDB 4.5 cannot read BDB "Hash version 9" format used in BDB 4.6. | ||
| - | |||
| - | BDB 4.5 is able to read "Hash version 8" and "Btree version 9". Our goal is to convert databases to "Btree version 9" format, upgrade to new rpm, rebuild databases once again and finally live with Hash 8 and/or Btree 9 but NOT Hash 9. | ||
| - | |||
| - | What to do: | ||
| - | |||
| - | |||
| - | * create backup of / | ||
| - | * install db4.6-utils (so you will have recovery tools when something goes wrong) | ||
| - | * edit existing / | ||
| - | |||
| - | |||
| - | < | ||
| - | %_dbi_config_Requireversion | ||
| - | %_dbi_config_Provideversion | ||
| - | %_dbi_config_Installtid | ||
| - | %_dbi_config_Removetid | ||
| - | |||
| - | %_dbi_config_Basenames | ||
| - | %_dbi_config_Conflictname | ||
| - | %_dbi_config_Filedigests | ||
| - | %_dbi_config_Group | ||
| - | %_dbi_config_Name | ||
| - | %_dbi_config_Packagecolor | ||
| - | %_dbi_config_Providename | ||
| - | %_dbi_config_Pubkeys | ||
| - | %_dbi_config_Requirename | ||
| - | %_dbi_config_Sha1header | ||
| - | %_dbi_config_Sigmd5 | ||
| - | %_dbi_config_Triggername | ||
| - | |||
| - | # " | ||
| - | %_dbi_config_Packages | ||
| - | </ | ||
| - | |||
| - | * delete almost all files in / | ||
| - | * run '' | ||
| - | * check with '' | ||
| - | - Berkeley DB (Hash, version 8, native byte-order) | ||
| - | - Berkeley DB (Btree, version 9, native byte-order) | ||
| - | then everything is OK. | ||
| - | if you still have " | ||
| - | upgrade rpm package to latest available. | ||
| - | run '' | ||
th-rpm.1195113710.txt.gz · Last modified: 2007-11-15 09:01 by arekm