1 |
Robert Crawford schreef: |
2 |
> On Saturday 27 August 2005 09:40 am, Harry Putnam wrote: |
3 |
> |
4 |
>>Running emerge -v -p world -u shows: |
5 |
>> |
6 |
>>Calculating world dependencies ....^H^H ...done! |
7 |
>>[blocks B ] <net-ftp/vsftpd-2.0.3-r1 (is blocking |
8 |
>>net-ftp/ftpbase-0.00) |
9 |
>> |
10 |
>>However any attempt to unmerge net-ftp/ftpbase-0.00 gets this error: |
11 |
>>root # emerge -v -C net-ftp/ftpbase-0.00 |
12 |
>> |
13 |
>>--- Couldn't find net-ftp/ftpbase-0.00 to unmerge. |
14 |
>> |
15 |
>> |
16 |
>>>>>unmerge: No packages selected for removal. |
17 |
>> |
18 |
>>I want to keep the vsftpd package so what needs to happen here? |
19 |
> |
20 |
> |
21 |
> You need to: |
22 |
> |
23 |
> emerge -C net-ftp/vsftpd-2.0.3-r1 |
24 |
|
25 |
Actually, you shouldn't even need to specify the version (which syntax, |
26 |
btw, is 'emerge -C =net-ftp/vsftpd-2.0.3-r1' --you need that = sign to |
27 |
specify a particular version of a program), just doing a regular |
28 |
|
29 |
emerge -C(av) vsftpd |
30 |
|
31 |
should be perfectly sufficient to clear the block. |
32 |
|
33 |
> |
34 |
> (or any earlier vsftpd version found on your system) temporarily, and after |
35 |
> you emerge net-ftp/ftpbase-0.00 and world, you can emerge |
36 |
> net-ftp/vsftpd-2.0.3-r1 again. |
37 |
|
38 |
You likely should not have to. The idea of a BLOCK is that the new |
39 |
package either replaces the functionality of, or includes the |
40 |
functionality of, the currently installed program. |
41 |
|
42 |
This is why they block each other; for example, xchat-gnome is blocked |
43 |
by xchat, because xchat-gnome is the full xchat program (as opposed to a |
44 |
frontend), as is xchat (of course). So you can't install both of them at |
45 |
the same time. |
46 |
|
47 |
In this case, ftpbase installs the same functionality as vsftpd-- and |
48 |
may in fact create binaries with the same name, as gamin does for fam. |
49 |
|
50 |
You can't (apparently) have two ftp daemons installed at the same time, |
51 |
just as you can't have two file alteration monitors installed at the |
52 |
same time. |
53 |
|
54 |
I admit, the message is confusing, but just remember it's in reverse |
55 |
from what seems to naturally make sense to people: |
56 |
|
57 |
> Calculating world dependencies ....^H^H ...done! |
58 |
> [blocks B ] <net-ftp/vsftpd-2.0.3-r1 (is blocking |
59 |
> net-ftp/ftpbase-0.00) |
60 |
> |
61 |
|
62 |
means that because |
63 |
|
64 |
net-ftp/vsftpd-2.0.3-r1 |
65 |
|
66 |
is currently installed on the system |
67 |
|
68 |
net-ftp/ftpbase-0.00 |
69 |
|
70 |
which would be installed by the current operation, under normal |
71 |
circumstances, cannot be installed. |
72 |
|
73 |
Thus, the first package named is installed and has to be removed so that |
74 |
the second package named can be installed by Portage. |
75 |
|
76 |
Most people (including me, before I trained myself) read this message |
77 |
the other way around and think that the second package named is the one |
78 |
that is currently installed, but the second named package is the one |
79 |
that Portage *wants* to install (but can't, because of the first named |
80 |
package). |
81 |
|
82 |
HTH, |
83 |
Holly |
84 |
-- |
85 |
gentoo-user@g.o mailing list |