DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

How to remove packages when multiple packages installed in Linux

February 1, 2018 DbAppWeb Admin

Problem

I tried to remove the package apr-1.2.7-11.el5_6.5 from a Linux server and I got the error “error: “apr-1.2.7-11.el5_6.5” specifies multiple packages”

[root@dbappweb ~]# rpm -e apr-1.2.7-11.el5_6.5
error: "apr-1.2.7-11.el5_6.5" specifies multiple packages

Reason

I got the above error because multiple instances of the package apr-1.2.7-11.el5_6.5 were installed on the server. When I inquired about this package I found that the package was installed two times as shown below:

[root@dbappweb ~]# rpm -qa |grep apr
apr-1.2.7-11.el5_6.5
apr-1.2.7-11.el5_6.5

The package apr-1.2.7-11.el5_6.5 was shown two times because 32-bit and 64-bit both versions were installed on the system.

Solution

To remove both the packages we need to run the below commands specifying the package that is 32-bit or 64-bit.

[root@dbappweb ~]# rpm -e apr-1.2.7-11.el5_6.5.i386
[root@dbappweb ~]# rpm -e apr-1.2.7-11.el5_6.5.x86_64

Note: I faced the above problem on RHEL 5.8 while installing the Apache 2.2.3

Prev Article
Next Article
Tags:Apache 2.2.3 Linux Sys Admin

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2025 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com