cannot use local channel

Gsellmann Peter Peter.Gsellmann at automationx.com
Thu May 24 01:20:58 PDT 2007


I rsync'd the official Fedora repository into an intra-net mirror.
then i did:

smart channel --add LocalUpdate type=rpm-md name=LocalUpdate
baseurl=http://10.16.1.118/fedora/updates/5/i386/ --yes

smart update LocalUpdate

Fetching information for 'LocalUpdate'...
-> http://10.16.1.118/fedora/updates/5/i386/repodata/repomd.xml
repomd.xml

error: Failed acquiring release file for 'LocalUpdate':
error: http://10.16.1.118/fedora/updates/5/i386/repodata/repomd.xml: Not
Acceptable


What attribute of the file repomd.xml is 'Not Acceptable' ?
I can get its content with
curl http://10.16.1.118/fedora/updates/5/i386/repodata/repomd.xml
an its looks the same when i get it with
curl
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/r
epodata/repomd.xml

also the other files in repodata/ have the same sizes and timestamps as
on download.fedora.redhat.com and even the command 
sha1sum repodata/*
gives the same strings as in repomd.xml


The other way, the sequence:

smart channel --add FedoraUpdate type=rpm-md name=FedoraUpdate
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/
5/i386/ --yes

smart update FedoraUpdate

succeeded as expected (slow).


Is this a smart bug or is this a configuration problem ?

what i tried also with no success:
changed '10.16.1.118' to 'localhost'
removed repodata/ and recreated with createrepo .

desparately,
Peter


[Using Fedora Core 5, Apache 2.2.2, smart-0.50-45.fc5,
curl-7.15.5-1.fc5]



More information about the Smart mailing list