pkg delete --no-recursive
Luca Ferrari
fluca1978 at infinito.it
Fri Mar 13 12:41:20 UTC 2015
On Fri, Mar 13, 2015 at 9:49 AM, Matthew Seaman <matthew at freebsd.org> wrote:
> On 03/13/15 08:27, Olivier Nicole wrote:
>> How to tell pkg delete to remove only *this* package and not all the
>> ones that depends on it.
>
> pkg delete -f pkgname
>
Sounds to me like a call for trouble: removing a package and not those
that depends on it will result in a lot of work that can be automated
and will not provide any gain in time/cpu, at least in my opinion.
> Trying to work out all this dependency stuff by hand tends to be
> error-prone, tedious and leave your system in a bit of a mess.
A few days ago I had a Linux update that did pretty much what the OP
was trying to achieve: update Perl without rebuilding the
dependencies, and so I had to upgrade them by myself. And in the
meantime I had a few Perl-service downtime...grrrr...
Luca
More information about the freebsd-questions
mailing list