[pacman-dev] Round 2: Add delta information to libalpm.

Nathan Jones nathanj at insightbb.com
Fri Oct 19 13:17:49 EDT 2007


Here are the updated patches for adding delta downloading to libalpm.

I had originally thought that if a delta could not be downloaded (due to
md5sum or file deleted on the server), the package file should be
downloaded instead. I decided not to do this because some users may be
annoyed at seeing a 7MB download size but end up downloading 100MB
openoffice package.

If the md5sum is not correct, the output is mangled a bit. I am not sure
what causes this.

Proceed with installation? [Y/n] y
:: Retrieving packages from test...
 wbox-3-1_to_4-1-i686...    7.9K   17.1M/s 00:00:00 [#####################] 100%
 wbox-4-1_to_4-2-i686...    0.4K 1087.1K/s 00:00:00 [#####################] 100%
:: File wbox-4-1_to_4-2-i686.delta is corrupted. Do you want to delete it? [Y/n] checking delta integrity... 
error: failed to commit transaction (corrupted delta)
Errors occurred, no packages were upgraded.


Also, is it just me, or do 78% of the pactests fail?




More information about the pacman-dev mailing list