Red Hat Bugzilla – Bug 131751
up2date won't subst $ARCH in dir repos
Last modified: 2007-11-30 17:10:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Description of problem:
It would be nice if $ARCH substitutions could be done on dir trees, as
in this patch:
--- sourcesConfig.py~ 2004-09-03 18:47:31.382475577 -0300
+++ sourcesConfig.py 2004-09-03 18:49:13.435101788 -0300
@@ -124,6 +124,9 @@
print "at line: %s" % line
+ arch = up2dateUtils.getUnameArch()
+ path = string.replace(path, "$ARCH", arch)
+ name = string.replace(name, "$ARCH", arch)
def parseYum(self, line):
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Add a line as follows to /etc/sysconfig/rhn/sources:
dir fedora-core-rawhide-$ARCH /local/rawhide/$ARCH/Fedora/RPMS
Actual Results: It won't replace $ARCH.
Expected Results: It should.
Looks like the same problem is present in apt (but not apt-mirror)
Note that FC1 and FC2 are no longer supported even by Fedora Legacy, and FC3 and
FC4 are supported by Fedora Legacy only for security issues. Please retest this
bug against a still supported version and retest. If this still occurs on FC3
or FC4 and is a security issue, please reopen the bug and assign it to that
version and Fedora Legacy. If it occurs on RHEL, please change to that product
and the appropriate version.
Note that up2date has been replaced by pirut/pup for FC5 and FC6, the only
fully-supported versions of Fedora Core. Please test pirut for software updates
and file bugs as appropriate.