I am trying to use "whiptail" to display progress to users while removing some RPM's. Using
{
 echo 25
 yum remove package_name
 echo 50
 yum remove package_name
 echo 75 
 yum remove package_name
 echo 100
 sleep 1
} | whiptail --gauge "Removing RPM's" 6 60 0*

What i would like is to display message "Removing package_name" along with the progress bar, Like when redhat installs packages something like this How can i achieve that ?