[pacman-dev] [PATCH] makepkg: remove .part file after a failed download

Xavier shiningxc at gmail.com
Wed Oct 21 13:43:18 EDT 2009


On Wed, Oct 21, 2009 at 7:38 PM, Cedric Staniewski <cedric at gmx.ca> wrote:
>
> Actually never thought about that since I did not experience a disrupted download so far. Therefore, the only .part files I saw were empty ones, because the source did not existed anymore or the url was just wrong.
>
> Attached a new patch which should only remove the empty .part files. Thanks for the pointer.
>
>

I am far from being a hardcore makepkg user, but I still find it
strange that I never saw this happening.
I would expect the download program to not create empty .part files
when the source is wrong.
Did you change the dlagent somehow ?
Did you try to run the download programs directly, without using makepkg ?

Though I have to admit I did not check this behavior yet, I will check
later today.


More information about the pacman-dev mailing list