From: "Sam Jorna (wraeth)" <wraeth@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Auto adding packages to world was -> Sets vs Meta ebuilds
Date: Wed, 12 Jul 2017 14:17:30 +1000 [thread overview]
Message-ID: <6cb8cf3f-28bc-4e9b-89cd-bd6be8092a57@gentoo.org> (raw)
In-Reply-To: <assp.03663fdcb2.20170711200536.00ca41ab@o-sinc.com>
[-- Attachment #1.1: Type: text/plain, Size: 1478 bytes --]
On 12/07/17 10:05, William L. Thomson Jr. wrote:
> I should have caught that sooner. -c does not remove a package, it just
> removes its deps.
>
> -c == --depclean.
--depclean is doing exactly what it is supposed to. If called with no
arguments, it searches for any unneeded dependencies and removes them,
however if called with a package as an argument, it will remove that
package *if it is not a dependency of another package*. Reporting
"nothing to remove" is precisely what it's supposed to do, and using
--verbose will tell you what is depending on the package.
To be clear, running '--depclean foo' does not remove dependencies of
foo, it removes foo provided it is not a dependency. It can be seen as a
dependency-aware (and thus, generally safe) --unmerge.
Making --depclean _always_ give you more information should just be a
case of adding --verbose to EMERGE_DEFAULT_OPTS.
> It is not the same as -C, which is remove a package directly.
>
> --unmerge (-C)
Correct, --unmerge will remove a package without considering
dependencies (give or take a few special cases). It is usually (or, at
least, should generally be) reserved for those taking a hammer to a
problem or with a particular desire to recover a broken system.
Again, it's doing exactly what it's supposed to - removing a package
you've told it to remove (unless it's one of the few
almost-always-critical packages).
--
Sam Jorna (wraeth)
GnuPG ID: D6180C26
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 858 bytes --]
next prev parent reply other threads:[~2017-07-12 4:17 UTC|newest]
Thread overview: 110+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-07 16:32 [gentoo-dev] Sets vs Meta ebuilds William L. Thomson Jr.
2017-07-07 16:36 ` Lucas Ramage
2017-07-07 16:40 ` William L. Thomson Jr.
2017-07-07 16:48 ` NP-Hardass
2017-07-07 17:05 ` William L. Thomson Jr.
2017-07-07 17:31 ` NP-Hardass
2017-07-07 18:19 ` William L. Thomson Jr.
2017-07-07 20:38 ` James Le Cuirot
2017-07-07 20:41 ` NP-Hardass
2017-07-07 20:43 ` Ciaran McCreesh
2017-07-07 20:53 ` William L. Thomson Jr.
2017-07-08 2:21 ` [gentoo-dev] " Michael Palimaka
2017-07-08 22:34 ` Rich Freeman
2017-07-08 23:09 ` William L. Thomson Jr.
2017-07-08 23:24 ` Rich Freeman
2017-07-08 23:39 ` William L. Thomson Jr.
2017-07-08 23:49 ` Ciaran McCreesh
2017-07-08 23:58 ` William L. Thomson Jr.
2017-07-09 0:10 ` Ciaran McCreesh
2017-07-09 1:23 ` William L. Thomson Jr.
2017-07-09 7:42 ` Daniel Campbell
2017-07-09 13:53 ` William L. Thomson Jr.
2017-07-10 3:42 ` Daniel Campbell
2017-07-08 23:35 ` Zac Medico
2017-07-08 23:46 ` William L. Thomson Jr.
2017-07-09 1:30 ` Zac Medico
2017-07-09 1:39 ` William L. Thomson Jr.
2017-07-09 4:30 ` Zac Medico
2017-07-09 13:58 ` William L. Thomson Jr.
2017-07-07 16:57 ` [gentoo-dev] " Brian Evans
2017-07-07 17:01 ` Brian Evans
2017-07-07 17:07 ` William L. Thomson Jr.
2017-07-09 0:27 ` Walter Dnes
2017-07-09 1:29 ` Rich Freeman
2017-07-09 10:19 ` Walter Dnes
2017-07-09 1:32 ` William L. Thomson Jr.
2017-07-09 9:24 ` Walter Dnes
2017-07-09 13:49 ` William L. Thomson Jr.
2017-07-10 1:37 ` Walter Dnes
2017-07-10 4:43 ` William L. Thomson Jr.
2017-07-10 18:59 ` William L. Thomson Jr.
2017-07-10 19:07 ` Brian Evans
2017-07-10 19:15 ` William L. Thomson Jr.
2017-07-10 19:25 ` William L. Thomson Jr.
2017-07-10 19:28 ` Ben Kohler
2017-07-10 19:36 ` William L. Thomson Jr.
2017-07-10 19:39 ` Ben Kohler
2017-07-10 19:45 ` William L. Thomson Jr.
2017-07-10 19:48 ` Ben Kohler
2017-07-10 19:52 ` William L. Thomson Jr.
2017-07-10 19:55 ` Rich Freeman
2017-07-10 20:27 ` William L. Thomson Jr.
2017-07-10 20:30 ` Rich Freeman
2017-07-10 21:42 ` William L. Thomson Jr.
2017-07-10 22:08 ` Ben Kohler
2017-07-10 23:22 ` William L. Thomson Jr.
2017-07-10 23:37 ` [gentoo-dev] Auto adding packages to world was -> " William L. Thomson Jr.
2017-07-11 20:27 ` Daniel Campbell
2017-07-11 20:31 ` Daniel Campbell
2017-07-11 20:57 ` William L. Thomson Jr.
2017-07-11 21:32 ` Daniel Campbell
2017-07-12 0:05 ` William L. Thomson Jr.
2017-07-12 4:17 ` Sam Jorna (wraeth) [this message]
2017-07-12 4:43 ` William L. Thomson Jr.
2017-07-12 5:00 ` Sam Jorna (wraeth)
2017-07-12 5:14 ` William L. Thomson Jr.
2017-07-12 5:19 ` Sam Jorna (wraeth)
2017-07-12 5:36 ` William L. Thomson Jr.
2017-07-12 5:49 ` Sam Jorna (wraeth)
2017-07-12 6:06 ` William L. Thomson Jr.
2017-07-12 6:40 ` Sam Jorna (wraeth)
2017-07-12 14:19 ` William L. Thomson Jr.
2017-07-12 15:03 ` Sam Jorna
2017-07-12 15:14 ` William L. Thomson Jr.
2017-07-12 16:07 ` Gordon Pettey
2017-07-12 16:23 ` M. J. Everitt
2017-07-12 16:38 ` William L. Thomson Jr.
2017-07-12 18:29 ` Pacho Ramos
2017-07-12 16:35 ` William L. Thomson Jr.
2017-07-15 8:34 ` Raymond Jennings
2017-07-17 0:01 ` Aaron W. Swenson
2017-07-12 3:22 ` Walter Dnes
2017-07-12 3:43 ` M. J. Everitt
2017-07-12 4:01 ` William L. Thomson Jr.
2017-07-12 4:00 ` William L. Thomson Jr.
[not found] ` <20170712000024.1956a714@o-sinc.com>
2017-07-12 4:06 ` William L. Thomson Jr.
2017-07-11 4:23 ` [gentoo-dev] " Walter Dnes
2017-07-10 20:36 ` Ben Kohler
2017-07-10 20:47 ` William L. Thomson Jr.
2017-07-10 20:55 ` Rich Freeman
2017-07-10 21:40 ` William L. Thomson Jr.
2017-07-10 22:24 ` Michał Górny
2017-07-10 22:47 ` Gordon Pettey
2017-07-10 23:05 ` Michał Górny
2017-07-10 23:56 ` [gentoo-dev] Native vs Scripting language for portage speed concerns was -> " William L. Thomson Jr.
2017-07-11 1:12 ` R0b0t1
2017-07-11 1:14 ` Raymond Jennings
2017-07-11 1:23 ` Ciaran McCreesh
2017-07-11 1:42 ` William L. Thomson Jr.
2017-07-11 1:29 ` William L. Thomson Jr.
2017-07-11 2:03 ` Rich Freeman
2017-07-11 1:09 ` [gentoo-dev] " Ciaran McCreesh
2017-07-11 1:35 ` William L. Thomson Jr.
2017-07-11 9:14 ` Ulrich Mueller
2017-07-10 21:21 ` Ian Stakenvicius
2017-07-11 1:10 ` Ciaran McCreesh
2017-07-10 19:39 ` William L. Thomson Jr.
2017-07-12 15:21 ` William L. Thomson Jr.
2017-07-08 22:20 ` William L. Thomson Jr.
2017-07-12 0:22 ` William L. Thomson Jr.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6cb8cf3f-28bc-4e9b-89cd-bd6be8092a57@gentoo.org \
--to=wraeth@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox