Opened 7 years ago

Closed 7 years ago

#55942 closed defect (wontfix)

After upgrade - Many sqlite disk image malformed errors

Reported by: davidfavor (David Favor) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.4.2
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Error: rev-upgrade failed: sqlite error: database disk image is malformed (11) while executing query: SELECT id, path FROM registry.files WHERE active = '1' AND binary IS NULL
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Change History (2)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)

comment:2 Changed 7 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: newclosed

This means the SQLite registry file at /opt/local/var/macports/registry/registry.db is corrupted. This should usually not happen, as SQLite is very robust. This might be an indicator of a failure in RAM or disk on your system.

In this situation, there is nothing we can do to rescue the database, as we do not know which data was already lost due to the corruption. You have to wipe your MacPorts installation and then install from scratch.

Note: See TracTickets for help on using tickets.