Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4133 - emerge search craches under certain circumstances
Summary: emerge search craches under certain circumstances
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-25 05:18 UTC by Olav Kolbu
Modified: 2011-10-30 22:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olav Kolbu 2002-06-25 05:18:05 UTC
strider / # emerge search cover
[ Results for search key : cover ]
[ Applications found : 2 ]

Traceback (most recent call last):
  File "/usr/bin/emerge", line 1171, in ?
    searchinstance.output()
  File "/usr/bin/emerge", line 148, in output
    full_package = string.strip(self.treecache.dep_bestmatch(match))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2260, in dep_bestmatch
    mymatch=best(gvisible(visible(match(mydep,self.dbapi))))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2222, in gvisible
    myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 2548, in aux_get
    mycent=open(mydbkey,"r")
IOError: [Errno 2] No such file or directory:
'/var/cache/edb/dep/app-cdr/disc-cover-1.1.1'


Note that this only happened when I had BOTH disc-cover-1.1.1.ebuild and
disc-cover-1.3.1.ebuild in /usr/portage. None of them are actually emerged.
After a --clean rsync the 1.1.1 went away and I could not reproduce the problem.
May or may not be worth trying to track down the real problem.

I do have one other box that I can reproduce the problem on in case you need
more information. Let me know.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-07-08 20:55:56 UTC
This has been fixed and Portage 2.0.11 will work for you.