For bug #151082, don't allow installed packages to inappropriately satisfy packages...
authorZac Medico <zmedico@gentoo.org>
Sat, 14 Oct 2006 03:35:40 +0000 (03:35 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 14 Oct 2006 03:35:40 +0000 (03:35 -0000)
svn path=/main/trunk/; revision=4678

bin/emerge

index d605d5ccc2abd7bfc96e1f001393c6e9a266ecec..cd03a3df78be6e74c099beea4d312bf489185b92 100755 (executable)
@@ -1187,7 +1187,8 @@ class depgraph:
                                        matched_packages.append(
                                                ["ebuild", myroot, myeb, None])
 
-                               if not matched_packages:
+                               if not matched_packages and \
+                                       not (arg and "selective" not in self.myparams):
                                        """Fall back to the installed package database.  This is a
                                        last resort because the metadata tends to diverge from that
                                        of the ebuild in the tree."""