Solved

Linux bash update - package conflicts

Posted on 2014-09-29
2
1,417 Views
Last Modified: 2014-09-29
Hello.

I wanted to update my linux server with a newer bash.rpm package. However, when installing I get the:
file /bin/bash from install of bash-3.2-147.22.1.x86_64 conflicts with file from package bash-3.2-147.14.18.1.x86_64
error.

Ok, so I wanted to remove the older version of bash, but it seems there are a lot of dependencies (over 1000) - among them are packages which are needed by some production scripts to work.

Is there anodher way of updating bash package without having to remove older bash.rpm with all of the dependencies and then install the new bash.rpm package ?
0
Comment
Question by:SimpleJ
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 40349669
Don't use "rpm -i <package>"
(-i means "install")!

Use "rpm -U <package>"
(-U means "upgrade").

If this fails, too, add the "--force" flag to the rpm command: "rpm -U --force <package>"
0
 
LVL 1

Author Closing Comment

by:SimpleJ
ID: 40349675
Yes, thank you !!

It worked without "force" flag.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now