| 169 | |
| 170 | '''Error message:'''[[BR]] |
| 171 | {{{ |
| 172 | Error: unknown node kind in database (database is corrupted?) |
| 173 | }}} |
| 174 | |
| 175 | '''Workaround:'''[[BR]] |
| 176 | |
| 177 | Probably something during the installation process of a package went wrong. |
| 178 | You can fix the database file(/opt/local/var/macports/receipts/file_map.db) |
| 179 | by downloading the following script: |
| 180 | {{{ |
| 181 | http://svn.macports.org/repository/macports/contrib/repairfilemap/repairfilemap.tcl |
| 182 | }}} |
| 183 | Follow the instructions in the beginning of the script. |
| 184 | You can invoke the script by typing: |
| 185 | {{{ |
| 186 | chmod +x repairfilemap.tcl 1/ |
| 187 | sudo ./repairfilemap.tcl 1/ |
| 188 | }}} |