[CentOS] OT: Local Mirror problems, wrong paths to RPMs with yum update

Johnny Hughes mailing-lists at hughesjr.com
Fri Feb 17 19:31:58 UTC 2006


On Fri, 2006-02-17 at 14:24 -0500, James Pifer wrote:
> > That's interesting because I think that is they way I have it. The
> > headers and repodata are at the same level as packages all of which are
> > in the updates directory.
> > 
> > Here's the relevant section of the repo file. 
> > 
> > [updates]
> > name=Fedora Linux $releasever - $basearch - updates
> > baseurl=http://mirror.myserver.com/repomirror/fedora/linux/$releasever/$basearch/updates
> > 
> > I'll try and run createrepo again and see if it makes any difference. 
> > 
> > Thanks,
> > James
> 
> Unfortunately this still has not worked. I tried the following commands:
> 
> $ pwd
> /media/160GBUSBDSK/YumRepo/fedora/linux/3/i386/updates
> $
> $ ls -l
> total 64
> drwxrwxr-x  2 jpifer jpifer 32768 Feb 16 20:10 headers
> drwxrwxr-x  3 jpifer jpifer 28672 Feb 17 13:53 packages
> drwxrwxr-x  2 jpifer jpifer  4096 Feb 16 20:25 repodata
> $
> $createrepo packages
> $

do:

createrepo .

> $createrepo /media/160GBUSBDSK/YumRepo/fedora/linux/3/i386/updates/packages
> 
> After each of these I tried running "yum update" as root. Both times I
> still get this:
> # yum update
> Setting up Update Process
> Setting up repositories
> core                      100% |=========================|  951 B
> 00:00
> freshrpms                 100% |=========================|  951 B
> 00:00
> livna                     100% |=========================|  951 B
> 00:00
> updates                   100% |=========================|  951 B
> 00:00
> extras                    100% |=========================|  951 B
> 00:00
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package pyzor.noarch 0:0.4.0-8 set to be updated
> ---> Downloading header for gpdf to pack into transaction set.
> http://mirror.myserver.com/repomirror/fedora/linux/3/i386/updates/gpdf-2.8.2-7.2.i386.rpm: [Errno 4] IOError: HTTP Error 404: Date: Fri, 17 Feb 2006 19:22:34 GMT
> Server: Apache/2.0.53 (Fedora)
> Content-Length: 350
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
> Trying other mirror.
> Error: failure: gpdf-2.8.2-7.2.i386.rpm from updates: [Errno 256] No
> more mirrors to try.
> 
> As you can see, it's still looking in updates not updates/packages for
> the RPMs. I'm stumped....
> 
> Thanks,
> James
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060217/1beb90de/attachment.sig>


More information about the CentOS mailing list