1 |
Henry Gebhardt (Tue, 5 Jul 2011 00:21:22 +0200): |
2 |
> On Mon, Jul 04, 2011 at 11:59:23PM +0200, Roman Zilka wrote: |
3 |
> > Roman Zilka (Mon, 4 Jul 2011 23:34:01 +0200): |
4 |
> > > Neil Bothwick (Mon, 4 Jul 2011 22:16:18 +0100): |
5 |
> > > > On Mon, 4 Jul 2011 22:48:44 +0200, Roman Zilka wrote: |
6 |
> > > > |
7 |
> > > > > Not quite. This is how I'm thinking: if '-ep world' says virtual/pam |
8 |
> > > > > needs to be installed, then it either |
9 |
> > > > > * is in the world file, or |
10 |
> > > > > * is in the system set, or |
11 |
> > > > > * is a buildtime or runtime dependency (immediate or deep) of one of the |
12 |
> > > > > packages in the world set (i.e., world file and system set combined). |
13 |
> > > > |
14 |
> > > > There's another possibility, that it is one of a number of packages that |
15 |
> > > > satisfy a particular dependency, the first listed one. If you have |
16 |
> > > > another package installed that fulfils this dependency, emerge -u world |
17 |
> > > > won't need to do anything, but with emerge -e world you are telling |
18 |
> > > > portage that the other package is not installed, so it picks the first |
19 |
> > > > dependency from the list. |
20 |
> > > |
21 |
> > > I checked that - in this case, there are no alternatives. |
22 |
> > |
23 |
> > Ah, I see. I'm sorry, I wasn't thinking enough. Yeah, virtual/pam may |
24 |
> > be one of a list. But if nothing else, I have openssh and openssh says: |
25 |
> > RDEPEND="pam? ( virtual/pam ) |
26 |
> > No alternatives there. And I don't have virtual/pam, but do have |
27 |
> > openssh. So why does '-uDN world' not pull virtual/pam in? |
28 |
> |
29 |
> My guess is that when virtual/pam was introduced, the openssh ebuild was |
30 |
> changed to depend on it without a rev bump. Then while upgrading emerge |
31 |
> will use the old ebuild of the installed openssh, and when you use |
32 |
> --emptytree it will use the new one in the portage tree. |
33 |
> |
34 |
> You can test the theory by comparing the ebuild in portage with the one |
35 |
> in /var/db/pkg/net-misc/. |
36 |
|
37 |
I was expecting to find this to be the cause, because I absolutely |
38 |
didn't think of it and it sounds likely. |
39 |
But /var/db/pkg/net-misc/openssh-5.8_p1-r1/RDEPEND requires virtual/pam |
40 |
too. |
41 |
|
42 |
-rz |