Solved

Linux bash update - package conflicts

Posted on 2014-09-29
2
1,423 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

856 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