pkg delete --no-recursive

Olivier Nicole olivier.nicole at cs.ait.ac.th
Fri Mar 13 08:51:59 UTC 2015


Marco,

On Fri, Mar 13, 2015 at 3:42 PM, Marko Turk <markoml at markoturk.info> wrote:
> On Fri, Mar 13, 2015 at 03:27:10PM +0700, Olivier Nicole wrote:
>> Hi,
>>
>> How to tell pkg delete to remove only *this* package and not all the
>> ones that depends on it.
>>
>> There is a --recursive option, but it is applied by default and I don't
>> see how to disable it.
>>
>> My goal is to remove perl5.14 in order to install perl5.20. All other
>> packages that depend on perl5.14 will be rebuild afterward, so the
>> dependecy will be updated accordingly.
>>
>> But in no case I want to delete all packages depending on perl, I *do*
>> need them.
>>
>
> Hi,
>
> -f, --force
>     Forces packages to be removed despite leaving unresolved
>     dependencies.

thank you, that is really a *bad* choice of name for the option: it
does what I need, but it certainly not mean what it does!

Best regards,

olivier


More information about the freebsd-questions mailing list