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#9306 - Pacman PKGBUILD only replaces one @carch@ per line in mirrolist
Attached to Project:
Pacman
Opened by Fabio Aquotte (fabioaquotte) - Tuesday, 22 January 2008, 18:02 GMT
Last edited by Dan McGee (toofishes) - Saturday, 02 February 2008, 16:22 GMT
Opened by Fabio Aquotte (fabioaquotte) - Tuesday, 22 January 2008, 18:02 GMT
Last edited by Dan McGee (toofishes) - Saturday, 02 February 2008, 16:22 GMT
|
DetailsThe current Pacman PKGBUILD uses the following sed command:
sed -i -e "s/@carch@/${CARCH}/" ${startdir}/pkg/etc/pacman.d/mirrorlist to replace instances of @carch@ with the arch name. The command is missing the 'g' flag and thus will fail on lines such as: Server = ftp://ftp.archlinuxppc.org/@carch@/$repo/os/@carch@ replacing only the first instance. |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 02 February 2008, 16:22 GMT
Reason for closing: Fixed
Additional comments about closing: Will be fixed in next PKGBUILD release, for now simply add the 'g' yourself. Thanks for the catch.
Saturday, 02 February 2008, 16:22 GMT
Reason for closing: Fixed
Additional comments about closing: Will be fixed in next PKGBUILD release, for now simply add the 'g' yourself. Thanks for the catch.
Comment by Dan McGee (toofishes) -
Saturday, 02 February 2008, 16:12 GMT
I'll have this fixed in the next release. Thanks for pointing it out.