CentOS yum update missing dependency error

CentOS, How to, Linux, OpenSource, Tips and Tricks, Tutorials
If you are using [sourcecode lang="plain"]yum update[/sourcecode] on CentOS and getting the following errors Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed) gamin-python-0.1.7-8.el5.i386 from installed has depsolving problems Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed) Error: Missing Dependency: /usr/lib/python2.4 is needed by package libxml2-python-2.6.26-2.1.2.7.i386 (installed) Error: Missing Dependency: /usr/lib/python2.4 is needed by package gamin-python-0.1.7-8.el5.i386 (installed) Don't panic, the solution is simple ... just run the following command [sourcecode lang="plain"]yum clean all[/sourcecode] Then do [sourcecode lang="plain"]yum update[/sourcecode]
Read More

HashPakistan needs an admin panel

News, Pakistan, Personal, Thoughts
Well, my initial estimates were wrong. I thought I could retweet the posts and Twitter would give me accurate results. The problem is with twitter results. They are giving me wrong and irrelevant results. Also, when I ask Twitter to only send me "positive" tweets, it sometimes does not mark most of the positive tweets as "positive", in fact they are not marked at all. So there are the "positive" tweets, "negative" tweets, "questions" and "unknown" (or "unrated") tweets. A quick look at these tweets and I can see many of them as good ones that should have been retweeted but they were not. To get over this situation, I need to have an admin panel where I can see statistics and possibly "approve" the negative / unrated tweets. Having…
Read More

Twitter Search gone mad!

News, Pakistan
Yes, I know what I just said that ... its true because my new project HashPakistan is using Twitter Search API to get all posts with hashtag #Pakistan and last night twitter gave it results containing #ashes (and has nothing to do with Pakistan). I noticed it today and removed those updates from the twitter timeline. Hopefully it does not happen again. P.S. There are no official words on the Twitter Blog regarding this
Read More

$1.99 Domain Names from GoDaddy

Promotions and Offers, Resources, Reviews
Yes, its true. GoDaddy is now selling domain names for just $1.99 ($2.19 after adding 20 cent ICANN fee). All you need to do is use the coupon 199BUYCOM before checkout. You dont need to buy additional services to avail this offer. This offer has the following limitations Only valid for one new domain name or domain name transfer per account Valid for 7,500 orders or 07-July-2009, whichever comes first. Enjoy! Updates: Working as of 05th July 2009. I just registered a domain name using this coupon.
Read More

How to Install Apache, PHP and MySQL on CentOS

How to, Linux, OpenSource, PHP, Resources, Tips and Tricks, Tutorials
I have seen people installing Apache, PHP and MySQL from source code on a production server. You should NEVER, NEVER, NEVER install these packages from source on an RPM or DEB based Linux distributions. Did I say “NEVER” enough times to make your realize that it is not a good practice? Installing from source is bad idea; there are many reasons for this but the major one is that you will be spending a lot of time keeping the system updated. If you love installing from source then I would suggest using a different distribution e.g. Gentoo. You can build from source if the package is not available in yum but still, try to use “yum” (or “apt-get” on Ubuntu) because it will save a lot of your time when…
Read More