Pkg doesn't care about conflict

Miroslav Lachman 000.fbsd at quip.cz
Tue Sep 27 15:06:07 UTC 2016


Margaret wrote on 09/27/2016 14:55:

[...]

>> Did you stop pkg in the middle or did you let it go? I think it will
>> show you conflict message and ask you if you would like to deinstall PHP
>> 7.0 and install 5.6 instead.
>>
>> Miroslav Lachman
>
> I stopped it immediately.
>
> If you're right about it showing a conflct message (my memory
> says you are), I'd think it would be friendlier to print the
> message first, before anything is downloaded.  It routinely
> checks versions, so putting out the conflict message immediately,
> even before showing the proposed downloads, shouldn't be hard.

I think that conflicts are defined in package metadata so pkg don't know 
about conflict until package is downloaded. Maybe I am wrong. I didn't 
examine pkg internals too deep.

Miroslav Lachman


More information about the freebsd-ports mailing list