pkg-add - package insists on old version of Perl
m.seaman at infracaninophile.co.uk
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
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110627/6838b773/signature.pgp
More information about the freebsd-questions