On 10/19/07, Nathan Jones <nathanj@insightbb.com> wrote:
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?
Are you running them using "make check"? As Xavier said, only 7 are failing right now as far as I know. When I have a problem like this, I tend to pick one of the simpler failing ones and run it with debug output, and then look at pactest.log (to run them, just use the command line from Makefile.am substituting where applicable). You can usually point out where the failure location is pretty quickly by doing this. -Dan