Some weird sqlite error stopping all upgrades/installs

Wahlstedt Jyrki jwa at macports.org
Tue Oct 6 02:06:39 PDT 2015


Hi,
anyone else seen this? Prevents all installs and upgrades. (appeared after installing 10.11 MacPorts package, had earlier it built from source, no direct sqlite manipulation):
Any idea, how to fix?
===
Error: org.macports.install for port ****** returned: sqlite error: table registry.files has no column named mtime (1) while executing query: INSERT INTO registry.files (id, path, mtime, active) VALUES (?, ?, 0, 0)
DEBUG: Error code: registry::sqlite-error
DEBUG: Backtrace: sqlite error: table registry.files has no column named mtime (1) while executing query: INSERT INTO registry.files (id, path, mtime, active) VALUES (?, ?, 0, 0)
    while executing
"$regref map $installPlist"
    invoked from within
"registry::write {

        set regref [registry::entry create $subport $version $revision $portvariants $epoch]

        if {[info exists user_options..."
    (procedure "portinstall::install_main" line 38)
    invoked from within
"portinstall::install_main org.macports.install"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
===

Any idea, how to fix?

!
! Jyrki

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20151006/f4fa7746/attachment.html>


More information about the macports-dev mailing list