You are not logged in.
Pacman-optimize is giving me the "integrity check FAILED, reverting to old database" error. The error persists with the patch that converts 'tar c' to 'tar --same-order -c'.
The strange thing is that if I copy the directory manually, the size changes:
$ du -s /var/lib/pacman
33832 /var/lib/pacman/
$ cp -a /var/lib/pacman /var/lib/pacman.new
$ du -s /var/lib/pacman.new
33860 pacman.new/
The size of the individual directories in /var/lib/pacman* are the same, only the total sums are not equal.
I have used the pacman-defrag script in the past without errors, but now it is failing too.
Offline
you may want to boot into a live cd and run a check on your filesystem, at least rule that out. For reiserfs its reiserfsck, dunno what the others are.
Offline
Thanks, I realized what was causing the problem.
I had tweaked my ext3 filesystem with 'tune2fs -O dir_index' after my last defragmentation, so the copied directories contained different metadata than the original ones.
I just needed to convert all the directories on the partition to the same format. Running 'e2fsck -fD /dev/hda3' did the trick, and pacman-optimize works now.
Offline