Can I see your yum repo files (/etc/yum.repos.d/sl*.repo)?
Pat On 02/21/2013 11:05 AM, Parag Mhashilkar wrote:
Hi, I created a minimal SL6 image with yum groups base+core and openssh-server using http://linux1.fnal.gov/linux/scientific/6x/x86_64/os/. Image is created fine but when I boot up and try to run yum update it fails with errors (see below). I also tried enabling and disabling mirrors doing yum clean all every time before I run the update command. I also noticed there is a /var/cache/yum/x86_64/$releasever dir. Removing this $releasever dir does not help. It is recreated. For a working system $releasever in the yum cache is actually expanded to the respective versions but not in this case. Is there a package pycurl depends on that is not pulled by default making it unable to expand the $releasever correctly? --------- yum clean all ; yum update --skip-broken 1 > yum.out 2>&1 Loaded plugins: fastestmirror, security Determining fastest mirrors * sl: ftp2.scientificlinux.org * sl-security: ftp2.scientificlinux.org * sl6x: ftp2.scientificlinux.org * sl6x-security: ftp2.scientificlinux.org http://ftp2.scientificlinux.org/linux/scientific/% 24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. http://ftp1.scientificlinux.org/linux/scientific/% 24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. http://ftp.scientificlinux.org/linux/scientific/% 24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. ftp://ftp.scientificlinux.org/linux/scientific/% 24releasever/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 9 - "Server denied you to change to the given directory" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: sl. Please verify its path and try again
-- Pat Riehecky Scientific Linux Developer
