Mailinglist Archive: opensuse-factory (241 mails)

< Previous Next >
Re: [opensuse-factory] createrepo updated, seems now to be able to create sqlite db
  • From: Patrick Shanahan <ptilopteri@xxxxxxxxx>
  • Date: Sun, 11 Feb 2007 10:54:57 -0500
  • Message-id: <20070211155457.GA1570@xxxxxxxxxxxxxxx>
* Christoph Thiel <cthiel@xxxxxxx> [01-01-70 12:34]:
> We have already looked into this, but found it not to be usable so
> far, as the sqlite database schema turns out to be a plain
> represetation of the xml files, i.e. it's quite suboptimal for
> libzypp, which uses its own database schema. Duncan, could you please
> elaborate on the details -- I know you did some benchmarks already.
>
> For yum uses it might still make sense to enable the sqlite db
> support (-d option of createrop > 0.4.8).

openSUSE 10.1 2.6.18.5-jen40-default SMP x86_64

Appears to be a dependency error in createrepo-0.4.7-3.1@noarch

14:53 wahoo:~ # createrepo /home/pat/Desktop/Downloads/.
Traceback (most recent call last):
File "/usr/share/createrepo/genpkgmetadata.py", line 32, in ?
import dumpMetadata
File "/usr/share/createrepo/dumpMetadata.py", line 32, in ?
import sqlitecachec
File "/usr/lib64/python2.4/site-packages/sqlitecachec.py", line 15, in ?
import sqlite
ImportError: No module named sqlite

10:51 wahoo:~ > rpm -qa |grep sqlite
sqlite2-32bit-2.8.17-13
mono-data-sqlite-1.1.13.8-7
sqlite-3.3.5-9.1
sqlite-32bit-3.2.8-14
sqlite2-2.8.17-13
python-sqlite2-2.2.0-0.pm.0


I have reverted to createrepo-0.4.4-9.3.noarch.rpm and have no problem.

tks,
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
OpenSUSE Linux http://en.opensuse.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups