[Yum] possible yum bug in yum-2.0.6-1
rootscruffy at junior's place
jmb48 at comcast.net
Fri Apr 16 01:56:24 UTC 2004
just got the following problem in the new fedora core. i think it's not
core related, because i saw similar problems under RH9.
yum.conf is attached in case it helps.
here's the core info:
Linux version 2.4.22-1.2179.nptl (bhcompile at daffy.perf.redhat.com) (gcc
version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Tue Apr 13 10:14:30
EDT 2004
and here's what happened to yum:
[root at junior apcupsd]# yum check-update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
Server: Fedora Extras 1 - i386 - Extra Packages
Server: Fedora Core 1 - i386 - Released Updates
Finding updated packages
Downloading needed headers
kernel-module-thinkpad-2. 100% |=========================| 3.5 kB
00:00Traceback (most recent call last):
File "/usr/bin/yum", line 30, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 253, in main
clientStuff.download_headers(HeaderInfo, nulist)
File "/usr/share/yum/clientStuff.py", line 984, in download_headers
checkfunc=(rpmUtils.checkheader, (n, a), {}))
File "/usr/share/yum/clientStuff.py", line 1336, in grab
bandwidth, conf.retries, retrycodes, checkfunc)
File "/usr/share/yum/urlgrabber.py", line 237, in retrygrab
progress_obj, throttle, bandwidth)
File "/usr/share/yum/urlgrabber.py", line 314, in urlgrab
fo = urllib2.urlopen(url)
File "/usr/lib/python2.2/urllib2.py", line 138, in urlopen
return _opener.open(url, data)
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 971, in ftp_open
fp, retrlen = fw.retrfile(file, type)
File "/usr/lib/python2.2/urllib.py", line 734, in retrfile
self.ftp.nlst(file)
File "/usr/lib/python2.2/ftplib.py", line 449, in nlst
self.retrlines(cmd, files.append)
File "/usr/lib/python2.2/ftplib.py", line 397, in retrlines
conn = self.transfercmd(cmd)
File "/usr/lib/python2.2/ftplib.py", line 346, in transfercmd
return self.ntransfercmd(cmd, rest)[0]
File "/usr/lib/python2.2/ftplib.py", line 328, in ntransfercmd
resp = self.sendcmd(cmd)
File "/usr/lib/python2.2/ftplib.py", line 242, in sendcmd
return self.getresp()
File "/usr/lib/python2.2/ftplib.py", line 216, in getresp
if c not in '123':
TypeError: 'in <string>' requires character as left operand
[root at junior apcupsd]# yum check-update
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20040415/694c354b/attachment-0001.htm
-------------- next part --------------
# Yum config file from http://www.xades.com/proj/fedora_repos.html
# Put this file at /etc/yum.conf
#releasever=1
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://fedora.redhat.com/releases/fedora-core-$releasever
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://fedora.redhat.com/updates/released/fedora-core-$releasever
http://ftp.dulug.duke.edu/pub/fedora/linux/core/updates/$releasever/$basearch/
ftp://ftp.tu-chemnitz.de/pub/linux/fedora-core/updates/$releasever/$basearch/
ftp://ftp.linux.ncsu.edu/pub/fedora/linux/core/updates/$releasever/$basearch/
[fedora-extras]
name=Fedora Extras $releasever - $basearch - Extra Packages
baseurl=ftp://ftp.tu-chemnitz.de/pub/linux/fedora/fedora/$releasever/$basearch/yum/stable/
http://download.fedora.us/fedora/fedora/$releasever/$basearch/yum/stable/
gpgcheck=1
failovermethod=priority
#[livna-stable]
#name=Livna 3rd party packages with questionable (in USA) licenses -- use at your own risk1G
#baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
More information about the Yum
mailing list