[WBEL-users] Yum - Up2date ...
p.banholzer
p-banholzer at munch-sa.fr
Thu Apr 14 03:33:07 CDT 2005
Hi list,
I've installed 5 servers working with WBEL3
uname -a : Linux thales 2.4.21-15.EL #1 Sun May 16 02:07:24 EDT 2004
i686 i686 i386 GNU/Linux
and it works fine ...
but, sorry, even if I read the FAQ (http://www.whiteboxlinux.org/faq.html)
I'm not able to make any update ... with an automated method.
*** up2date : what I have done and logs
rpm --import /usr/share/rhn/RPM-GPG-KEY-whitebox
rpm -qa | grep up2d
up2date-4.3.19-1.WB1
/etc/sysconfig/rhn/sources : (uncommented lines)
yum WBEL3 http://whiteboxlinux.org/pub/3.0/en/os/$ARCH
yum WBEL3-Updates http://whiteboxlinux.org/pub/3.0/en/updates
yum WBEL3-Extras http://whiteboxlinux.org/pub/3.0/en/extras
yum-mirror WBEL3 http://whiteboxlinux.org/up2date-mirrors/wbel3-base
yum-mirror WBEL3-Updates
http://whiteboxlinux.org/up2date-mirrors/wbel3-updates
yum-mirror WBEL3-Extras
http://whiteboxlinux.org/up2date-mirrors/wbel3-extras
up2date -l
http://whiteboxlinux.org/up2date-mirrors/wbel3-base
using mirror:
ftp://mirror.cpsc.ucalgary.ca/mirror/whiteboxlinux.org/3.0/en/os/i386/
http://whiteboxlinux.org/up2date-mirrors/wbel3-updates
using mirror:
ftp://ftp.opensourcemirrors.org/linux/whitebox/3.0/en/os/updates
http://whiteboxlinux.org/up2date-mirrors/wbel3-extras
using mirror: http://whitebox.phantomhosting.com/3.0/en/extras/
Traceback (most recent call last):
File "/usr/sbin/up2date", line 1271, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 799, in main
fullUpdate, dryRun=options.dry_run))
File "/usr/sbin/up2date", line 1147, in batchRun
batch.run()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 62, in run
self.__findPackagesToUpdate()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 97, in
__findPackagesToUpdate
plist.addGlobs(self.listOfGlobs)
File "/usr/share/rhn/up2date_client/packageList.py", line 157, in addGlobs
availList = rhnPackageInfo.getAvailablePackageList()
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 219, in
getAvailablePackageList
package_list = availablePackageList(
File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 153, in
availablePackageList
progressCallback = progressCallback)
File "/usr/share/rhn/up2date_client/rpcServer.py", line 112, in doCall
ret = apply(method, args, kwargs)
File "/usr/share/rhn/up2date_client/repoDirector.py", line 20, in
listPackages
return self.handlers[channel['type']].listPackages(channel,
msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/rpmSource.py", line 226, in
listPackages
msgCallback, progressCallback)
File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line
201, in listPackages
agent = "Up2date %s/Yum" % up2dateUtils.version())
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line
324, in fetchUrl
endRange=end)
File "/usr/share/rhn/up2date_client/repoBackends/urlUtils.py", line
117, in open_resource
return opener.open(request)
File "/usr/lib/python2.2/urllib2.py", line 328, in open
'_open', req)
File "/usr/lib/python2.2/urllib2.py", line 307, in _call_chain
result = func(*args)
File "/usr/lib/python2.2/urllib2.py", line 964, in ftp_open
fw = self.connect_ftp(user, passwd, host, port, dirs)
File "/usr/lib/python2.2/urllib2.py", line 985, in connect_ftp
fw = ftpwrapper(user, passwd, host, port, dirs)
File "/usr/lib/python2.2/urllib.py", line 709, in __init__
self.init()
File "/usr/lib/python2.2/urllib.py", line 715, in init
self.ftp.connect(self.host, self.port)
File "/usr/lib/python2.2/ftplib.py", line 130, in connect
raise socket.error, msg
IOError: [Errno ftp error] (110, 'Connection timed out')
*** yum : what I have done and logs
rpm -qa | grep yum
yum-2.0.7-1.1.WB1
/etc/yum.conf :
[main]
cachedir=/var/cache/yum
debuglevel=10
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=whitebox-release
tolerant=1
exactarch=1
retries=20
failovermethod=roundrobin
gpgcheck=1
[base]
name=White Box Enterprise Linux $releasever - $basearch - Base
baseurl=ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/os/$basearch/
ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/$releasever/en/os/$basearch/
ftp://ftp.kspei.com/mirrors/whiteboxlinux.org/whitebox/$releasever/en/os/$basearch/
#
ftp://ftp.jach.hawaii.edu/pub/linux/whitebox/$releasever/en/os/$basearch/
#
ftp://ftp.opensourcemirrors.org/linux/whitebox/$releasever/en/os/$basearch/
# http://whitebox.phantomhosting.com/$releasever/en/os/$basearch/
#
ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/os/$basearch/
[updates-released]
name=White Box Enterprise Linux $releasever - $basearch - Released Updates
baseurl=ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/updates/
ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/$releasever/en/updates/
ftp://ftp.kspei.com/mirrors/whiteboxlinux.org/whitebox/$releasever/en/updates/
#
ftp://ftp.jach.hawaii.edu/pub/linux/whitebox/$releasever/en/updates/
#
ftp://ftp.opensourcemirrors.org/linux/whitebox/$releasever/en/updates/
# http://whitebox.phantomhosting.com/$releasever/en/updates/
# ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/updates/
yum check-update
Gathering header information file(s) from server(s)
Server: White Box Enterprise Linux 3.0 - i386 - Base
CacheDir: /var/cache/yum/base
Getting header.info from server
failover: baseURL =
ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/3.0/en/os/i386/
failover: path = headers/header.info
...
thank you, best regards.
Philippe Banholzer
Munch sa constructions métalliques in France.
More information about the Whitebox-users
mailing list