Posted by Asim Zeeshan | Posted in CentOS, How to, Linux, Tutorials | Posted on 12-01-2010
Are you getting the following error while updating any package in pear?
pear.php.net is using a unsupported protocal – This should never happen.
I got this error right after I upgraded PHP from 5.2 to 5.9 (using CentOS-Testing repo). To resolve this situation, do this.
rm -fr /usr/share/pear/.channels
and then do this
pear update-channels
It should now give you the following output
Updating channel "doc.php.net"
Update of Channel "doc.php.net" succeeded
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
That’s it, your issue is resolved.
Posted by Asim Zeeshan | Posted in CentOS, Linux, Thoughts, Ubuntu | Posted on 09-01-2010
All my technical life, I knew and followed this simple rule
New updates to any application or component are meant to improve and fix the bugs present in it. Downloading new updates ensures that you system is up-to-update, has fixes to all those bugs you have been getting annoyed with and more stable.
Unfortunately not every IT department thinks that, especially the one I am facing at work. According to them, the new updates should only be applied IF and only IF they offer some new functionality (duhh!). Hello! what happened to the bug-fixes that are promised with these updates?
Read the rest of this entry »
If you are using
yum update
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
yum clean all
Then do
yum update
If you want to install PHP 5.2.x instead of the PHP 1.5.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze … just follow these steps
Read the rest of this entry »