Been trying to fix this for two days.I just did an emerge sync, and then 
emerge -puD system, then -fuD system, and downloaded 44 packages (I'm on 
dialup, and masked the linux-headers-2.4.21, as I only use 2.6 kernels). I 
then tried to do emerge -kuD system, and it ran into problems partway 
through, with openssh, I believe. I then masked that, and retried, and got an 
error. Then I finally did emerge sync again, and retried with emerge -ukD 
system, and got this error:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 2133, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1103, in display
    elif (not "--emptytree" in myopts) and 
portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
  File "/usr/lib/python2.2/site-packages/portage.py", line 3469, in 
exists_specific_cat
    self.invalidentry(self.root+"var/db/pkg/"+a[0]+"/"+x)
AttributeError: vartree instance has no attribute 'invalidentry'
----------------------------------------------------------------------------------
Eventually, I discovered any emerge with a -u, or -U now gives the above 
error. I finally got emerge -k system to do all the system updates from my 
distfiles downloads, including gcc-3.3.2, and openssh, and it finished like 
this:

>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...                                                     
                 
[ ok ]
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...                                                     
                 
[ ok ]
>>> Auto-cleaning packages ...
!!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd!!! Invalid db entry: 
/var/db/pkg/*sys-fs/devfsd
>>> No outdated packages were found on your system.

 * Regenerating GNU info directory index...
 * Processed 75 info files.
 * IMPORTANT: 18 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.
-----------------------------------------------------------------------------------
I did all the etc-update stuff OK (I know that procedure well). Everything 
seems to work fine, except that now all attempts to emerge anything with 
-u,-U,or -D abort with the same Traceback errors listed above, and 
aborts.Apparently, I can no longer do any updates- is this correct? If I do 
only emerge -k (package name), it works.

Where have I gone wrong? Do I need to re-emerge portage, or fix the db, or 
what? Doing emerge sync again doesn't seem to help. I assume I've corrupted 
something important, I'm over my head here, and have obviously messed 
something up. I do run ~xf86 on this box, but I do the same on another box, 
and I did the same procedure on it, and this didn't happen, so I'm at a loss 
to explain what went wrong this time.I've tried to decipher the files 
mentioned in the errors, and the Invalid db entry: /var/db/pkg/sys-fs/, but 
to no avail. I need some pointers from somebody who knows what they are 
doing. The overall operation seems normal in all other respects.

Many thanks,
Robert Crawford


--
[EMAIL PROTECTED] mailing list

Reply via email to