registry backup (and upgrade --force)
cal at macports.org
Mon Apr 4 09:52:08 PDT 2016
On Mon, Apr 04, 2016 at 06:42:24PM +0200, René J. V. Bertin wrote:
> Thanks for the suggestion. Curiously that went just fine, but it also
> seems to contradict the previous claim that any interaction with an
> sqlite3 db modifies it.
No, any writing interaction modifies it (that should be obvious).
Reading does not change the database (unless you lock it exclusively
while reading). My point with the modifications was that watching for
the file to trigger a copy would potentially trigger a copy on every
fsync(), which might be a lot.
However, now I'm interested why the backup worked flawlessly, but
MacPorts failed to open the registry. Maybe there was something wrong
with one of the indexes in the database (which wouldn't be used when
doing a full dump or backup, but are being used by MacPorts in standard
More information about the macports-dev