1 |
On Thursday 04 March 2010 17:37:23 Mick wrote: |
2 |
> I am trying to understand what is pulling in mysql again. This |
3 |
> morning a load of qt packages were being updated and I noticed a bunch |
4 |
> of perl and virtual packages in there too. Rest assured dev-db/mysql |
5 |
> was in there, again. This is despite the fact that the mysql use flag |
6 |
> seem to be not active as far as portage is concerned: |
7 |
> |
8 |
> # euse -i mysql |
9 |
> global use flags (searching: mysql) |
10 |
> ************************************************************ |
11 |
> [- ] mysql - Adds mySQL Database support |
12 |
> |
13 |
> local use flags (searching: mysql) |
14 |
> ************************************************************ |
15 |
> [- ] mysql (app-admin/ulogd): |
16 |
> Build MYSQL output plugin to save packets in a mysql database. |
17 |
> |
18 |
> [- ] mysql (net-misc/mediatomb): |
19 |
> Use dev-db/mysql as backend rather than SQLite3. If this USE flag is |
20 |
> disabled, dev-db/sqlite is used in its stead. |
21 |
> |
22 |
> Looking into it further I see that the virtual package is pulling the |
23 |
> database in: |
24 |
> |
25 |
> # equery depends dev-db/mysql |
26 |
> [ Searching for packages depending on dev-db/mysql... ] |
27 |
> virtual/mysql-5.0 (=dev-db/mysql-5.0*) |
28 |
> |
29 |
> # equery depends virtual/mysql |
30 |
> [ Searching for packages depending on virtual/mysql... ] |
31 |
> dev-db/mysql-5.0.84-r1 (=virtual/mysql-5.0) |
32 |
> dev-libs/cyrus-sasl-2.1.23-r1 (mysql? virtual/mysql) |
33 |
> dev-libs/redland-1.0.10-r1 (mysql? virtual/mysql) |
34 |
> dev-perl/DBD-mysql-4.00.5 (virtual/mysql) |
35 |
> x11-libs/qt-sql-4.6.2 (mysql? virtual/mysql) |
36 |
> |
37 |
> So, is this telling me the virtual mysql package depends of the real |
38 |
> mysql and vice versa? Should I give up and accept that just like a |
39 |
> LAMP build, from now on a Linux desktop *must* run mysql and nothing |
40 |
> else will do? I've read that sqlite is borked and won't do what |
41 |
> semantic-desktop wants, but what about people who for arguments sake |
42 |
> want to run postgress or some other database? |
43 |
|
44 |
The tool you want to answer this question is |
45 |
|
46 |
emerge -t |
47 |
|
48 |
There will be a reason why mysql is being pulled in, most likely a package |
49 |
that must have it. |
50 |
|
51 |
If a user wants postgres, he should install and run postgres. How would this |
52 |
affect the presence or absence of mysql? |
53 |
|
54 |
-- |
55 |
alan dot mckinnon at gmail dot com |