pkg-add - package insists on old version of Perl

Matthew Seaman m.seaman at
Mon Jun 27 16:34:20 UTC 2011

On 27/06/2011 17:15, Joe in MPLS wrote:
> I am trying to install the Amanda server package. I am running FreeBSD
> 8.2 with Perl 5.12.3.
> The package lists Perl 5.10.1 as a dependency and since my newer version
> of Perl conlicts with the older version the install fails. pkg_add with
> "-f" just tries to force the installation of the older Perl and fails.
> How do I get the package to install and use the Perl I already have? I'd
> rather not downgrade Perl.

Unfortunately, you don't.  Not with packages at least.  This version
mis-match thing is a known limitation with FreeBSD pkgs: changes are
under development, but nowhere near ready for primetime yet.

Instead, install amanda from ports.  Ports will automatically adapt to
the version of perl you already have installed, and generally do what
you want.  Amanda is not (as I recall) something with a huge dependency
list, nor is it a particularly enormous program in its own right, so
compiling the port shouldn't be too onerous.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID: matthew at               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list