Summary: | emerge -up world is failing with TypeError: | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Jay Nation <bluzman> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jay Nation
2003-06-12 14:44:25 UTC
at a guess, might I suggest rm -rf /var/cache/edb/dep/* && emerge sync and try again? *** Bug 22720 has been marked as a duplicate of this bug. *** *** Bug 22721 has been marked as a duplicate of this bug. *** Ok I found the problem. /var/cache/edb/world was corrupted. Instead of a normal list of pkgs it was 7k of nonsense. example: Ok I found the problem. /var/cache/edb/world was corrupted. Instead of a normal list of pkgs it was 7k of nonsense. example: ö«ö.öÚ÷¸õ.øÁõ'ùíõ³ùÌõéù´õ6ú-ö9û"÷[ü øàüBù.ýSû.ÿ°ý%.Sÿ(. .©.¥.a...î...´ ... I deleted the file and regenworld and the problem is solved. BTW I tried the rm -rf /var/cache/edb/dep/* && emerge sync thing first without success. I was just guessing when I checked the world file. Id never had it corrupt like that before. I had the same problem, and my world file was intact. Seemant's suggestion of "rm -rf /var/cache/edb/dep/* && emerge sync" solved the issue. This set of errors apparently indicates corruption in either the world file or the dependancy cache - perhaps a trap and warn ? As a side note, I was rambunctious and renamed the world file as well as cleaned out dep - the error did not resolve (and regenworld would not run) until I had resotred my original world file - so be wary of deleting the world file in this case. I tried this solution to a simular problem I had and it didn't work but then I tried renaming the world file and that seems to have worked except now the system doesn't know what I have installed so when I do an "emerge -up world" to see whats new I get nothing but if I do an emerge -up <package name>" I'll see that there is an update if there is one for that package. I've tried regen and emerge sync. How do I get the system to rebuild the installed packages list? is this still an issue ? Still a problem: just happened to me today. Tried removing edb cache, rsync, etc, did'nt work, because regenworld fails thusly: # regenworld (...) add to world: media-sound/alsaplayer add to world: media-sound/alsa-tools Traceback (most recent call last): File "/usr/sbin/regenworld", line 58, in ? mylist=portage.db["/"]["vartree"].dbapi.match(mykey) File "/usr/lib/portage/pym/portage.py", line 3865, in match mymatch=match_from_list(mydep,self.cp_list(mykey)) File "/usr/lib/portage/pym/portage.py", line 3258, in match_from_list raise KeyError, "Specific key requires an operator (%s)" % (mydep) KeyError: 'Specific key requires an operator (media-sound/alsa-tools-1.0.0_rc2-r1)' different problem: see bug 38168 well, the original problem seems to be fixed, reopen if this is still an issue (but only if it's the same error). |