Re: RPM chicken or egg problem

On 09/18/00 11:04:58 +1200, Rob Brown-Bayliss <on_the_net clear net nz> wrote:
| >  Important note: run rpm --rebuilddb just after upgrading to rpm4,
| >the database format changed and this is aboslutely needed if you
| >don't want to screw your rpm database (who does ?) !
| Now why doesn't the rpm post install script do this?

RPM is running when the postinstall script executes, so the database is locked and therefore can't be rebuilt. (Speaking of chicken-or-egg problems....)

brandon s. allbery     [os/2][linux][solaris][japh]    allbery kf8nh apk net
system administrator        [WAY too many hats]          allbery ece cmu edu
electrical and computer engineering                                    KF8NH
carnegie mellon university      ["better check the oblivious first" -ke6sls]

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]