[CentOS] Issues with vsftpd install

Wed Apr 8 02:38:12 UTC 2009
David Lemcoe <forum at lemcoe.com>

For an unrelated reason, I had to uninstall vsftpd from my CentOS 5.3
install.

When I went "yum install vsftpd.i386", I get this:

> [root at 76-240-25-136]# yum install vsftpd.i386
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
>  * rpmforge: fr2.rpmfind.net
>  * base: centos.mirrors.tds.net
>  * updates: ftp.lug.udel.edu
>  * addons: mirror.cs.vt.edu
>  * extras: styx.biochem.wfubmc.edu
> Setting up Install Process
> Parsing package install arguments
> Resolving Dependencies
> --> Running transaction check
> ---> Package vsftpd.i386 0:2.0.5-12.el5 set to be updated
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 29, in ?
>     yummain.user_main(sys.argv[1:], exit_code=True)
>   File "/usr/share/yum-cli/yummain.py", line 229, in user_main
>     errcode = main(args)
>   File "/usr/share/yum-cli/yummain.py", line 145, in main
>     (result, resultmsgs) = base.buildTransaction()
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in
> buildTransaction
>     (rescode, restring) = self.resolveDeps()
>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 696, in
> resolveDeps
>     CheckDeps, checkinstalls, checkremoves, missing =
> self._resolveRequires(errors)
>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 779, in
> _resolveRequires
>     thisneeds = self._checkInstall(txmbr)
>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 851, in
> _checkInstall
>     provs = self.tsInfo.getProvides(*req)
>   File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 432,
> in getProvides
>     result.update(self.getNewProvides(name, flag, version))
>   File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414,
> in getNewProvides
>     for pkg, hits in self.pkgSack.getProvides(name, flag,
> version).iteritems():
>   File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in
> getProvides
>     return self._computeAggregateDictResult("getProvides", name, flags,
> version)
>   File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in
> _computeAggregateDictResult
>     sackResult = apply(method, args)
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in
> getProvides
>     return self._search("provides", name, flags, version)
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
> newFunc
>     return func(*args, **kwargs)
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in
> _search
>     for pkg in self.searchFiles(name, strict=True):
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in
> newFunc
>     return func(*args, **kwargs)
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in
> searchFiles
>     self._sql_pkgKey2po(rep, cur, pkgs)
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in
> _sql_pkgKey2po
>     pkg = self._packageByKey(repo, ob['pkgKey'])
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in
> _packageByKey
>     po = self.pc(repo, cur.fetchone())
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in
> __init__
>     self._read_db_obj(db_obj)
>   File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in
> _read_db_obj
>     setattr(self, item, _share_data(db_obj[item]))
> TypeError: unsubscriptable object
>

>From what I can see, this looks like an error with Python 2.4, but I don't
know what to do
Any help?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090407/8b421aec/attachment-0004.html>