Solved

Linux bash update - package conflicts

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

757 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