Pacman

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.
Tasklist

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
Task Type Bug Report
Category General
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 3.1.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The 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.
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.

Loading...