registry backup (and upgrade --force)

Bradley Giesbrecht pixilla at macports.org
Mon Apr 4 09:45:59 PDT 2016


> On Apr 4, 2016, at 9:42 AM, René J. V. Bertin <rjvbertin at gmail.com> wrote:
> 
> Bradley Giesbrecht wrote:
> 
>> Did you keep a copy of the registry? If so, try opening it with the sqlite
>> client.
> 
> 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. I did a .dump which completed without errors, but the file'smodification 
> date never changed. Ditto for a .backup .
> 
> I could move the current registry aside and restore the backup (or the 
> additional backup made with the .backup command), but that would be of academic 
> interest only as the information in the file is now out of date.

In my experience, without simply opening the database in the sqlite client “fixed” ports access to the database, no dumps or no special commands, just open, close and run port.


Regards,
Bradley Giesbrecht (pixilla)



More information about the macports-dev mailing list