?
Solved

Linux bash update - package conflicts

Posted on 2014-09-29
2
Medium Priority
?
1,453 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 2000 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

800 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