SPECS (AC-branch): glibc.spec - workaround to be able upgrade

Artur Frysiak wiget at pld-linux.org
Thu Dec 30 01:12:14 CET 2004


On Wed, Dec 29, 2004 at 05:35:17PM +0200, Elan Ruusamäe wrote:
> On Wednesday 29 December 2004 18:04, Artur Frysiak wrote:
> > On Mon, Dec 20, 2004 at 10:28:41AM +0100, Andrzej Krzysztofowicz wrote:
> > > > looks like dead end, only way to solve it is dependancy of package
> > > > containing static binary.
> > >
> > > This is the reason the "base" packages (like glibc, FHS, setup, etc.) do
> > > not contain %pre/%post shell scripts.
> > > The only acceptable script may be a LUA script.
> > > Or just a static binary program call.
> >
> > LUA script attached (only example not complet solution)
> thanks. was helpful. but the problem is that at that time no dynamic
> program can be executed. (because half of the symbols are resolved from
> wrong libc)
> 
> and lua50 i checked does not have static lua executable (and -static is
> devel libraries)

with %post -p <lua> rpm uses internal/embeded lua interpreter not
/usr/bin/lua*

Regards
-- 
Artur Frysiak
http://www.pld-linux.org/




More information about the pld-devel-en mailing list