Linux

Share on TwitterSubmit to StumbleUponDigg This
an OS X style desktop or any other style desktop you wish as the two most commonly used Linux based graphics desktop environments, GNOME and KDE, are completely configurable to your own preferred style or use. I use the word free above in the context of "free to use" and yes "free to modify" but, free to modify comes with some provisos. Under the GNU license which the Linux Kernel adheres to, if you modify a copy of the Linux Kernel, you must make this available to anyone else. The idea being that others may benefit from your modifications and they in turn may do the same and offer a continuation of improvements that will benefit the whole Linux community. Well that's the basis of Linux. It's not an operating system on it's own but forms the first building block on which GNU based operating systems are based. Here is just a sample list of these type of operating systems, also referred to as distributions or distros: Ubuntu, Fedora, Mint, openSUSE, Mandriva, Debian, PCLinuxOS, Puppy, Sabayon, Arch, CentOS, Slackware, MEPIS, Tiny Core, FreeBSD, Kubuntu, Zenwalk, Vector, PC-BSD, Damn Small, Gentoo, KNOPPIX.
Share on TwitterSubmit to StumbleUponDigg This
In: linuxAuthor: EditorComments (6)

CentOS5 update problem solved

Share on TwitterSubmit to StumbleUponDigg This
Running transaction check ---> Package libxml2.i386 0:2.6.26-2.1.2.8 set to be updated ---> Package xulrunner.i386 0:1.9.0.12-1.el5 set to be updated ---> Package libxml2-python.i386 0:2.6.26-2.1.2.8 set to be updated ---> Package libtiff.i386 0:3.8.2-7.el5_3.4 set to be updated ---> Package apr.i386 0:1.2.7-11.el5_3.1 set to be updated ---> Package bind-utils.i386 30:9.3.4-10.P1.el5_3.3 set to be updated ---> Package kernel.i686 0:2.6.18-128.4.1.el5 set to be installed ---> Package nss.i386 0:3.12.3.99.3-1.el5.centos.2 set to be updated ---> Package apr-util.i386 0:1.2.7-7.el5_3.2 set to be updated ---> Package tomcat5-servlet-2.4-api.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated ---> Package bind-libs.i386 30:9.3.4-10.P1.el5_3.3 set to be updated ---> Package tomcat5-jsp-2.0-api.i386 0:5.5.23-0jpp.7.el5_3.2 set to be updated ---> Package python.i386 0:2.4.3-24.el5_3.6 set to be updated ---> Package nss-tools.i386 0:3.12.3.99.3-1.el5.centos.2 set to be updated ---> Package kernel-headers.i386 0:2.6.18-128.4.1.el5 set to be updated ---> Package nspr.i386 0:4.7.4-1.el5_3.1 set to be updated ---> Package firefox.i386 0:3.0.12-1.el5.centos 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 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): 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 After some searching and checking several suggestions, I found the cause and solution to be very simple. The yum cache had become corrupted. The solution: cd /var/cache/yum rm -rf * yum makecache See below Sponsored Links

That cured it.

yum update then worked perfectly. Many thanks to http://just-another.net.
Share on TwitterSubmit to StumbleUponDigg This
In: linuxAuthor: EditorComments (0)