summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2019-11-15 14:29:20 +0100
committerAndrew Gregory <andrew@archlinux.org>2020-06-18 10:25:50 +0200
commit76c50e34393d68a740f825a6af9df8b7ac677303 (patch)
treea78dd7db47cf3662e0039ea735efe818a3c5420b /configure.ac
parentc2fa9f85cccc4b576816330762fb55167a1ba78c (diff)
downloadpacman-76c50e34393d68a740f825a6af9df8b7ac677303.tar.gz
pacman-76c50e34393d68a740f825a6af9df8b7ac677303.tar.xz
Handle .part files that are the size of the correct package
In rare cases, likely due to a well timed Ctrl+C, but possibly due to a broken mirror, a ".part" file may have size at least that of the correct package size. When encountering this issue, currently pacman fails in different ways depending on where the package falls in the list to download. If last, "wrong or NULL argument passed" error is reported, or a "invalid or corrupt package" issue if not. Capture these .part files, and remove the extension. This lets pacman either use the package if valid, or offer to remove it if it fails checksum or signature verification. Signed-off-by: Allan McRae <allan@archlinux.org> (cherry picked from commit e6a6d3079315ce722fec39604fddbab1c7ac79b3)
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions