1 |
On Sun, Apr 05, 2020 at 10:53:50AM -0700, Ian Zimmerman wrote: |
2 |
> Why does portage insist on installing busybox for me? |
3 |
|
4 |
BusyBox is just a minimal set of utilities which would be useful for rescuing a |
5 |
system, or to be used on an embedded system with extreme limitations. There's |
6 |
not really any reason to remove this, but if you insist... |
7 |
|
8 |
> As far as I know the only use for it on a desktop system is for |
9 |
> initramfs. I have no initramfs, therefore I have no need for busybox. |
10 |
> I unmerged it and nothing bad happened except for a warning from portage |
11 |
> that it is part of my profile set. I went ahead and ignored the |
12 |
> warning. |
13 |
> |
14 |
> But now I updated the tree and emerge -p shows it will be installed |
15 |
> again. Why is that? The only reverse dependencies are virtuals which |
16 |
> are satisfied in other ways, like virtual/awk. So is it the profile |
17 |
> thing? But I have done the same with other profile packages (notably |
18 |
> editors/nano) and those are _not_ coming back. |
19 |
|
20 |
Read more about profiles at [1]; a guide to making custom profiles can be found |
21 |
as a subsection. Portage's attempts to reinstall BusyBox is not unexpected |
22 |
behaviour, as the "profile" defines a core set of packages which should be |
23 |
installed for a particular use case (e.g., desktop profiles mandate an X |
24 |
server). Thus, when you invoke Portage to do a full overhaul, it interprets |
25 |
anything defined in the profile which is not installed on the system to be an |
26 |
error which needs to be rectified. |
27 |
|
28 |
If you really don't want to have Portage install BusyBox, see the --exclude |
29 |
option of emerge. But again, there's really no need to remove BusyBox unless |
30 |
you're _very_ short on disk space. |
31 |
|
32 |
[1] https://wiki.gentoo.org/wiki/Profile_(Portage) |
33 |
|
34 |
-- |
35 |
|
36 |
Ashley Dixon |
37 |
suugaku.co.uk |
38 |
|
39 |
2A9A 4117 |
40 |
DA96 D18A |
41 |
8A7B B0D2 |
42 |
A30E BF25 |
43 |
F290 A8AA |