Hi!
Hemmann, Volker Armin volker.armin.hemmann at tu-clausthal.de writes:
http://forums.gentoo.org/viewtopic-t-261580.html
is the thread.
But beware, in /usr/portage/modules you need this:
portdbapi.auxdbmodule = cache.cdb.database
eclass_cache.dbmodule = cache.cdb.database
not that:
portdbapi.auxdbmodule = portage_db_cdb.database
eclass_cache.dbmodule = portage_db_cdb.database
that is the only change I remember at the moment (and which did not went into
the wiki).
I now finally got around to actually TRY what I put in the wiki at
http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb :)
And I discovered, that this doesn't work for me :(
When I write your lines in /etc/portage/modules and
run emerge --metadata, I get the following error:
[EMAIL PROTECTED] ~ $ time sudo emerge --verbose --metadata
Error: Failed to import module 'cache.cdb.database'
File /usr/lib/portage/pym/portage.py, line 1290, in load_best_module
mod = load_mod(best_mod)
File /usr/lib/portage/pym/portage.py, line 149, in load_mod
mod = __import__(modname)
No module named cdb
But when I put the old lines (those with portage_db_cdb.database)
in the modules file, I get:
[EMAIL PROTECTED] ~ $ time sudo emerge --verbose --metadata
Error: Failed to import module 'portage_db_cdb.database'
File /usr/lib/portage/pym/portage.py, line 1290, in load_best_module
mod = load_mod(best_mod)
File /usr/lib/portage/pym/portage.py, line 149, in load_mod
mod = __import__(modname)
File /usr/lib/portage/pym/portage_db_cdb.py, line 17, in ?
import portage_db_template
No module named portage_db_template
Well, for me, it seems that the 2nd version (with
portage_db_cdb.database) seems to be a little bit
more successful, as it actually LOADS the
portage_db_cdb.py file. That's not done with the
version using 'cache.cdb.database' - here it fails
to load a module named cdb.
Is anyone using CDB with Portage 2.1?
Regards,
Alexander Skwar
--
Never give in. Never give in. Never. Never. Never.
-- Winston Churchill
--
gentoo-user@gentoo.org mailing list