Date: Thu, 6 Oct 2016 18:05:19 +1100 From: Graham Menhennitt <graham@menhennitt.com.au> To: freebsd-ports@freebsd.org Subject: Re: dependency explosions Message-ID: <912f183c-7ad7-6d91-3e49-23d006341a98@menhennitt.com.au> In-Reply-To: <57F59965.6090400@quip.cz> References: <trinity-46b750ae-29f6-400c-bc23-2de14c5a034f-1475707085095@msvc-mesg-gmx119> <43d4823b-ef7f-19b6-a065-45ad760ddd41@menhennitt.com.au> <a0d4ab8a-8f2c-55d9-6e1e-b1845cf20b1e@menhennitt.com.au> <57F59965.6090400@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Miroslav, Cyrus is marked as automatic and I don't understand why that is. But I've removed it as I only needed its libraries for Dovecot and, as you pointed out, that isn't necessary any more. All working! Thanks for your reply, Graham On 06/10/2016 11:23, Miroslav Lachman wrote: > Graham Menhennitt wrote on 2016/10/06 01:49: >> Sorry, I just read that UPDATING entry again. Cyrus is only provided to >> Dovecot if Postfix is present. I do not have Postfix present. So, I >> think that I do need to install Cyrus explicitly. >> >> So, back to my original question, why does "pkg autoremove" want to >> uninstall Cyrus when I explicitly installed it from the port? > > pkg autoremove is working with pkg internal database. If you install > some ports directly with command "pkg install SomePort", then this > ports is nor marked as autoamtic. If some port is installed as > depedency, then it is marked as automatic and if parent port is > removed, then this automatic port can be deleted by "pkg autoremove" > > You can use "pkg query" to check what is marked as automatic > > pkg query '%a %n' | sort > > You can change this settings by "pkg set" (see man pkg-query example) > > EXAMPLES > Change a package from automatic to non-automatic, which will prevent > autoremove from removing it: > % pkg set -A 0 perl-5.14 > > > > Why you need cyrus-sasl? Do you use some tools from this package or > just some libs? > The Dovecot / Postfix case is that Dovecot have it's own internal SASL > libs and Postfix from some version have internal support for Dovecots > SASL and do not need to be build with Cyrus-SASL. But it is not > related to you if you are not using Postfix.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?912f183c-7ad7-6d91-3e49-23d006341a98>