Stoian Ivanov schreef: > Here is what confuses me most: > Since I'm updating a package isn't it normal to assume that it will be > replaced after the process with a compatible one and because of that there is > no need to complain. Other source of confussion is "net-ftp/vsftpd-2.0.3-r1 > (is blocking net-ftp/ftpbase-0.00)" (while vsftpd depends on ftpbase) which > is alright only if you notice < infront of it. Since my ftp service is > really used I decided to ask-first-before-removal. > Thanks for your advice! > > > Admittedly, this is kind of a strange situation, but it does happen on occasion, and doesn't seem so confusing if you think a bit about what Portage is about.
The thing is, because vsftpd-2.0.3-r1 is a dependency of ftpbase, ftpbase would install this version itself. But you already have vsftpd-2.0.3 installed, and are trying to upgrade it to -r1 *not as a dependency of ftpbase*, but as a standalone program. This is a hard dependency, not a virtual, so if you were to upgrade vsftpd in this specific process (-uD world), the upgraded vsftpd would be still able to be used by ftpbase (I would imagine), but would not be listed as installed as a dependency of it-- vsftpd would be in your world file, would not be subject to emerge depclean if you uninstalled ftpbase, etc. Portage is smart-- not smart enough to turn a 'world' program into a 'dependency' program on the fly, but smart enough to know when you're about to do something that is going to confuse the hell out of it somewhere down the line (and therefore confuse the hell out of you when the situation comes to light, if it ever does). So it stops you, and "forces" you to uninstall the standalone "version", so that the dependency "version" can be installed by ftpbase, and everything is correctly organized from Portage's viewpoint. You have the same program installed both ways, so from a user standpoint, there's no problem, and Portage is happy, which ultimately is a good thing for the user as well. At least, that's how I understand it, but if I'm completely wrong, somebdy please tell me. Holly -- [email protected] mailing list

