[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mock for EPEL



Le dimanche 20 mai 2007 à 20:37 +0200, Thorsten Leemhuis a écrit :
> On 20.05.2007 20:19, Tanguy Eric wrote:
> > Le dimanche 20 mai 2007 à 20:17 +0200, Thorsten Leemhuis a écrit :
> >> On 20.05.2007 20:04, Tanguy Eric wrote:
> >>> No one can help me to undrestand why there is this problem ?
> >> Try again, I confident the problem will be gone. It was likely bad
> >> timing -- maybe you downloaded the metadata from the needsign repo
> >> before/during a push and the package for deleted when yum tried to
> >> download it. Well, something like that probably.
> >>
> > I just retry and still have this problem : 
> > $  mock -r fedora-4-i386-epel drgeo-1.1.0-6.el4.src.rpm 
> > init
> > clean
> > prep
> > This may take a while
> > http://buildsys.fedoraproject.org/plague-results/fedora-4-epel/rpmdevtools-5.3-1.fc5.noarch.rpm: [Errno 14] HTTP Error 404: Date: Sun, 20 May 2007 18:19:13 GMT
> > Server: Apache/2.0.52
> > Content-Length: 342
> > Connection: close
> > Content-Type: text/html; charset=iso-8859-1
> > 
> > Trying other mirror.
> > Error: failure: rpmdevtools-5.3-1.fc5.noarch.rpm from local: [Errno 256]
> > No more mirrors to try.
> > 
> > Error performing yum command: /usr/sbin/mock-helper yum
> > --installroot /var/lib/mock/epel-4-i386/root install buildsys-build
> > ending
> > done
> 
> Is there a proxy between you and the internet? It might fool you.
> 
> Whatever: this is definitely no problem in the EPEL mock configs. You
> can temporary work around it by disabling the needsign repo.
> 

No i have direct connection to internet.

Disabling the needsign repo seems to solve the problem but i can't
understand where the problem come from and i will have problem when i
will try to mock another package which need another one in needsign repo

Here is the cfg file i use : 

#!/usr/bin/python -tt
import os
config_opts['root'] = 'epel-4-i386'
config_opts['target_arch'] = 'i386'

config_opts['yum.conf'] = """
[main]
cachdir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1

# repos

[core]
name=base
mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=os
#baseurl=http://mirror.pacific.net.au/linux/CentOS/4.4/os/i386/

[update]
name=updates
mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=updates
#baseurl=http://mirror.pacific.net.au/linux/CentOS/4.4/updates/i386/

[groups]
name=groups
baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/i386/

[extras]
name=epel
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=i386
#baseurl=http://download.fedora.redhat.com/pub/epel/4/i386/

#[local]
#name=local
#baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-4-epel/

"""



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]