disk I/O error (10) while executing query: ATTACH DATABASE '/opt/local/var/macports/registry/registry.db' AS registry

Ryan Schmidt ryandesign at macports.org
Fri Aug 19 08:58:16 PDT 2011


I have apparently royally screwed my registry.


$ port info zlib
sqlite error: disk I/O error (10) while executing query: ATTACH DATABASE '/opt/local/var/macports/registry/registry.db' AS registry
    while executing
"registry::open $db_path"
    (procedure "mportinit" line 540)
    invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error: disk I/O error (10) while executing query: ATTACH DATABASE '/opt/local/var/macports/registry/registry.db' AS registry


All I did was interrupt a build:


--->  Configuring p5.12-compress-raw-zlib
--->  Building p5.12-compress-raw-zlib
--->  Staging p5.12-compress-raw-zlib into destroot
--->  Installing p5.12-compress-raw-zlib @2.35.0_1+universal
--->  Activating p5.12-compress-raw-zlib @2.35.0_1+universal
^C


I did this because installing a port started to upgrade a bunch of my p5 ports to the new p5.12 versions which doesn't work, as detailed in #30833 (about which I'd also love some help).

https://trac.macports.org/ticket/30833




More information about the macports-users mailing list