<div>For an unrelated reason, I had to uninstall vsftpd from my CentOS 5.3 install.</div>
<div> </div>
<div>When I went "yum install vsftpd.i386", I get this:</div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>[root@76-240-25-136]# yum install vsftpd.i386<br>Loaded plugins: fastestmirror, priorities<br>Loading mirror speeds from cached hostfile<br> * rpmforge: <a href="http://fr2.rpmfind.net">fr2.rpmfind.net</a><br> * base: <a href="http://centos.mirrors.tds.net">centos.mirrors.tds.net</a><br>
* updates: <a href="ftp://ftp.lug.udel.edu/">ftp.lug.udel.edu</a><br> * addons: <a href="http://mirror.cs.vt.edu">mirror.cs.vt.edu</a><br> * extras: <a href="http://styx.biochem.wfubmc.edu">styx.biochem.wfubmc.edu</a><br>
Setting up Install Process<br>Parsing package install arguments<br>Resolving Dependencies<br>--> Running transaction check<br>---> Package vsftpd.i386 0:2.0.5-12.el5 set to be updated<br>Traceback (most recent call last):<br>
File "/usr/bin/yum", line 29, in ?<br> yummain.user_main(sys.argv[1:], exit_code=True)<br> File "/usr/share/yum-cli/yummain.py", line 229, in user_main<br> errcode = main(args)<br> File "/usr/share/yum-cli/yummain.py", line 145, in main<br>
(result, resultmsgs) = base.buildTransaction()<br> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction<br> (rescode, restring) = self.resolveDeps()<br> File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 696, in resolveDeps<br>
CheckDeps, checkinstalls, checkremoves, missing = self._resolveRequires(errors)<br> File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 779, in _resolveRequires<br> thisneeds = self._checkInstall(txmbr)<br>
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 851, in _checkInstall<br> provs = self.tsInfo.getProvides(*req)<br> File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 432, in getProvides<br>
result.update(self.getNewProvides(name, flag, version))<br> File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides<br> for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems():<br>
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides<br> return self._computeAggregateDictResult("getProvides", name, flags, version)<br> File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult<br>
sackResult = apply(method, args)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides<br> return self._search("provides", name, flags, version)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc<br>
return func(*args, **kwargs)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search<br> for pkg in self.searchFiles(name, strict=True):<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc<br>
return func(*args, **kwargs)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles<br> self._sql_pkgKey2po(rep, cur, pkgs)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po<br>
pkg = self._packageByKey(repo, ob['pkgKey'])<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey<br> po = self.pc(repo, cur.fetchone())<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__<br>
self._read_db_obj(db_obj)<br> File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj<br> setattr(self, item, _share_data(db_obj[item]))<br>TypeError: unsubscriptable object<br>
</div></blockquote>
<div> </div></div>
<div>From what I can see, this looks like an error with Python 2.4, but I don't know what to do</div>
<div>Any help?</div>
<div> </div>
<div>Thanks, </div>
<div> </div>
<div>David</div>