consider defrag /var/lib/dpkg/info: cp -a info info.new && sync && mv info info.old && mv info.new info || mv info.old info.new && rm -rf info.old to speedup the operations (however there is a risk here as there is a brief time when there is no info dir, u-m could cleanup the mess if that happens): TODO