[Bug 1042200] Re: poldek doesn't build with rpm 5.4.x

Jeff Johnson n3npq at mac.com
Sat Sep 8 20:39:56 CEST 2012


You need to relearn "fixes" is using rpm-5.3.x or later.

Removing __db* files like this
    rm -f /var/lib/rpm/__db*
runs the risk of losing data because __db* files contain
    1) cached data
    2) names of locks (whcih can lead to "stale futures" that can
    only be cleared by rebooting.

Instead (if you absolutely MUST do this manually, the recover and
lock removal is fully automated on next invocation using rpm libraries):
     cd /var/lib/rpm
     dbXY_recover -v

Note that the absence of -e will remove the __db* files that will be recreated on
next dbenv open.

I'd also suggest not fussing (or suggesting) with __db* files becaue you WILL
open data races by removing __db* files.

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/1042200

Title:
  poldek doesn't build with rpm 5.4.x

Status in poldek:
  Fix Committed
Status in PLD Linux Distribution:
  New

Bug description:
  1) configure fails due to rpmlib.h removal in rpm 5.4
  2) even after working around missing rpmlib.h there is a lot of errors in pm/rpm because of poldek using internal rpm types

To manage notifications about this bug go to:
https://bugs.launchpad.net/poldek/+bug/1042200/+subscriptions


More information about the pld-bugs mailing list