Changes between Initial Version and Version 2 of Ticket #32686
- Timestamp:
- Dec 28, 2011, 5:35:28 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32686
-
Property
Component
changed from
ports
tobase
-
Property
Component
changed from
-
Ticket #32686 – Description
initial v2 1 Hi there, 2 After running "port selfupdate" today the registry DB seems to be corrupted. Before "port list outdated" was running fine. After the selfupdate it fails with the following error message: 1 Hi there, [[br]] 2 After running "{{{port selfupdate}}}" today the registry DB seems to be corrupted. Before "{{{port list outdated}}}" was running fine. After the selfupdate it fails with the following error message: 3 {{{ 3 4 Error: /opt/local/bin/port: port installed failed: sqlite error: SQL logic error or missing 4 5 database (1) while executing query: SELECT name FROM registry.ports WHERE id=572 6 }}} 5 7 6 8 Looking into the /opt/local/var/macports/registry/registry.db file with sqlite3 the file seems to be corrupted: 9 {{{ 7 10 sqlite> SELECT id FROM ports; 8 Fails after ID 571 with "Error: database disk image is malformed". 11 }}} 12 Fails after ID 571 with "{{{Error: database disk image is malformed}}}". 9 13 10 So far it seems that the selfupdate corrupted the registry.db file. 14 So far it seems that the selfupdate corrupted the registry.db file. [[br]] 11 15 Is there any way to rebuild/reconstruct the file? 12 16 13 Thanks in advance, 17 Thanks in advance, [[br]] 14 18 Falk