Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#58809 - Comments in directives are no longer ignored
Attached to Project:
Pacman
Opened by Peter Wu (Lekensteyn) - Thursday, 31 May 2018, 18:14 GMT
Last edited by Allan McRae (Allan) - Friday, 27 July 2018, 00:59 GMT
Opened by Peter Wu (Lekensteyn) - Thursday, 31 May 2018, 18:14 GMT
Last edited by Allan McRae (Allan) - Friday, 27 July 2018, 00:59 GMT
|
DetailsSummary and Info:
Since upgrading from pacman 5.0.2-3 to pacman 5.1.0-2, all requests started failing. Invoking "pacman -Sy" for example would only perform requests to "/core/os/x86_64 " (note the odd space at the end). It turns out that my custom mirror configuration with comments were parsed differently due to Server = http://10.0.2.2:8080/$repo/os/$arch # comment here It used to be parsed as "http://10.0.2.2:8080/$repo/os/$arch", but is now parsed as "http://10.0.2.2:8080/$repo/os/$arch # comment here". Due to how URLs work, everything appended after that is ignored. This was not entirely obvious given that bash scripts and makepkg config accept comments like that just fine. If this is disallowed, consider updating pacman.conf(5). https://xkcd.com/1172/ |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 27 July 2018, 00:59 GMT
Reason for closing: Implemented
Additional comments about closing: documentation added in 41cbea29
Friday, 27 July 2018, 00:59 GMT
Reason for closing: Implemented
Additional comments about closing: documentation added in 41cbea29
Regarding our custom ini-style parser, there does not appear to be any documentation that says it is possible, which needs to be corrected.