Date: Fri, 13 Mar 2015 13:41:17 +0100 From: Luca Ferrari <fluca1978@infinito.it> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: pkg delete --no-recursive Message-ID: <CAKoxK%2B6SmYRCjDAitAygiCc57peQUyR-qhzvgcb=ARgyCKr_uw@mail.gmail.com> In-Reply-To: <5502A4A0.8090704@freebsd.org> References: <wu7vbi5e201.fsf@banyan.cs.ait.ac.th> <5502A4A0.8090704@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 13, 2015 at 9:49 AM, Matthew Seaman <matthew@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKoxK%2B6SmYRCjDAitAygiCc57peQUyR-qhzvgcb=ARgyCKr_uw>