help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Help


From: Do Hak Yong
Subject: Re: [Help-bash] Help
Date: Wed, 18 Mar 2015 22:11:53 +0900

I think you should boot into "rescue mode" provided by your installation
media. then you can reinstall bash rpm using yum or rpm.
2015年3月18日 下午9:43于 "Greg Wooledge" <address@hidden>写道:

> On Wed, Mar 18, 2015 at 07:53:54PM +0800, address@hidden wrote:
> > I accidentally uninstalled bash by "rpm -e bash --nodeps",Can I fix it
> again?If can,Please tell me how to fix,Thanks very much.
> > My System version is Redhat5.9,I'll look forward to your reply.
>
> This is really a Red Hat question, rather than a bash question.  I'm not a
> Red Hat user, but I would guess the problem is rpm needs bash to install
> RPMs (chicken & egg).  So, with that in mind, what I would try first
> is manually copying /bin/bash from another Red Hat box of the same
> architecture and version to your box.  There may also be some shared
> libraries to copy (e.g. libreadline).  Use ldd to see what the shared
> libraries are, and make sure they exist on your box.  Run ldconfig.
> Once the binary and the shared libraries are all in place, and you have
> run ldconfig, then see if you can install the bash RPM.
>
> If that doesn't work, ask for help on a Red Hat mailing list, or in a
> Red Hat IRC channel, or on a Red Hat web forum.
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]