View Single Post
Old 9th April 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I have a wild guess to make about a possible root cause. My guess: you may have been rebooting your systems without a clean shut down, during pkg_add. Power failure, crash, "hang" and hard reboot .... during a period when packages were being installed.

On restart, the fsck -p run by rc(8) would have corrected simple filesystem errors -- see the list at the top of the fsck_ffs(8) man page.

If you ran fsck manually, with either -y or responding "yes" to a repair, this can have significant impact on file integrity and may have resulted in this problem.

It is just a wild guess, but if fsck has been run on the filesystem housing /var, there will be a "lost+found" directory where recovered file fragments are stored. Inspect those looking for packing lists such as you have seen in the +CONTENTS files.

Reply With Quote