1 |
Dale schrieb am 17.11.2009 22:53: |
2 |
> |
3 |
> root@smoker / # equery depends sqlite |
4 |
> [ Searching for packages depending on sqlite... ] |
5 |
> app-pda/libopensync-0.22 (>=dev-db/sqlite-3) |
6 |
|
7 |
If you have this package installed and want to keep it you are forced to |
8 |
keep sqlite as it is a hard dependency. Meaning this package needs |
9 |
sqlite and there is no alternative. |
10 |
|
11 |
> app-portage/eix-0.17.0 (sqlite? >=dev-db/sqlite-3) |
12 |
|
13 |
Here sqlite is optional via use flag. So you can get rid of the |
14 |
dependency it by disabling the use flag. |
15 |
|
16 |
> Those appear to be in the ebuild and MySql is not a option for |
17 |
> replacement. Is there a way? I have already emerged these with the |
18 |
> -sqlite and +mysql USE flag. I notice something about sqlite3 in one of |
19 |
> the ebuilds. What is that? |
20 |
|
21 |
The main reason why I respond to this post is that there are still a lot |
22 |
of people which are using "equery depends", although it is known to |
23 |
print false positive by not taking use flags into account. You have to |
24 |
scan through the output and check if the use flag is activated which |
25 |
pulls in the package you want to check. Like for eix in the above |
26 |
example. Eix only depends on sqlite if the sqlite use flag is activated. |
27 |
"Equery depends" lists it in any case (activated or not) as it doesn't |
28 |
take the use flags into account. |
29 |
|
30 |
A more convenient way to find out the correct reverse dependencies with |
31 |
portage is "emerge -pv --depclean <atom>"[1]. Running only "emerge -pv |
32 |
--depclean" checks the complete world and system set, but if you pass a |
33 |
package to it only the reverse dependencies of the package in question |
34 |
are examined. |
35 |
|
36 |
[1] http://www.gentoo.org/proj/en/portage/doc/faq.xml |
37 |
|
38 |
-- |
39 |
Daniel Pielmeier |