Problem installing bacula-server and bacula-client on the same machine

2012-10-26 Thread Enrique Ayesta Perojo
Hello,

I have a problem installing sysutils/bacula-server and
sysutils/bacula-client simultaneously on a machine running
9.0-RELEASE-p4 with the new pkg system (pkgng) from ports. When it tries
to register bacula-client with bacula-server already installed it gaves
the next error.

===   Registering installation for bacula-client-5.2.12
Installing bacula-client-5.2.12...pkg: bacula-client-5.2.12 conflicts
with bacula-server-5.2.12 (installs files into the same place). 
Problematic file: /usr/local/man/man8/bacula-fd.8.gz
*** Error code 70

Stop in /usr/ports/sysutils/bacula-client.
*** Error code 1

The files for bacula-client are there, and it works, but it doesn't get
registered into the package database. Any clue?

Thanks
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Problem installing bacula-server and bacula-client on the same machine

2012-10-26 Thread Carsten Jensen

On 10/26/2012 10:03 AM, Enrique Ayesta Perojo wrote:

Hello,

I have a problem installing sysutils/bacula-server and
sysutils/bacula-client simultaneously on a machine running
9.0-RELEASE-p4 with the new pkg system (pkgng) from ports. When it tries
to register bacula-client with bacula-server already installed it gaves
the next error.

===   Registering installation for bacula-client-5.2.12
Installing bacula-client-5.2.12...pkg: bacula-client-5.2.12 conflicts
with bacula-server-5.2.12 (installs files into the same place).
Problematic file: /usr/local/man/man8/bacula-fd.8.gz
*** Error code 70

Stop in /usr/ports/sysutils/bacula-client.
*** Error code 1

The files for bacula-client are there, and it works, but it doesn't get
registered into the package database. Any clue?

Thanks
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org



Isn't the client installed automatically when you install the 
bacula-server ?

I seem to remember from older freebsd versions that it's the same package.

cheers
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Problem installing bacula-server and bacula-client on the same machine

2012-10-26 Thread Enrique Ayesta Perojo
26/10/12 10:14(e)an, Carsten Jensen(e)k idatzi zuen:
 On 10/26/2012 10:03 AM, Enrique Ayesta Perojo wrote:
 Hello,

 I have a problem installing sysutils/bacula-server and
 sysutils/bacula-client simultaneously on a machine running
 9.0-RELEASE-p4 with the new pkg system (pkgng) from ports. When it tries
 to register bacula-client with bacula-server already installed it gaves
 the next error.

 ===   Registering installation for bacula-client-5.2.12
 Installing bacula-client-5.2.12...pkg: bacula-client-5.2.12 conflicts
 with bacula-server-5.2.12 (installs files into the same place).
 Problematic file: /usr/local/man/man8/bacula-fd.8.gz
 *** Error code 70

 Stop in /usr/ports/sysutils/bacula-client.
 *** Error code 1

 The files for bacula-client are there, and it works, but it doesn't get
 registered into the package database. Any clue?

 Thanks
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


 Isn't the client installed automatically when you install the
 bacula-server ?
 I seem to remember from older freebsd versions that it's the same
 package.


Hi,

No, the source file is indeed the same and bacula-client is a subport
of bacula-server, but it doesn't install automatically with the
bacula-server port. I'm looking at the Makefiles, maybe that's the reason...

Thanks

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Problem installing bacula-server and bacula-client on the same machine

2012-10-26 Thread Enrique Ayesta Perojo
26/10/12 11:00(e)an, Enrique Ayesta Perojo(e)k idatzi zuen:
 26/10/12 10:14(e)an, Carsten Jensen(e)k idatzi zuen:

 Isn't the client installed automatically when you install the
 bacula-server ?
 I seem to remember from older freebsd versions that it's the same
 package.

 Hi,

 No, the source file is indeed the same and bacula-client is a subport
 of bacula-server, but it doesn't install automatically with the
 bacula-server port. I'm looking at the Makefiles, maybe that's the reason...

 Thanks



Hello again,

The bacula-server Makefile seems to be the problem (?) By default it
only installs the server and storage part of bacula, adding the client
part to the USE_RC_SUBR option it installs perfectly... maybe a metaport
is needed?

.if !defined(WITH_CLIENT_ONLY)
USE_RC_SUBR?=   bacula-dir bacula-sd bacula-fd
.endif
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org