Re: [gentoo-user] vsftp .vs. ftpbase WTF??

2005-06-30 Thread Ron Bickers
On Thu June 30 2005 12:27 pm, Holly Bostick wrote:

> The thing is, because vsftpd-2.0.3-r1 is a dependency of ftpbase,
> ftpbase would install this version itself.

ftpbase is a runtime dependency of vsftpd as of vsftpd-2.0.3-r1.  Basically, 
some common ftp server things were put into ftpbase for use by vsftpd, 
proftpd, purftpd, etc.

> 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.

The problem is that 

Re: [gentoo-user] vsftp .vs. ftpbase WTF??

2005-06-30 Thread Holly Bostick
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
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vsftp .vs. ftpbase WTF??

2005-06-30 Thread Stoian Ivanov
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!

> > 
> > These are the packages that I would merge, in order:
> > 
> > Calculating world dependencies ...done!
> > [blocks B ]  > [ebuild  N] net-ftp/ftpbase-0.00
> > [ebuild U ] net-ftp/vsftpd-2.0.3-r1 [2.0.3]
> > 
> > !!! Error: The above package list contains packages which cannot be 
installed
> > !!!on the same system.
> > 
> > [EMAIL PROTECTED] ~ # 
> > 
> > So the answer is "Den't emerge until things are sorted out (ftpbase-0.01 
orvsftpd-2.0.3-r2)?"
> 
> And your question would be? Are you asking how to find out why ftpbase
> is being called at all (run emerge -upDt world to get a tree view that
> will show you what installed program vsftpd is a -D(ependency) of, and
> also what installed program is requiring ftpbase)? Are you asking how to
> solve the issue (unmerge vsftpd and then run the original command again,
> which will allow ftpbase to install, as it cannot be installed on a
> system where vsftpd is already installed-- apparently they are
> replacements for each other)? Or are you asking which one is better (no
> idea)?
> 
> Of course you can emerge while this is up in the air; just not with
> --deep and probably not world (as world will likely re-initiate the
> conflict). But if there are other things on the list that you want to
> update, you can of course do that, and you can of course add any new
> apps that might catch your fancy. And some 5-10 minutes of looking at
> the information of the two conflicting apps-- a combination of searches
> on www.gentoo-portage.com and packages.gentoo.org , with a side trip to
> one or both homepages, usually should indicate why the block exists and
> provide enough information about both programs so you can decide how you
> personally want to solve it (maybe you don't want ftpbase at all and
> want to stick with vsftpd).
> 
> Blocks really seem to throw people for a loop, when they're really only
> there to make you *stop* the headlong rush and examine the particular
> situation more carefully. Otherwise, they're not a really big deal, at
> least IMHO.
> 
> Holly
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vsftp .vs. ftpbase WTF??

2005-06-29 Thread Ron Bickers
On Wed June 29 2005 05:58 am, Stoian Ivanov wrote:

> Calculating world dependencies ...done!
> [blocks B ]  net-ftp/ftpbase-0.00) [ebuild  N] net-ftp/ftpbase-0.00
> [ebuild U ] net-ftp/vsftpd-2.0.3-r1 [2.0.3]

> So the answer is "Den't emerge until things are sorted out (ftpbase-0.01
> orvsftpd-2.0.3-r2)?"

I ran into the same thing.  From the changelog, vsftpd-2.0.3-r1 now depends 
on a brand new package called ftpbase, which provides /etc/ftpusers, 
installs an ftp user, creates the home directory, and optionally 
provides /etc/pam.d/ftp.

I guess it doesn't just install ftpbase because prior vsftpd packages include 
that which ftpbase now includes, so there's a conflict.

unmerge vsftpd and then emerge and all should be well.

-- 
Ron
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vsftp .vs. ftpbase WTF??

2005-06-29 Thread Holly Bostick
Stoian Ivanov schreef:
> [EMAIL PROTECTED] ~ # emerge -auD world
> 
> These are the packages that I would merge, in order:
> 
> Calculating world dependencies ...done!
> [blocks B ]  [ebuild  N] net-ftp/ftpbase-0.00
> [ebuild U ] net-ftp/vsftpd-2.0.3-r1 [2.0.3]
> 
> !!! Error: The above package list contains packages which cannot be installed
> !!!on the same system.
> 
> [EMAIL PROTECTED] ~ # 
> 
> So the answer is "Den't emerge until things are sorted out (ftpbase-0.01 
> orvsftpd-2.0.3-r2)?"

And your question would be? Are you asking how to find out why ftpbase
is being called at all (run emerge -upDt world to get a tree view that
will show you what installed program vsftpd is a -D(ependency) of, and
also what installed program is requiring ftpbase)? Are you asking how to
solve the issue (unmerge vsftpd and then run the original command again,
which will allow ftpbase to install, as it cannot be installed on a
system where vsftpd is already installed-- apparently they are
replacements for each other)? Or are you asking which one is better (no
idea)?

Of course you can emerge while this is up in the air; just not with
--deep and probably not world (as world will likely re-initiate the
conflict). But if there are other things on the list that you want to
update, you can of course do that, and you can of course add any new
apps that might catch your fancy. And some 5-10 minutes of looking at
the information of the two conflicting apps-- a combination of searches
on www.gentoo-portage.com and packages.gentoo.org , with a side trip to
one or both homepages, usually should indicate why the block exists and
provide enough information about both programs so you can decide how you
personally want to solve it (maybe you don't want ftpbase at all and
want to stick with vsftpd).

Blocks really seem to throw people for a loop, when they're really only
there to make you *stop* the headlong rush and examine the particular
situation more carefully. Otherwise, they're not a really big deal, at
least IMHO.

Holly

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vsftp .vs. ftpbase WTF??

2005-06-29 Thread Zac Medico
Stoian Ivanov wrote:
> [EMAIL PROTECTED] ~ # emerge -auD world
> 
> These are the packages that I would merge, in order:
> 
> Calculating world dependencies ...done!
> [blocks B ]  [ebuild  N] net-ftp/ftpbase-0.00
> [ebuild U ] net-ftp/vsftpd-2.0.3-r1 [2.0.3]
> 
> !!! Error: The above package list contains packages which cannot be installed
> !!!on the same system.
> 
> [EMAIL PROTECTED] ~ # 
> 
> So the answer is "Den't emerge until things are sorted out (ftpbase-0.01 
> orvsftpd-2.0.3-r2)?"

emerge unmerge "=net-ftp/vsftpd-2.0.3"

Zac
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] vsftp .vs. ftpbase WTF??

2005-06-29 Thread Stoian Ivanov
[EMAIL PROTECTED] ~ # emerge -auD world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B ]