This problem normally occurs when your forgetting to place array into container, for example

We will have in this situation only first row not others, top get all rows we must use while() loop

using while loop your getting all rows you can save them into array and so on.

More space needed on the boot filesystem

After running yum update if your getting something like this

Transaction Check Error:
installing package kernel-2.6.32-431.11.2.el6.x86_64 needs 11MB on the /boot filesystem

this means that boot file system is full we will need to delete some date from there to install new kerenel.

to list all old kernels which are not needed any more:

rpm -qa | grep kernel
kernel-devel-2.6.32-431.1.2.0.1.el6.x86_64
kernel-2.6.32-431.1.2.0.1.el6.x86_64
kernel-devel-2.6.32-358.23.2.el6.x86_64
kernel-devel-2.6.32-431.5.1.el6.x86_64
kernel-devel-2.6.32-358.18.1.el6.x86_64
kernel-devel-2.6.32-431.3.1.el6.x86_64
kernel-headers-2.6.32-431.5.1.el6.x86_64
dracut-kernel-004-336.el6_5.2.noarch
kernel-2.6.32-431.5.1.el6.x86_64
kernel-firmware-2.6.32-431.5.1.el6.noarch
kernel-2.6.32-358.23.2.el6.x86_64

Now delete one of them using :

rpm -e kernel-2.6.32-431.1.2.0.1.el6.x86_64

and check space:

df -H /boot

if space not enough delete some other old kernels and start update again.