On Sat, Oct 28, 2000 at 12:21:32AM +0200, Alexander Skwar wrote:
> Hello!
>
> I want to write a spec file for nessus. In my spec file, I've split some
> files to be in a sperate sub-package. These are so-called "plugins", which
> do the actual testing on the target host.
> Anyway, in the %post section of the main file I start the nessusd daemon.
That's wrong. You shouldn't start daemon in %post section. Let user do it.
> Upon the first run it generates some keys. Furthermore it checks if a
> directory exist. But this directory does not exist, as it is only created
> when my plugins subpackage is installed.
> So I thought that I might add a PreReq: nessus-plugins line to the main
> package. This did not work out, because nessus-plugins itself requires
> libnessus.so.1, which is provided by the main package.
> When trying to install the package, I got this error message:
>
> loop in prerequisite chain: nessus nessus-plugins nessus
>
> Is there a way to make the plugins package install before the mainpackage
> without using --force?
You can split shared library in separate package, nessus-libs, to resolve
loop in dependencies.
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto:[EMAIL PROTECTED]
Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team http://linux.iplabs.ru
Fandra Project http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who it's friends are.
PGP signature