[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] bash-hpux 11.31
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] bash-hpux 11.31 |
Date: |
Fri, 7 Nov 2014 08:18:31 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Fri, Nov 07, 2014 at 09:52:44AM +0000, address@hidden wrote:
> In our HPUX servers with 11.31 OS version,
> we have GNU bash, version 4.2.20(1)-release (ia64-hp-hpux11.31)
>
> We are planning to go for a bash upgrade...planning to install bash-4.3.030
>
> Suppose I want to roll back from bash-4.3.030 to 4.2.20 - how would I do that
There are a couple ways, depending on exactly what you (or your
predecessor) did in the first place.
The "quick & dirty" way would be to find the location of the bash
executable ("type -a bash") and make a copy of it now, before you
install 4.3. You can copy it to something like /usr/local/bin/bash-4.2
and it can stay there as long as you like.
The "I'm Enterprise! Leverage my Paradigms!" way would be to assume
bash 4.2 was installed from an HP-UX "software depot" (typically a
file, but it could also have been on a magnetic tape or something).
Locate that depot, and have it ready. If you want to roll back, then
you would uninstall bash 4.3, and reinstall 4.2 from the original depot,
following whatever procedure you used to install 4.2 the first time.
The quick & dirty way doesn't make a copy of the bashbug script, or the
manual page. You might want to make copies of those too, but it's up
to you. I don't know what other crap might have been bundled into your
bash 4.2 depot (or if your bash 4.2 was even installed from a depot at
all -- it's possible your predecessor just compiled it from source),
but bash really just needs 1 installed file: "bash". The bashbug script
and the manual page (probably named bash.1 or bash.1.gz) are optional.