LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Stubborn packages, not able to remove (https://www.linuxquestions.org/questions/linux-server-73/stubborn-packages-not-able-to-remove-4175504759/)

abhisheks77 05-12-2014 04:47 PM

Stubborn packages, not able to remove
 
I have Suse Enterprise Server 10 and was trying to upgrade HP Openview. Usually this package will uninstall all HP packages first and then install new one. But it is not able to do it.
I tried removing these packages manually, but not able to remove. Seems like something got corrupted but not sure how to fix it.
Code:

root@prdqdb01:~> rpm -qa|grep HP
HPOvBbc-6.20.101-1
HPOvXpl-11.11.025-1
HPOvXpl-6.20.110-1
HPOvPCO-10.50.225-1
HPOvXpl-11.13.007-1
HPOvSecCo-6.20.107-1
HPOvXpl-11.11.025-1
HPOvPacc-10.50.225-1
root@prdqdb01:~> for x in HPOvCtrl-6.20.052-1 HPOvBbc-6.20.101-1 HPOvXpl-11.11.025-1 HPOvGlanc-5.00.000-1 HPOvXpl-6.20.110-1 HPOvPCO-10.50.225-1 HPOvSecCo-6.20.107-1 HPOvXpl-11.11.025-1 HPOvPacc-10.50.225-1; do rpm -e --nodeps $x; done
error: package HPOvCtrl-6.20.052-1 is not installed
error: package HPOvBbc-6.20.101-1 is not installed
error: "HPOvXpl-11.11.025-1" specifies multiple packages
error: package HPOvGlanc-5.00.000-1 is not installed
error: package HPOvXpl-6.20.110-1 is not installed
error: package HPOvPCO-10.50.225-1 is not installed
error: package HPOvSecCo-6.20.107-1 is not installed
error: "HPOvXpl-11.11.025-1" specifies multiple packages
error: package HPOvPacc-10.50.225-1 is not installed
root@prdqdb01:~>


John VV 05-12-2014 06:16 PM

you are aware that genral support for SELS 10 ended last year
and that SELS 10 sp4 is on extended support until 2016

if you really NEED to upgrade software you really should upgrade the operating system to SELS 11 service pack 3

as for the rpm database
try
Code:

rpm --rebuilddb
zypper update


abhisheks77 05-12-2014 07:48 PM

This worked for me. Thanks John
We have plans for upgrade all old servers, soon will be completed.


All times are GMT -5. The time now is 12:16 AM.