Actually, since you know what RPMs are going to be installed you know _exactly_ how many bytes are going to be transferred to the disc. The bottom line progress meter shows that quite nicely. The problem is measuring I/O speed. To begin with it's very very fast, especially on a machine with a fair amount of memory. The original poster had a laptop with 512Mb memory ... so a fair proportion of the I/O used for estimating the time taken is just to the cache. Needless to say that's going to be somewhat optimistic. So, after you've written a few hundred meg to the file system your estimate is going to need some serious revising ...I've looked at this from time to time. Each time I look I bounce. There are simply too many unknowns to get a good time estimate. You can get a "percent of the total number of packages installed." Beyond that you need to develop heuristics for the disk speed, [... snip]
jch
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list