-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 12 April 2002 06:39 am, Jérôme Tournier wrote:
> Hello,
> i don't understand my problème, maybe you could help me.
> I changed my comps file to customize my cd set.
> The installation of the new RedHat is ok, but if i have a look
> to the /tmp/install.log file, i can see:
> #############################################
> Installing bash.
> created %_tmppath directory /var/tmp
>
> execution of %post scriptlet from bash-2.05-8 failed, exit status 255
> #############################################
>
> I did not change anything in this package.

Without knowing what changes you made to the comps file, it's hard to say 
why the post install script failed. Perhaps you left out a dependency?

However, all the script does is set up the file /etc/shells. It should be 
easy enough to fix it manually.

$  rpm -q bash
bash-2.05-8

$  rpm -q bash --scripts
postinstall scriptlet (through /bin/sh):

HASBASH2=""
HASBASH=""
HASSH=""

if [ ! -f /etc/shells ]; then
        > /etc/shells
fi

(while read line ; do
        if [ $line = /bin/bash ]; then
                HASBASH=1
        elif [ $line = /bin/sh ]; then
                HASSH=1
        elif [ $line = /bin/bash2 ]; then
                HASBASH2=1
        fi
 done

 if [ -z "$HASBASH2" ]; then
        echo "/bin/bash2" >> /etc/shells
 fi
 if [ -z "$HASBASH" ]; then
        echo "/bin/bash" >> /etc/shells
 fi
 if [ -z "$HASSH" ]; then
        echo "/bin/sh" >> /etc/shells
fi) < /etc/shells

$  less /etc/shells
/bin/sh
/bin/bash
/bin/ash

Hope that helps,

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.freesoftware.fsf.org/rule/

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8tshveMAUbzJhSVcRAtNmAJ0W6yw8Q0AOyPb2dJAuy6tqPu+P6ACgiwUl
OtwPQfW3GbeG4LNDMc2KJ2E=
=Oq0l
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to