1 |
On Mon, 10 Jul 2017 15:07:37 -0400 |
2 |
Brian Evans <grknight@g.o> wrote: |
3 |
|
4 |
> On 7/10/2017 2:59 PM, William L. Thomson Jr. wrote: |
5 |
> > On Mon, 10 Jul 2017 00:43:11 -0400 |
6 |
> > "William L. Thomson Jr." <wlt-ml@××××××.com> wrote: |
7 |
> > I think portage should also warn on removing packages that came in |
8 |
> > from another. If you are removing any dependency of another package. |
9 |
> > |
10 |
> > |
11 |
> |
12 |
> Portage will refuse to remove a package if it is a dependency, but you |
13 |
> have to change the invocation to be 'emerge -avc <package>'. |
14 |
> |
15 |
> Then it will be very verbose if something needs said package. |
16 |
|
17 |
Nope, go try yourself. Remove any dep of another package that is not a |
18 |
system package. You will not get any warnings but the generic one. It |
19 |
does not know these are a dep and should not be removed. It is not |
20 |
saying anything about that. |
21 |
|
22 |
These are brought in by 2 packages I have installed, |
23 |
dev-java/tomcat-server and java-virtuals/servlet-api |
24 |
|
25 |
# emerge -pC tomcat-servlet-api |
26 |
* This action can remove important packages! In order to be safer, use |
27 |
* `emerge -pv --depclean <atom>` to check for reverse dependencies |
28 |
before |
29 |
* removing packages. |
30 |
|
31 |
>>> These are the packages that would be unmerged: |
32 |
|
33 |
dev-java/tomcat-servlet-api |
34 |
selected: 6.0.53 7.0.77 9.0.0_alpha22 |
35 |
protected: none |
36 |
omitted: none |
37 |
|
38 |
All selected packages: =dev-java/tomcat-servlet-api-6.0.53 |
39 |
=dev-java/tomcat-servlet-api-7.0.77 |
40 |
=dev-java/tomcat-servlet-api-9.0.0_alpha22 |
41 |
|
42 |
>>> 'Selected' packages are slated for removal. |
43 |
>>> 'Protected' and 'omitted' packages will not be removed. |
44 |
|
45 |
Which I just had as a result of doing that previously |
46 |
|
47 |
!!! ERROR: No provider is available for servlet-api-2.5 |
48 |
Please check your environment. |
49 |
!!! ERROR: No provider is available for servlet-api-3.0 |
50 |
Please check your environment. |
51 |
|
52 |
|
53 |
-- |
54 |
William L. Thomson Jr. |