pkg question

Andrea Venturoli ml at netfence.it
Tue Jan 8 07:16:54 UTC 2019


On 1/7/19 10:04 PM, Paul Macdonald via freebsd-questions wrote:

> I'm confused re the below though,

It's hard to answer your questions without knowing more about your 
system (like the full list of installed ports)


  can someone please enlighten me as to
> why bind-tools would need removed in this scenario

Can't tell, possibly a conflict?
Or it depends (possibly indirectly) on perl5.28 (which is going to be 
removed, see later).




> and why a deprecated 
> version of perl would be required (and perl 5.28 is installed)?

Probably because the package you are installing was compiled against 
perl5-5.24.
Packages are like that, they are not as flexible as ports: a port 
compiles on the fly and can use the installed version of a dependency, 
but a package will require the exact version it was built with.

That's why mixing ports and packages is hard.



> (i'm hoping perhaps i'm doing something wrong here)

You have several choices:
_ find a package that was build with the same set of dependencies you 
have installed (might be feasible for a single package, but will be 
almost impossible in general);
_ since the above won't be easy, build your own package[s] (e.g. with 
poudriere);
_ just use the ports OR a set of precompiled packages (but not both).



Sorry: I know I didn't help you doing what you want, just told you that 
you can't.

  bye
	av.


More information about the freebsd-questions mailing list