Thanks Greg, In answer to your questions... On 30 Jun 2005, at 16:29, yum-request@xxxxxxxxxxxxxxxxxxxx wrote: > Message: 5 > Date: Thu, 30 Jun 2005 07:16:01 -0600 > From: Greg Knaddison <greg.knaddison@xxxxxxxxx> > > On 6/30/05, Tim Kirk <kirk@xxxxxxxxxxxxxxx> wrote: > >> Hi, >> >> I've got a newly install Fedora Core 4 machine which I am trying to >> update from a local repository - mirrored from the mirrored from >> mirrorservice.org in the uk using the following script : >> >> #!/bin/csh >> (cd /yum/ ; /usr/bin/wget -nH --cut-dirs=1 -N -r -np -R iso ftp:// >> www.mirrorserv >> ice.org/sites/fedora.redhat.com) >> > > When I look in this mirror for the file you are trying to get, I > don't see it: > > [greg@porter ~]$ wget > ftp://www.mirrorservice.org/sites/fedora.redhat.com/4/i386/repodata/ > repomd.xml > > --07:12:54-- ftp://www.mirrorservice.org/sites/fedora.redhat.com/4/ > i386/repodata/repomd.xml > => `repomd.xml' > Resolving www.mirrorservice.org... 212.219.56.152, 212.219.56.162, > 212.219.56.131, ... > Connecting to www.mirrorservice.org[212.219.56.152]:21... connected. > Logging in as anonymous ... Logged in! > ==> SYST ... done. ==> PWD ... done. > ==> TYPE I ... done. ==> CWD /sites/fedora.redhat.com/4/i386/ > repodata ... > No such directory `sites/fedora.redhat.com/4/i386/repodata'. > > [greg@porter ~]$ .../4/i386/os/repodata is the directory in question - you missed the 'os' out... I've tried changing the yum.conf to either have the 'os' or not in the ftp path, and I've tried masking a link from .../4/i386/repodata to .../4/i386/os/repodata but I cannot seem to get yum to find the file it thinks it should be looking for. It is as if yum is wanting a different repository layout to the one I've got. > You said that this is a fresh FC4 install - as in not an upgrade, > right? What is your yum version? > > # yum --version > Fresh install - done onto a fresh partition, [root@kushana ~]# yum --version 2.3.2 > > <snip> > > You can FTP in and change directories, but all the way to repodata/ > repomd.xml ? > > Are you making that file in a script somewhere else? I can cd all the way to repodata/repomd.xml, and read repomd.xml [root@kushana ~]# ftp jjonah Connected to jjonah. <snip> Name (jjonah:root): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> cd 4/i386/os/repodata 250 Directory successfully changed. ftp> dir 227 Entering Passive Mode (144,32,73,47,151,19) 150 Here comes the directory listing. -rw-r--r-- 1 0 0 709886 Jun 07 02:25 comps.xml -rw-r--r-- 1 0 0 2113890 Jun 07 18:05 filelists.xml.gz -rw-r--r-- 1 0 0 4468443 Jun 07 18:05 other.xml.gz -rw-r--r-- 1 0 0 843693 Jun 07 18:05 primary.xml.gz -rw-r--r-- 1 0 0 1140 Jun 07 18:05 repomd.xml 226 Directory send OK. Cheers, Tim