Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 22:11:13 +0300
From:      Anton Sayetsky <vsasjason@gmail.com>
To:        Mario Lobo <lobo@bsd.com.br>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: pkg delete dilema
Message-ID:  <CAA2O=b-N3htKNi2GUvh8qfNiCoDQpFEJDH-=sA_H8eHr5OoAiA@mail.gmail.com>
In-Reply-To: <CA%2ByoEx8UqjCCsdGidOiGHkSZJ=b%2Bwc_hVF9QTjXrmecC=bp18g@mail.gmail.com>
References:  <CA%2ByoEx8cXJk7FGvk9EBqhzj6V8gTSCL_vdhjknJCJqhYqVgwuA@mail.gmail.com> <b80b3cf8-858b-3c88-0791-674ee6002f28@FreeBSD.org> <CA%2ByoEx9EJH21xN7MZ6SDby-GqgmFrsCExM=dhGhnUJDV0t%2BD-Q@mail.gmail.com> <CA%2ByoEx8UqjCCsdGidOiGHkSZJ=b%2Bwc_hVF9QTjXrmecC=bp18g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2016-05-10 22:06 GMT+03:00 Mario Lobo <lobo@bsd.com.br>:
> 2016-05-10 15:28 GMT-03:00 Matthew Seaman <matthew@freebsd.org>:
>
>> On 10/05/2016 18:44, Mario Lobo wrote:
>> > So, is there a way to tell pkg just to delete the package WITHOUT
>> deleting
>> > the dependent ports? If not, is there a way for me to remove just the
>> > cups-client port? Or just force cups to get installed (make
>> > FORCE_PKG_REGISTER=yes install issues the same problem as plain make
>> above)?
>>
>> pkg delete -f cups-client
>>
>>         Cheers,
>>
>>         Matthew
>>
>>
>>
> Thanks Anton but I DID RTFM, but i expected to find the answer in the
> obvious "man pkg", which by the way, is not there anywhere:
Please, read messages carefully. You did NOT read required manpage.
"man pkg" is WRONG, and I said about "man pkg-***delete***".
Evidence follows:
jason@cs0:~$ man pkg-delete | col -bx | egrep -A3 '\-f,'
     -f, --force
                Forces packages to be removed despite leaving unresolved
                dependencies.  In combination with the -a or --all flag,
                causes pkg(8) to be removed as well as all other packages.
jason@cs0:~$



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA2O=b-N3htKNi2GUvh8qfNiCoDQpFEJDH-=sA_H8eHr5OoAiA>