Solved

Linux bash update - package conflicts

Posted on 2014-09-29
2
1,445 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

691 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