If you have a file named "yourcatalog.bak" in the same directory, try to turn back to it. Before all, make sure GTKtalog is closed.
bash$ mv catalogfile catalogfile.corrupt bash$ mv catalogfile.bak catalogfile |
If you do not have a ".bak" file, you'll have to find a backup of it and restore it. See the section called Restore a catalog file in Chapter 10 to see how to proceed.
If you do not have any working backup copy of your catalogfile, you'll have to make a new catalog from scratch :(. Next time, don't forget to backup periodically. See also Chapter 3 to see how GTKtalog can help you concerning backups.