Is a pregenerated du file necessary? You already assume that you have the package at hand, so you might as well collect size information from the package directly. That way, you can also handle differences in block sizes. And it means that you don't have to change every package.
Richard Braakman