FS#36791 - [pacman] downloads to wrong filename with redirect
Attached to Project:
Pacman
Opened by Christian Hesse (eworm) - Wednesday, 04 September 2013, 13:17 GMT
Last edited by Allan McRae (Allan) - Monday, 14 October 2013, 05:29 GMT
Opened by Christian Hesse (eworm) - Wednesday, 04 September 2013, 13:17 GMT
Last edited by Allan McRae (Allan) - Monday, 14 October 2013, 05:29 GMT
|
Details
Summary and Info:
I have my own repository set up this way: [eworm] Server = http://mirror.mylinuxtime.de/arch/$repo/$arch/ pacman tries to download http://mirror.mylinuxtime.de/arch/eworm/x86_64/eworm.db and is redirected to http://tdf.lugor.de/arch/eworm/x86_64/eworm.db.tar.gz. It then saves the file to /var/lib/pacman/sync/eworm.db.tar.gz as it derives the name from last URL (or content display name, not sure). After that pacman tries to access /var/lib/pacman/sync/eworm.db and fails. Steps to Reproduce: * Use a mirror that redirects to ${repo}.db.tar.gz * update sync database * try to install anything |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 14 October 2013, 05:29 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 3b3152fc
Monday, 14 October 2013, 05:29 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 3b3152fc
The big block is not really changed except it moves to an else block, so indenting is needed. ;)
Please fix the whitespace errors and send to pacman-dev@.
Though I wonder nothing drops into my inbox... Do I have to post with a subscribed address?
(/me should remember which mailing lists are subscriber only... Sorry for the noise.)