Ports, pkg's confusion on upgrades...
Łukasz Wąsikowski
lukasz at wasikowski.net
Fri Aug 15 10:52:44 UTC 2014
W dniu 2014-08-13 o 11:45, Karl Pielorz pisze:
> We have a number of 10.x systems now - where we install packages (aka
> pkg install) some components, but other components we build from ports
> (as we need to add / remove options that the package gives you no choice
> over).
>
> Initially 'pkg upgrade' wanted to replace the port versions with pkg
> versions (which include options we don't want, and would have pulled in
> a lot of other dependencies).
>
> I seem to have fixed this by 'locking' them (i.e. pkg lock) - pkg
> upgrade doesn't want to touch them now, which is good.
>
> But, 'pkg upgrade' still wants to pull in more packages than are
> installed - i.e. 'pkg upgrade' shows entries under "to be INSTALLED" as
> well as "to be UPGRADED".
>
> 'pkg info -a -d' displays the dependencies of all installed packages
> (none of which depend on the package it wants to install) - but I can't
> seem to find any way to get 'pkg upgrade' to tell me why it wants to
> install a new package (i.e. which *upgrade* is it doing that now
> requires the "to be INSTALLED" packages?)
You could solve this by using your own poudriere - create repos with
your own port's options and pkg upgrade everything. Your current
approach - mixing packages and ports - is not supported IIRC.
--
best regards,
Lukasz Wasikowski
More information about the freebsd-ports
mailing list