Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138375 Details for
Bug 202036
portage-2.1.4_rc9 - KeyError: 'app-crypt/gnupg-1.4.7-r1' on emerge --update gnupg
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
in case of blockers, bail out earlier to avoid later problems
blockers.patch (text/plain), 1.97 KB, created by
Zac Medico
on 2007-12-13 01:27:04 UTC
(
hide
)
Description:
in case of blockers, bail out earlier to avoid later problems
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-12-13 01:27:04 UTC
Size:
1.97 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 8889) >+++ bin/emerge (revision 8890) >@@ -3689,19 +3689,6 @@ > ldpath_mtimes = mtimedb["ldpath"] > xterm_titles = "notitles" not in self.settings.features > >- #check for blocking dependencies >- if "--fetchonly" not in self.myopts and \ >- "--fetch-all-uri" not in self.myopts and \ >- "--buildpkgonly" not in self.myopts: >- for x in mylist: >- if x[0]=="blocks": >- print "\n!!! Error: the "+x[2]+" package conflicts with another package;" >- print "!!! the two packages cannot be installed on the same system together." >- print "!!! Please use 'emerge --pretend' to determine blockers." >- if "--quiet" not in self.myopts: >- show_blocker_docs_link() >- return 1 >- > if "--resume" in self.myopts: > # We're resuming. > print colorize("GOOD", "*** Resuming merge...") >@@ -6043,13 +6030,27 @@ > ("--pretend" in myopts), > mydbapi=trees[pkgline[1]]["porttree"].dbapi, > tree="porttree") >- if "--fetchonly" in myopts or "--fetch-all-uri" in myopts: >- pkglist = [] >- for pkg in mydepgraph.altlist(): >- if pkg[0] != "blocks": >- pkglist.append(pkg) >+ >+ pkglist = mydepgraph.altlist() >+ >+ if fetchonly or "--buildpkgonly" in myopts: >+ pkglist = [pkg for pkg in pkglist if pkg[0] != "blocks"] > else: >- pkglist = mydepgraph.altlist() >+ for x in pkglist: >+ if x[0] != "blocks": >+ continue >+ msg = "Error: the " + x[2] + " package conflicts " + \ >+ "with another package; the two packages cannot " + \ >+ "be installed on the same system together. " + \ >+ "Please use 'emerge --pretend' to determine blockers." >+ prefix = red(" * ") >+ from textwrap import wrap >+ for line in wrap(msg, 70): >+ print prefix + line >+ if "--quiet" not in myopts: >+ show_blocker_docs_link() >+ return 1 >+ > if favorites: > mydepgraph.saveNomergeFavorites() > del mydepgraph
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202036
: 138375