SCIENTIFIC-LINUX-USERS Archives

November 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Mon, 27 Nov 2006 10:36:22 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (90 lines)
Michael Mansour wrote:
> Hi,
> 
> I'd like to use Dag Wieers yam (depo) to mirror the SL repo's.
> 
> The product is here:
> 
> http://dag.wieers.com/home-made/depo/
> 
> I created an sl4.conf file with the following entries (gleamed from the 
> centos4.conf file):
> 
> ### Name: Scientific Linux 4
> ### URL: https://www.scientificlinux.org/
> 
> [sl4]
> name = ScientificLinux $release ($arch)
> release = 44
> #arch = i386 x86_64 ia64 s390 s390x alpha
> arch = i386 x86_64
> metadata = repomd repoview
> 
> ### ISO images
> iso = ftp://ftp.scientificlinux.org/linux/scientific/$release/iso/$arch/SL-
> $release-$arch-disc?of4.iso
> #os = http://mirror.centos.org/centos/$release/os/$arch/CentOS/RPMS/
> #sl-base = ftp://ftp.scientificlinux.org/linux/scientific/4x/
> $basearch/SL/RPMS/
> 
> ### Additional repositories
> sl-errata = ftp://ftp.scientificlinux.org/linux/scientific/4x/
> $basearch/errata/SL/RPMS/
> sl-fastbug = ftp://ftp.scientificlinux.org/linux/scientific/4x/
> $basearch/errata/fastbugs/RPMS/
> ##centosplus = http://mirror.centos.org/centos/$release/centosplus/
> $arch/RPMS/
> ##extras = http://mirror.centos.org/centos/$release/extras/$arch/RPMS/
> ##addons = http://mirror.centos.org/centos/$release/addons/$arch/RPMS/
> sl-contrib = ftp://ftp.scientificlinux.org/linux/scientific/4x/
> $basearch/contrib/RPMS/
> ##sl-testing = 
> ftp://ftp.scientificlinux.org/linux/scientific/40rolling/testing/
> $basearch/RPMS/
> ##csgfs = http://mirror.centos.org/centos/$release/csgfs/$arch/RPMS/
> ##rhaps = ftp://ftp.scientificlinux.org/linux/scientific/RHAPS2/
> $basearch/RPMS/
> 
> ### RPMforge repository
> ##rpmforge = rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/el4/en/
> $arch/RPMS.dag/
> #rpmforge = http://apt.sw.be/redhat/el4/en/$arch/RPMS.dag/
> 
> ### OpenVZ repositories
> #ovzkernel = http://download.openvz.org/kernel/rhel4/
> #ovztemplate = http://download.openvz.org/template/
> #ovzutils = http://download.openvz.org/utils/
> 
> ### Custom repository for your own RPM packages
> custom =
> 
> Needless to say it fails on each one that's uncommented with errors like:
> 
> sl4-i386: Mirror packages from 
> ftp://ftp.scientificlinux.org/linux/scientific/4x/$basearch/contrib/RPMS/ 
> to /home/Software/yam/sl4-i386/sl-contrib
> mirror: Access failed: 550 Failed to change directory. (/linux/scientific/4x/
> $basearch/contrib/RPMS)
> yam: Mirroring failed for ftp://ftp.scientificlinux.org/linux/scientific/4x/
> $basearch/contrib/RPMS/ with message:
>   Failed with return code: 256
> 
> Has anyone got this working with SL and if so, can you please supply me the 
> conf file you're using?
> 
> Thanks.
> 
> Michael.

Hi Michael,

What if you changed $basearch to $arch for the scientific lines.
It doesn't look like you have $basearch defined, but you do have $arch 
defined.
Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2