Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#50616 - external downloader fails on urls without a file name

Attached to Project: Pacman
Opened by Andrew Gregory (andrewgregory) - Wednesday, 31 August 2016, 14:46 GMT
Task Type Bug Report
Category Backend/Core
Status Unconfirmed
Assigned To Andrew Gregory (andrewgregory)
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Summary and Info:

URLs ending with '/' are treated as having an empty file name. They are downloaded to "/var/cache/pacman/pkg/.part", but then cause an error when pacman attempts to rename them to "/var/cache/pacman/pkg/".

Steps to Reproduce:

XferCommand = /usr/bin/curl -C - -f %u > %o

pacman -U
This task depends upon