portupgrade and dependencies

Eugene M. Kim blue at white.lv
Thu Dec 14 09:30:16 PST 2006


Unfortunately, the semantics of -r and -R options of pkg_info is the 
opposite of the semantics used by pkgtools (such as 
portupgrade/portinstall, pkg_glob and so on).

Eugene

Marek Denis wrote:
> On Tue, Dec 12, 2006 at 05:55:40PM -0500, Dino Michailidis wrote:
>   
>> portupgrade -r will also upgrade packages that depend on the port you are
>> upgrading.  It seems that this is not what you want.
>>
>> portupgrade -R will also upgrade packages required by the port you are
>> upgrading - I believe this *is* what you want.
>>
>>     
>
> Well, I don't get it.
> When I type:
>
> pkg_info -R libiconv-1.9.2_1
>
> it shows many of the packages (ettercap too)
> so it is required by ettercap to work properly, yes?
> And when I type 
> pkg_info -r ettercap
>
> it shows libiconv as a dependant, it mean a package which is required to
> work ettercap properly, yes?
> And that I have always thought -r option with portupgrade was all right
> for me.
>   


More information about the freebsd-hackers mailing list