Opened 20 years ago
Last modified 15 years ago
#2725 closed enhancement
Script to repair corrupted file_map.db files — at Initial Version
Reported by: | kballard (Lily Ballard) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | contrib | Version: | |
Keywords: | Cc: | ||
Port: |
Description
I have attached a script I just wrote to generate a new old-style file_map file from the receipts (which DarwinPorts can then convert into a file_map.db file). It assumes port images are used and assumes current receipt format. Assuming these requirements are met, it can really be a lifesaver. I have 212 ports installed and I corrupted my file_map.db file (see bug #2724) and I *really* didn't want to reinstall all these ports. I wrote this script and ran it and then had DarwinPorts convert it to the file_map.db file and everything is fine and dandy now. Because of this script, I simply lost 2 hours of my life instead of 2 days. And next time this happens (hopefully never), it will only take 2 minutes of my life.
Change History (1)
Changed 20 years ago by kballard (Lily Ballard)
Attachment: | repairfilemap.tcl added |
---|
script to repair file_map