On Tuesday 31 May 2005 5:54 pm, Aaron Hanson wrote: > Hi All - > > I've got a an elf exe, 'mysql', which links to libncurses.so. > libncurses.so links to libgpm.so. Now the mysql package %post script > actually invokes 'mysql', so I've added 'Requires(post): ncurses' to the > mysql package. > > This is enough to insure that ncurses is installed before mysql, > but not enough to insure that the gpm package (which contains libgpm.so) > is installed before ncurses. So the 'mysql' call in the mysql package > post-script fails, unable to resolve the libgpm reference. > > I can think of many ways to work around this but it seems like a > flaw. AutoReqProv detects that libncurses.so needs libgpm.so, but the > specific require-time (post) does not seem to be carried through the > dependency tree. > > Thoughts? Launching the software in %post is usually frowned upon. -- Bart Whiteley