1 |
On 11/21/2010 05:27 PM, Delian Xu wrote: |
2 |
> For example, |
3 |
> Sometime when you install or update a package, it would failed by 'masked' |
4 |
> reasons and you have to deal with the failure |
5 |
> (Though you can use a auto-unmask tool here). However, users would hope |
6 |
> the Portage / emerge system give an option |
7 |
> to chose Y or N like this: |
8 |
> xxx lines of information and warnings about masked package, |
9 |
> Would you like to unmask the package and continue the installation? |
10 |
> [Y/N]: |
11 |
> |
12 |
> This would be much better for all users. (It is just an example.) |
13 |
|
14 |
In portage-2.1.9 there's a new --autounmask option. If you like it you |
15 |
can use EMERGE_DEFAULT_OPTS to enable it by default in make.conf. |
16 |
|
17 |
There are a couple of related feature requests that I should also |
18 |
mention. Bug #258371 [1] requests the ability to automatically satisfy |
19 |
USE dependencies. This would be similar to having --autounmask enabled |
20 |
by default, but without requiring you to edit your config files. Bug |
21 |
#345775 [2] requests an option for --autounmask to automatically edit |
22 |
config files. |
23 |
|
24 |
Difficulty in resolving USE dependencies is a very common complaint. For |
25 |
example, I recently dealt with a user venting similar frustration to |
26 |
yours on bug #345175 [3]. |
27 |
|
28 |
It's worth mentioning that that there may be a lot of cases in which we |
29 |
can use IUSE defaults to satisfy reverse USE dependencies, without add |
30 |
adding any bloat. I would encourage ebuild developers to look for |
31 |
opportunities like this whenever adding USE dependencies. |
32 |
|
33 |
[1] http://bugs.gentoo.org/show_bug.cgi?id=258371 |
34 |
[2] http://bugs.gentoo.org/show_bug.cgi?id=345775 |
35 |
[3] http://bugs.gentoo.org/show_bug.cgi?id=345175 |
36 |
-- |
37 |
Thanks, |
38 |
Zac |