| View previous topic :: View next topic |
| Author |
Message |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 2166 Location: Canada
|
Posted: Sat May 19, 2012 9:49 pm Post subject: [SOLVED] icu update killed emerge |
|
|
Had just problem having updated to libicu-49. run revdep-rebuild which noticed that sqlite-3 is broken, but then emerge crashed itself because of issue
in sqlite.py. That is, revdep-rebuild ended with
| Code: |
emerge -pv app-emulation/virtualbox-extpack-oracle
Traceback (most recent call last):
File "/usr/bin/emerge", line 43, in <module>
retval = emerge_main()
File "/usr/lib64/portage/pym/_emerge/main.py", line 1617, in emerge_main
portdb = trees[settings['EROOT']]['porttree'].dbapi
File "/usr/lib64/portage/pym/portage/util/__init__.py", line 1332, in __getitem__
result = lazy_item.func(*pargs, **kwargs)
File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 1068, in __init__
self.dbapi = portdbapi(mysettings=settings)
File "/usr/lib64/portage/pym/portage/dbapi/porttree.py", line 180, in __init__
self.depcachedir, x, self._known_keys, **cache_kwargs)
File "/usr/lib64/portage/pym/portage/cache/sqlite.py", line 27, in __init__
self._import_sqlite()
File "/usr/lib64/portage/pym/portage/cache/sqlite.py", line 54, in _import_sqlite
raise cache_errors.InitializationError(self.__class__, e)
InitializationError: Creation of instance <class 'portage.cache.sqlite.database'> failed due to No module named pysqlite2
|
And here I am, without working emerge. Is there way to ask emerge not to use sqlite, or should I be off to rescue disk ?
============
OK, disabling sqlite modules in /etc/portage/modules did the trick |
|
| Back to top |
|
 |
DONAHUE Watchman


Joined: 09 Dec 2006 Posts: 5271 Location: Goose Creek SC
|
Posted: Sun May 20, 2012 8:30 pm Post subject: |
|
|
| Code: | | USE="-sqlite" emerge -av app-emulation/virtualbox-extpack-oracle | does what? _________________ Defund the FCC. |
|
| Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 2166 Location: Canada
|
Posted: Mon May 21, 2012 5:57 pm Post subject: |
|
|
| DONAHUE wrote: | | Code: | | USE="-sqlite" emerge -av app-emulation/virtualbox-extpack-oracle | does what? |
emerge was crashing before it could do anything with other packages. So I had to disable using sqlite by emerge itself. |
|
| Back to top |
|
 |
Ant P. Veteran

Joined: 18 Apr 2009 Posts: 1920 Location: UK
|
Posted: Mon May 21, 2012 6:14 pm Post subject: |
|
|
For anyone else that has this, try:
| Code: | set -C
echo "portdbapi.auxdbmodule = portage.cache.flat_hash.database" > /etc/portage/modules
revdep-rebuild
rm /etc/portage/modules |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|