Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15968 - Error while doing an emerge rsync, something with aux_get()
Summary: Error while doing an emerge rsync, something with aux_get()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL: http://130.89.169.72/~lmergen/bug.jpg
Whiteboard:
Keywords:
: 15998 16010 16013 16041 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-18 18:50 UTC by Leon Mergen
Modified: 2003-02-22 07:58 UTC (History)
7 users (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 Leon Mergen 2003-02-18 18:50:49 UTC
Hello,

While doing an emerge rsync, I keep getting this error:

aux_get(): (1) couldn't open cache entry for app-emulation/pose-3.5
               Check for syntax error or corruption in the ebuild.

Traceback (most recent call last):
  File "/usr/bin/emerge", line 1465, in ?
    ignored=portage.portdb.aux_get(y,
[],metacachedir=myportdir+"/metadata/cache")
  File "/usr/lib/python2.2/site-packages/portage.py", line 3100, in aux_get
    raise KeyError
KeyError


This is my version:

solatis2 samba # emerge --version
Portage 2.0.47-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
solatis2 samba #

I hope you can help me, and the traceback is enough. If not, I am happy to 
provide more details or provide a shell account.

Reproducible: Always
Steps to Reproduce:
1. emerge rsync
2.
3.

Actual Results:  
Not a real crash, just an error.

Expected Results:  
Do not give the error. :p

If I recall correctly, there was a portage upgrade this afternoon. I am sure 
emerge rsync worked before that, and really think that this update causes this.
Comment 1 SpanKY gentoo-dev 2003-02-18 18:53:21 UTC
if you `rm -rf /var/cache/edb/app-emulation/pose*` and try again it should work ... 
Comment 2 Leon Mergen 2003-02-18 19:37:53 UTC
Hello,

There is no directory /var/cache/edb/app-emulation for me:

solatis2 edb # ls /var/cache/edb/
config  counter  dep  mtimedb  virtuals  world
solatis2 edb #

However, there was a /var/cache/edb/dep/app-emulation/pose* file, I deleted that one, but had no effect.

Any other ideas?
Comment 3 SpanKY gentoo-dev 2003-02-18 19:50:24 UTC
i meant to add in that subdir of 'dep' ;) 
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-02-19 10:12:39 UTC
*** Bug 15998 has been marked as a duplicate of this bug. ***
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-02-19 12:42:36 UTC
*** Bug 16013 has been marked as a duplicate of this bug. ***
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-02-19 12:43:06 UTC
*** Bug 16010 has been marked as a duplicate of this bug. ***
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-02-19 17:51:45 UTC
*** Bug 16041 has been marked as a duplicate of this bug. ***
Comment 8 Todd Geders 2003-02-19 18:32:21 UTC
Well, I'm getting this problem as well.  First, whenever I would do anything as a user (e.g. emerge -pu world, emerge -s netscape, emerge rsync) I would get TONS of these aux_get() errors.  Upon the suggestion of someone on #gentoo, I tried "emerge regen" and that seemed to clear up most of the error messages when trying the above commands.

However, I still have the problem of emerge rsync giving this output in the end:

bash-2.05a# emerge rsync
.....
.....
wrote 1770 bytes  read 842294 bytes  2585.19 bytes/sec
total size is 29490815  speedup is 34.94

>>> Updating Portage cache... |

aux_get(): (1) couldn't open cache entry for app-office/gnumeric-1.0.9
               Check for syntax error or corruption in the ebuild.

Traceback (most recent call last):
  File "/usr/bin/emerge", line 1465, in ?
    ignored=portage.portdb.aux_get(y,[],metacachedir=myportdir+"/metadata/cache")
  File "/usr/lib/python2.2/site-packages/portage.py", line 3100, in aux_get
    raise KeyError
KeyError
Comment 9 Leon Mergen 2003-02-19 19:20:55 UTC
SpanKY, I am unsure what you mean... since other people seem to have this problem too, maybe there is something wrong with portage?
Comment 10 SpanKY gentoo-dev 2003-02-19 22:10:08 UTC
there is something wrong with portage, i was suggesting a quick fix ... 
if you guys are not running `emerge` as root, could you please do so and see if it fixes 
these bugs ? 
Comment 11 Leon Mergen 2003-02-20 08:04:46 UTC
As expected:

lmergen@solatis2 games $ emerge rsync
myaction rsync
myopts []
emerge: root access required.
lmergen@solatis2 games $

Or what else do you mean? Since this problem only comes up when I do an "emerge rsync" .
Comment 12 Jeff Ames 2003-02-20 13:03:30 UTC
Yannick Koehler <yannick.koehler@colubris.com> wrote on gentoo-dev:
> 
> My finding on this (it did occurred to me in < 2.0.47-r2 portage as well) is
> that the /var/cache/edb/dep/<ebuild-related file> is of size 0 or less than
> what portage expect.
>  
> The solution I got from the IRC was
> mv /var/cache/edb/dep <somewhere else>
> emerge regen
> rm -rf <somewhere else>
 
> I hope I'm not incorrectely giving the dir name has the consequence could be
> desastrous so try at your own risk ;-)

I had the same type of error message, and this fixed it for me.
Comment 13 Nicholas Jones (RETIRED) gentoo-dev 2003-02-21 04:23:59 UTC
fixed in cvs
Comment 14 Nicholas Jones (RETIRED) gentoo-dev 2003-02-22 07:58:53 UTC
out shortly