bash %postun script failure in anaconda install and mock

Orion Poplawski orion at cora.nwra.com
Tue Oct 28 19:20:46 UTC 2008


Ralf Corsepius wrote:
> Hi,
> 
> Since this morning, initializing fedora-rawhide-i386 mock chroots fail
> for me on FC9:
> 
> # mock -r fedora-rawhide-i386 init
> INFO: mock.py version 0.9.9 starting...
> ...
> ERROR: Command failed: 
>  # /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-i386/root/
> groupinstall buildsys-build
> ...
> /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot
> open shared object file: No such file or directory
> error: %post(bash-3.2-28.fc10.i386) scriptlet failed, exit status 127

Hm, I just saw (20081027 install):

Installing bash-3.2-28.fc10.x86_64
/bin/sh: error while loading shared libraries: libtinfo.so.5: cannot 
open shared object file: No such file or directory
warning: %post(bash-3.2-28.fc10.x86_64) scriptlet failed, exit status 127

in my rawhide anaconda install log too.

I made a note of it here: https://bugzilla.redhat.com/show_bug.cgi?id=433579

because it seems like a transaction ordering issue.  Bash has a 
Requires(post) on /bin/sh, /bin/sh is provided by bash, which requires 
libtinfo.so.5, which is provided by ncurses-libs and needs to be 
installed first.  But ncurses-libs is getting installed after bash. 
Perhaps the circularity of the argument is giving rpm trouble.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com




More information about the devel mailing list